-->
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.  [ 4 posts ] 
Author Message
 Post subject: UnsupportedOperationException using WebSphere CMT in WAS6.1
PostPosted: Tue Jun 26, 2007 9:29 am 
Newbie

Joined: Tue Jun 26, 2007 9:22 am
Posts: 3
Hello,
Have this problems :

[26/06/07 13.07.41:010 GMT+01:00] 00000084 RegisteredSyn E WTRN0074E: Rilevata eccezione dall'operazione di sincronizzazione before_completion: java.lang.UnsupportedOperationException
at org.hibernate.transaction.WebSphereExtendedJTATransactionLookup$TransactionManagerAdapter$TransactionAdapter.setRollbackOnly(WebSphereExtendedJTATransactionLookup.java:211)
at org.hibernate.transaction.CacheSynchronization.setRollbackOnly(CacheSynchronization.java:73)
at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:63)
at org.hibernate.transaction.WebSphereExtendedJTATransactionLookup$1.invoke(WebSphereExtendedJTATransactionLookup.java:142)
at $Proxy7.beforeCompletion(Unknown Source)
at com.ibm.ws.jtaextensions.SynchronizationCallbackWrapper.beforeCompletion(SynchronizationCallbackWrapper.java:65)

Any help please ?
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 11:45 am 
Newbie

Joined: Mon Jun 04, 2007 12:07 pm
Posts: 5
I also had this problem when looking up a tabke based on primary key. The primary key of my table is of db2 type integer. However in javaland I had modelled this field as a long. Switching it to an int fixed the problem.

I've also seen cases where the PK is a varchar and this problem occurs, and switching it to a char has fixed it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 12:06 pm 
Newbie

Joined: Mon Jun 04, 2007 12:07 pm
Posts: 5
Sorry I mean I've seen cases where switching from char to varchar fixed it, not the other way round.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 12:23 pm 
Newbie

Joined: Tue Jun 26, 2007 9:22 am
Posts: 3
Sorry, I Had found the error, it was a bug in the Oracle drivers
Thanks a lot


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