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
|