Subject | Re: JayBird and large attachment |
---|---|
Author | Doychin Bondzhev |
Post date | 2003-12-08T13:05:28Z |
Simple test
DataSource dataSource = (DataSource) PortableRemoteObject.narrow(
jndi.lookup("java:/SomeDS", DataSource.class);
Connection conn = dataSource.getConnection();
conn.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
Here you get exception that there is no transaction started on this
connection. The problem is that this exception is raised from
InternalCommit becouse InTransaction actually returns true.
Doychin
DataSource dataSource = (DataSource) PortableRemoteObject.narrow(
jndi.lookup("java:/SomeDS", DataSource.class);
Connection conn = dataSource.getConnection();
conn.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
Here you get exception that there is no transaction started on this
connection. The problem is that this exception is raised from
InternalCommit becouse InTransaction actually returns true.
Doychin