-->
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: ODBC connection to paradox db
PostPosted: Wed Sep 22, 2004 3:18 am 
Newbie

Joined: Wed Sep 22, 2004 3:01 am
Posts: 1
I try to connect with hibernate to a paradox database through the ODBC-JDBC Bridge. I connected the db successfiully in the DB explorer and generated the hibernate files.
If I run the application (on JBoss 3.0), I get a "net.sf.hibernate.JDBCException: Cannot open connection" error, caused by "[Microsoft][ODBC Paradox Driver] optional feature not implemented".
With that information, I did a ODBC trace, that showed the following:

crimson.jar -Xd 7a0-824 EXIT SQLSetConnectOption with return code -1 (SQL_ERROR)
HDBC 1E2915E8
SQLINTEGER 102 <SQL_AUTOCOMMIT>
SQLPOINTER 0x00000000

After searching google, I found in the paradox ODBC driver manual, that the autoconnect option has to be true, because paradox doesn't support transactions.

Any ideas, how to resolve this problem?

Thx in advance for your help.
Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 22, 2004 3:30 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
i think no transaction = no Hibernate, that may be why paradox doesn't appear in the supported db list.
I may be wrong, let's wait for other answer...

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


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.