-->
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: Join tables on non-unique columns using Oracle VPD
PostPosted: Fri Dec 19, 2008 12:31 pm 
Newbie

Joined: Tue Apr 01, 2008 10:31 am
Posts: 2
Hi,

i would like to join two tables where one of the tables has a two-column primary key. I use oracle VPD to filter one of the columns so that the other column uniquely identifies a record.

The first table is a status-table, the second table is a status-description with entries for each status in several languages. The language is filtered by the VPD.

I already thought about using Hibernate Filters to filter the language, but Oracle VPD is already in use in the application so this would be much more convenient.

Any ideas on how to do that?

Thanks!

Hibernate version:
Hibernate 3.2.1 with Annotations
Database:
Oracle 9i


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.