-->
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.  [ 8 posts ] 
Author Message
 Post subject: Oracle 10g??
PostPosted: Wed Apr 07, 2004 6:16 pm 
Newbie

Joined: Wed Apr 07, 2004 6:13 pm
Posts: 18
Hi,

Has anyone tried Hibernate with Oracle 10g, or know of any compatibility issues?

_________________
Thanks,
Aaron


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2004 6:38 pm 
Newbie

Joined: Wed May 19, 2004 6:24 pm
Posts: 4
Hi, seeing that no one has post a reply to your question, I guess I have no other choice but to see if you have already used it and with what degree of succes (if any) My company is planing to move to 10g soon and I'd love to know if Hibernate has known problems with it. Did you finally tried it?
Best regards

J.


Top
 Profile  
 
 Post subject: 10g
PostPosted: Wed May 19, 2004 6:46 pm 
Newbie

Joined: Wed Apr 07, 2004 6:13 pm
Posts: 18
Hi,

We are still in "prototype"-phase... but everything seems to be working fine. I had to download the 10g JDBC drivers and reference them in my middlegen task for ant. Other than that... works fine!

Thanks,

_________________
Thanks,
Aaron


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 20, 2004 11:50 am 
Newbie

Joined: Wed May 19, 2004 6:24 pm
Posts: 4
Hi there, thanks for your promt reply
What Dialect are you using, 9i or the Oracle "generic" one? I was looking at the changes to the SQL in 10g and there seem to be no significant changes that would let me to think it could not work with the 9i Dialect.
Also, it is reported that 9i's JDBC drivers had some problems dealing with Timestamps and large text/binaries. Do you know if those problems were fixed in the 10g driver? I know you are in a prototype stage and it's probably too soon for you to have encountered those issues, but I know of no one else to ask about 10g
Thanks in advance

J.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 20, 2004 11:59 am 
Newbie

Joined: Wed Apr 07, 2004 6:13 pm
Posts: 18
Hi.

We are using the 9i dialect. I have been working with Date fields and varchar fields up to 3500 characters with no issues so far. I will keep you posted if something changes with that.

Regards,
Aaron

_________________
Thanks,
Aaron


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 20, 2004 12:11 pm 
Newbie

Joined: Wed May 19, 2004 6:24 pm
Posts: 4
Thanks

J.


Top
 Profile  
 
 Post subject: All tests passed but one on 10g for me
PostPosted: Tue Aug 17, 2004 11:41 am 
Newbie

Joined: Tue Aug 17, 2004 11:39 am
Posts: 1
testCollectionsInSelect Error

Could not execute query

net.sf.hibernate.JDBCException: Could not execute query
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1547)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1521)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1513)
at org.hibernate.test.FooBarTest.testCollectionsInSelect(FooBarTest.java:2134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.hibernate.test.TestCase.runTest(TestCase.java:82)
Caused by: java.sql.SQLException: ORA-01722: invalid number

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:180)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:542)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:914)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:451)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2887)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2928)
at net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:87)
at net.sf.hibernate.loader.Loader.getResultSet(Loader.java:875)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:269)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:1033)
at net.sf.hibernate.loader.Loader.list(Loader.java:1024)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1544)
... 18 more


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 18, 2004 3:25 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Can you post it to JIRA please

_________________
Emmanuel


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