-->
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 non-logging "Transactions not supported"
PostPosted: Fri Aug 25, 2006 11:41 am 
Newbie

Joined: Fri Aug 18, 2006 4:09 pm
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.1.3

Full stack trace of any exception that occurs: below

Name and version of the database you are using: Informix 7.23


I'm trying to retrieve data from the mentioned legacy database and I get the below exception. I've tried setting autocommit to true as suggested on some forums but that didn't seem to work.


java.sql.SQLExcpetion: Transactions not supported
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:373)
at com.informix.jdbc.IfxSqliConnect.setAutoCommit(IfxSqliConnect.java:1812)
com.mchange.v2.s3p0.impl.NewProxyConnection.setAutoCommit(NewProxyConnection.java:756)
at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.begin(JDBCTransaction.java:63)
at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1290)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.inoke(Unknown Source)
at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext:301)
at $Proxy0.beginTransaction(Unknown Source)
at segue.db.framework.dao.hibernate.HibernateDaoSupport.getObjectById(HibernateDaoSupport.java:465

....

two questions: Can anyone experienced with this database and hibernate provide some suggestions? Does hibernate support nontransactional reads?

mjd


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 11:32 am 
Regular
Regular

Joined: Tue Mar 22, 2005 2:27 am
Posts: 62
http://forums.hibernate.org/viewtopic.php?t=941610


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.