-->
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.  [ 3 posts ] 
Author Message
 Post subject: Read-Only table
PostPosted: Wed Jul 27, 2005 12:26 pm 
Newbie

Joined: Tue Jan 11, 2005 8:42 am
Posts: 3
Hi All

Is there a way/pattern in Hibernate to represent a read-only table? Is there an easier way available than to mark each property/column as not insertable/updateable/deleteable?

Thanks
Fred


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 27, 2005 2:19 pm 
Regular
Regular

Joined: Thu May 26, 2005 2:08 pm
Posts: 99
http://www.hibernate.org/hib_docs/v3/re ... tion-class

Did you try using the mutable="false" attribute on your class mapping?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 28, 2005 7:32 am 
Newbie

Joined: Tue Jan 11, 2005 8:42 am
Posts: 3
Thanks. Missed that in the documentation.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.