Hello, I am in the middle of upgrading from OJB 0.9.7 to 0.9.8. I am
using the ODMG interface. What I've found is that the method I was
using to store objects no longer works. The following test method works
with 0.9.7 but not with 0.9.8:
public void dumbStoreTest() {
try {
org.odmg.Transaction tx = odmg.newTransaction();
tx.begin();
@[email protected] club = new
@[email protected]();
club.setName( "Howard" );
club.setLabel( "Mr. Howard" );
tx.lock( club, org.odmg.Transaction.WRITE );
tx.commit( );
System.err.println( "club id: " + club.getId() );
} catch( Exception e ) {
e.printStackTrace();
System.exit(1);
}
}
An exception is not thrown. The commit() just quietly does nothing.
Any ideas?
chris rossi
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- ODMG problem with 0.9.8 Chris Rossi
- ODMG problem with 0.9.8 Chris Rossi
- RE: ODMG problem with 0.9.8 Hoang, Hai
- RE: ODMG problem with 0.9.8 Matthew Baird
- Re: ODMG problem with 0.9.8 Chris Rossi
- Re: ODMG problem with 0.9.8 Thomas Mahler
