Subject | Re: JayBird and large attachment |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-08-11T13:25:33Z |
Nickolay,
connection.setTransactionIsolation(
Connection.TRANSACTION_READ_COMMITTED);
connection.setReadOnly(true);
Best regards,
Roman Rokytskyy
> But you need to have transaction that is explicitly read-committed andThanks for pointing this out. In terms of JDBC this would be:
> isc_tpb_read - read-only (in this case transaction is started as
> pre-committed and may not be committed without impact on the engine) !
> Otherwise you are going to inhibit garbage collection and may loose
> performance.
connection.setTransactionIsolation(
Connection.TRANSACTION_READ_COMMITTED);
connection.setReadOnly(true);
Best regards,
Roman Rokytskyy