org.enhydra.dods.jta
Class GeronimoJTAObjectIdAllocator
java.lang.Object
com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator
org.enhydra.dods.jta.GeronimoJTAObjectIdAllocator
- All Implemented Interfaces:
- ObjectIdAllocator
public class GeronimoJTAObjectIdAllocator
- extends StandardObjectIdAllocator
GeronimoJTAObjectIdAllocator extends StandardObjectIdAllocator to tweak it's
expectations on allocated connections.
The actual DBConnection implementation allocated here is responisible
for suspending (possibly) ongoing UserTransaction, beginning new one
for ObjectId allocation. Same connection then commits or rolls back
local UserTransaction, and (on release) resumes (possibly) suspended
one.
- Version:
- 0.11
- Author:
- V.Puskas
- See Also:
DBConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeronimoJTAObjectIdAllocator
public GeronimoJTAObjectIdAllocator(LogicalDatabase lDb,
Config objIdConfig)
throws ConfigException
- Throws:
ConfigException
allocateConnection
protected DBConnection allocateConnection()
throws java.sql.SQLException
- Overrides:
allocateConnection
in class StandardObjectIdAllocator
- Throws:
java.sql.SQLException