-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate and Oracle VPD. Can it be that easy
PostPosted: Wed Jan 09, 2008 11:56 am 
Newbie

Joined: Wed Jan 09, 2008 11:31 am
Posts: 3
We want to access our Database Hibernate and Oracle VPD.
As solution I found the following link. http://javazone.org/howto/hibernate-with-oracle-vpd.

This seems very easy to me, but I am not sure if it is enough. Did anyone use the approach of writing a custom ConnectionProvider ?
I fear that a connection might be used by another Session while still configured for a diffrent User.

Does anyone have an argument against my fear ?

Did anyone use Hibernate and VPN together so far (experiances) ?


Top
 Profile  
 
 Post subject: Oracle VPD with j2ee application
PostPosted: Mon Mar 03, 2008 7:05 am 
Beginner
Beginner

Joined: Mon Oct 01, 2007 8:21 am
Posts: 40
Hi,

wwagner4, did u get any solution for your answer so far, even i need the answer for ur question.

I went through
URL1: http://www.adp-gmbh.ch/ora/security/vpd/index.html the pure implementation of oracle vpd in the console level, where by it is working fine. where by i tried this in hibernate application after going thru the URL2: http://javazone.org/howto/hibernate-with-oracle-vpd
Even i have posted my comment in that site regarding my doubt.

How to establish connection like connect Peter/Peter as specified in URL1.

Will the code given in the URL2 is sufficient to work around, but then it is not working for me, did anyone worked on Oracle VPD in hibernate or java application.

If is so, could u pls share ur ideas or knowledge with us, as i have to implement this functionality.

If any pdf or websites given some clue about this would help me a lot.


Thanks,
Ambika.


Top
 Profile  
 
 Post subject: Hibernate with Oracle VPD
PostPosted: Tue Mar 04, 2008 12:56 am 
Beginner
Beginner

Joined: Mon Oct 01, 2007 8:21 am
Posts: 40
Hi,

Could anybody reply to my query pls.. its urgent, i want to implement the functionality, any doc or any websites with some sample example.

Or any idea of how to make the connection when the user logs in.

Thanks,
Ambika.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 06, 2008 12:22 am 
Beginner
Beginner

Joined: Mon Oct 01, 2007 8:21 am
Posts: 40
Hi,

Could anybody reply to my query pls... any idea share it..

Ambika.


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

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.