Subject | Re: [Firebird-Java] RE: Connection failure during managed transaction |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-07-23T16:00:24Z |
> BTW, what's at line 82 in FBDataSource.java for the RC3 release?/**
* <p>Attempt to establish a database connection.
*
* @return a Connection to the database
* @exception SQLException if a database-access error occurs.
*/
public Connection getConnection() throws SQLException {
try {
return (Connection)cm.allocateConnection(mcf,
mcf.getDefaultConnectionRequestInfo());
}
catch (ResourceException re) {
throw new FBSQLException("Problem getting connection: " + re);
}
}
In your case cm (ConnectionManager) comes from JBoss.
Roman