Hello All,

I am developing OJB FieldConversion for Oracle SDO data structures. 

What I need is access to current JDBC Connection from FieldConversion's javaToSql() / 
sqlToJava() methods.

Unfortunately FieldConversion API does not provide any context information (like 
current PersistenceBroker instance).

Is there any trick that can help me to get current PersistenceBroker in context of 
FieldConversion ? 
(I would hate to define my own PersistenceBrokerFactory that maintains 
Thread-to-PersistenceBroker weak hash map.)

Thanks,
Andy

Reply via email to