Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes Big problem with Oracle JDBC driver/glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Big problem with Oracle JDBC driver/glassfish" Watch "Big problem with Oracle JDBC driver/glassfish" New topic
Author

Big problem with Oracle JDBC driver/glassfish

Vinicius Paiva
Greenhorn

Joined: Jul 20, 2012
Posts: 1
Hi guys,

I'm trying to google it with no success for quite some time now. I gave up and decided to ask here.

So here's the deal: I have an application that uses a Oracle JDBC driver with a connection pool administered by Glassfish.

When I restart the server in the middle of a transaction, the glassfish closes all connections. But instead of rolling back the current transaction, it commits it!!

I tried, with no sucess, to do what is described here:

http://docs.oracle.com/cd/E18930_01/html/821-2416/giubd.html#gkrbo

Some more information about that fact:

http://docs.oracle.com/cd/B19306_01/java.102/b14355/basic.htm#i1019153


If someone know how to help me I would be very grateful.

Thanks!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Big problem with Oracle JDBC driver/glassfish
 
Similar Threads
Socket Timeout
XMLType Column Oracle - InsertIntoDB - Exception
where can i get JDBC Driver Class Name for Oracle
BatchUpdateException : getUpdateCounts doesn't work properly
code in mysql to connect java