Subject | Re: [Firebird-Java] Transaction parameters + Jaybird |
---|---|
Author | Roman Rokytskyy |
Post date | 2010-04-22T09:27:26Z |
>> Could you please show me the code example or give the link toAh, forgotten to say that connection1 is of type
>> manual/javadoc?
>
> TransactionParameterBuffer tpb1 =
> connection1.createTransactionParameterBuffer();
>
> tpb1.addArgument(TransactionParameterBuffer.READ_COMMITTED);
> tpb1.addArgument(TransactionParameterBuffer.REC_VERSION);
> tpb1.addArgument(TransactionParameterBuffer.READ);
> tpb1.addArgument(TransactionParameterBuffer.WAIT);
>
> connection1.setTransactionParameters(tpb1);
org.firebirdsql.jdbc.FirebirdConnection and TransactionParameterBuffer
can be found in a org.firebirdsql.gds package.
Roman