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.  [ 3 posts ] 
Author Message
 Post subject: Transaction problem with identity generator class
PostPosted: Tue Feb 12, 2008 6:33 am 
Newbie

Joined: Mon Feb 11, 2008 8:15 am
Posts: 7
Location: india
Hi,

I am having hibernate application with struts + mysql and using simple JDBC DAO pattern for db connection and transaction.

But application can not be able to make rollback of the transaction ,if exception occurs (in short) there is not any effect of rollback with my database.

While the same configuration works well with the generator class="increment" or anything.

Is it the real problem with identity generator class and transaction ?

Can anybody flash light on this issue ?

Thanks,in advs
br,
jignesh


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 12, 2008 2:10 pm 
Expert
Expert

Joined: Thu Jul 05, 2007 9:38 am
Posts: 287
enable the logging of all Transaction Control stuff and check if you are doing commits by accident ...

_________________
Please rate useful posts.


Schauderhaft: Softwaredevelopment, Projectmanagement, Qualitymanagement and all things "schauderhaft"


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 7:09 am 
Newbie

Joined: Mon Feb 11, 2008 8:15 am
Posts: 7
Location: india
It is the real problem while we are using hibernate generator class identity + mysql(myisam table types)........:)

Anyone can check it b'cas MYISAM table types doen's pass the ACID test yet.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.