Subject Re: [Firebird-Java] Re: Record Locking
Author Juan Pedro López Sáez
Hi,

How can a set my custom TPB mapping with FBWrappingDataSource? Should I use FBConnectionRequestInfo.setProperty or the explained above JDBC  url way?

Thank you.

Juan Pedro

Sergey,

> Can you explain (especially for me ) how i have to specify TPB mapping
> in JDBC URL, because i haven't found it.

jdbc:firebirdsql:localhost/3050:/my/db.gdb?TRANSACTION_READ_COMMITTED=isc_tpb_read_committed,isc_tpb_rec_version,isc_tpb_write,
isc_tpb_wait&TRANSACTION_REPEATABLE_READ=isc_tpb_concurrency,isc_tpb_write,isc_tpb_wait

So, general idea is simple: you specify connection properties with
name "TRANSACTION_READ_COMMITTED", "TRANSACTION_REPEATABLE_READ" or
"TRANSACTION_SERIALIZABLE" and value of comma-separated list of TPB
params.

Best regards,
Roman


Yahoo! Groups Sponsor
ADVERTISEMENT
Click Here!

To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the
Yahoo! Terms of Service.
-- 
Juan Pedro López Sáez
ALTIRIA TIC, S.L.L.
www.altiria.com
Centro de Empresas "La Arboleda"
Carretera NIII km. 7,300 - Campus Sur
28031 MADRID
Teléfono/Fax 91 33 111 98
Móvil 610 258 837
jpls@...