-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Executing SQL afte getting a connection and before releasing
PostPosted: Tue Apr 15, 2008 5:48 am 
Newbie

Joined: Tue Apr 15, 2008 5:39 am
Posts: 2
Hello,

I`m using Seam with JPA/Hibernate.

my current problem is that our database (Oracle 10g) controls the access rights. This is implemented with ONE technical user and a PL/SQL hell.

I need to call a PL/SQL procedure after i get a connection or after i started a transaction and before i end the transaction or release the connection.

Can someone give me a hint where the correct hook for this kind of functionality is ? I already written my own ManagedPersistenceContext and EnityManager (like the EntityManagerProxy). But this do not prevent me from getting different Connection with different access rights.

Thanks, Oliver

Hibernate version: 3.2.4.sp1
Seam version: 2.0.1.GA
Name and version of the database you are using: Oracle 10g
App Server: JBoss 4.2.2.GA


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.