setTxCheck(boolean txCheck) This setting can be helpful during development if the PersistenceBroker transaction
demarcation was used (this is true in most cases).
This setting can be helpful during development if the PersistenceBroker transaction
demarcation was used (this is true in most cases). If set 'true' on PB#store(...)
and PB#delete(...) methods calls OJB check for active PB-tx and if no active tx is
found a error is logged. This can help to avoid store/delete calls without a running
PB-tx while development. Default setting is 'false'.
Note: When using OJB in a managed
environment without OJB-caching, it's valid to use store/delete
calls without a running PB-tx.
Parameters: txCheck - Set true to enable the checks