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: Multiple view dynamic mapping over one table
PostPosted: Tue Aug 08, 2006 7:41 am 
Newbie

Joined: Tue Aug 08, 2006 6:50 am
Posts: 1
Our application uses database views for specific tables.
The view is created depending on user privilages, when
user is created (or modified). Only the original table is mapped in the
hibernate, the restricted views, as they are created dinamically
(names also), are not.

We are using Criteria to perform selects on the original table,
however we would like to restrict them to the specific view,
without making changes to the mappings.

The question is:

- How can I use Hibernate Criteria / HQL, on these views
if they are not mapped in the Hibernate ?

If not :

- Is there any possibility to update hibernate mappings
while the application is running ?


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.