-->
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: Informix and Serial key
PostPosted: Mon Jul 14, 2008 3:48 am 
Newbie

Joined: Mon Jul 14, 2008 2:29 am
Posts: 1
We are getting error while inserting data in informix db where PK is defined is serial key.

Informix requires identity colum to be sent in insert query with value 0 but seems hibernate generated queries do not do so when we select generator as native. Do we need to modify the query.

Any help will be appreicated.

Best regards,
Animesh


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 14, 2008 10:21 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
What is the actual hibernate error that you're getting?

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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.