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.  [ 1 post ] 
Author Message
 Post subject: Hibernate performs insert statement twice
PostPosted: Tue Apr 04, 2006 5:53 am 
Newbie

Joined: Sun Mar 05, 2006 7:36 pm
Posts: 4
Hi

I have got an interesting problem. I have got a model class wiith around 20 properties (String & Integer ones) most of them nullable. If I fill up around 12 of them hibernate is managing to create a record in the db but as soon as I fill up more than 12 it tries to perform two insert and of course the second one will throw an exception saying that the pk is already taken. I have worked with hibernate for years now and believe me I haven't seen anything like this before.
Any help is very much appreciated

Cheers
Rolf


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

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.