-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problem with jtds driver and indentiry generator
PostPosted: Wed Sep 14, 2005 10:10 am 
Newbie

Joined: Thu Jan 29, 2004 3:19 am
Posts: 3
Hibernate version:Hibernate 2.1.8
Name and version of the database you are using:SQL Server 2000

I used mssql jdbc driver in my application and I had problems when selecting columns of type text. After a little searching I found that is a known problem with this microsoft driver and I changed it with jtds driver.
Now the problem is that it seems to have a problem with the column of a table that its generator class is identity. The error I get is:
Mapping ExceptionDialect does not support identity key generation.
When I debug the source the object that is eing created instead of getting an autoincrement value is set to zero (0).

Does anybody knows about this problem
Regards


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 10:44 am 
Beginner
Beginner

Joined: Mon Apr 12, 2004 6:33 pm
Posts: 35
Which Dialect did you put in your hibernate configuration file?

_________________
Kees de Kooter

(don't hesitate to rate ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.