-->
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: Reverse Eng and Oracle 10g (10.2.0.1.0)
PostPosted: Sun Aug 21, 2005 3:42 pm 
Newbie

Joined: Sun Apr 24, 2005 7:25 pm
Posts: 5
All,

I just checkout the latest HibernateExt source and built the plugin and encounter the following exception while reverse engineering a set of tables from Oracle 10g (10.2.0.1.0) database. No java code was generated as a result of the operation. Has anyone encounter this problem?

Thanks,
Tat

Code:
12:35:09,450  INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:oracle:thin:@newton.cydence.com:1521:cydb
12:35:09,484  WARN DriverManagerConnectionProvider:155 - problem closing pooled connection
java.sql.SQLException: Io exception: Socket closed
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:479)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:1174)
   at org.hibernate.connection.DriverManagerConnectionProvider.close(DriverManagerConnectionProvider.java:152)
   at org.hibernate.connection.DriverManagerConnectionProvider.finalize(DriverManagerConnectionProvider.java:142)
   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 21, 2005 3:54 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes I saw it today too - only happens on oracle apparently.

But its just a warning from the basic DriverManager connection provider so not harmfull - but would be nice to track down why its finalizer even needs to do it...

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 21, 2005 4:06 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
btw. not having any output generated is probably because of some configuration - not this exception

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Reverse Eng and Oracle 10g (10.2.0.1.0)
PostPosted: Sun Aug 21, 2005 9:31 pm 
Newbie

Joined: Sun Apr 24, 2005 7:25 pm
Posts: 5
Max,

I updated the code again and got your latest changes. The exception still occur. But it's generating the java classes now.

Thanks for the quick reply.
Tat


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.