In JDBCSeq, StoreContext (JDBCStore can be retrieved) is passed as
parameter. If this can be passed as parameter in callback methods or if it
can be retrieved from some OpenJPA Utility will be very good.
Do you have any ideas or suggestion? Can you help me?


Miro.

On 1/17/08, Miroslav Nachev <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In callback methods (PreRemove, PreUpdate, PrePersist, PostRemove,
> PostUpdate, PostPersist) of an Entity Bean I need to execute native SQL
> statement in the same transaction. How to retrieve current EntityManager
> from which to get Connection object?
> Are there any helper tools in OpenJPA for that purpose?
>
>
> Regards,
> Miro.
>

Reply via email to