Customer Portal

Disable identity field on SQL Server

Comments 4

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    you probably forgot to uncheck the "Thread-safe connection" check-box. Your connection configuration should look as follows:
    #Tue Mar 04 12:56:15 CET 2008
    user=my_user
    name=MSSqlConnection
    password=my_password
    threadSafeConnection=false
    dbURL=jdbc\:jtds\:sqlserver\://hostaname\:1433;DatabaseName\=TestDemo
    passwordEncrypted=false
    database=MSSQL
    jdbcSpecific=MSSQL
  • Avatar
    axetheaxe
    0
    Comment actions Permalink
    When you look at the 'Configuration' part in my example you'll see
    threadSafeConnection="false"

    And setting the jdbcSpecific property to MSSQL resulted in the above described error.
  • Avatar
    avackova
    0
    Comment actions Permalink
    What do you have in ConfigOut parameter? If dbConfig attribute is specified, all others attributes are ignored and values from the configuration file are used.
  • Avatar
    axetheaxe
    0
    Comment actions Permalink
    Hi,

    putting

    threadSafeConnection=false
    jdbcSpecific=MSSQL

    in the dbConfig file solved my problems!

    Thanks for your quick solution! Great!
    Alex

Please sign in to leave a comment.