This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Big problem with Oracle JDBC driver/glassfish
 
jQuery in Action, 3rd edition