-->
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: Persistent class with non jdbc storage
PostPosted: Fri Oct 22, 2004 4:24 am 
Newbie

Joined: Fri Oct 22, 2004 4:08 am
Posts: 2
Location: Sweden
Hibernate version: 2 or 3

Hi, need to persist a class with a non jdbc storage. I found a posting from Gavin King (back in 2002) concerning support for this in the design of Hibernate, see http://www.mail-archive.com/hibernate-d ... 00049.html

The current documentation also indicates that this is supported, see feature list under "Persistence strategies".

However, I have not found any concrete documentation on this nor could I easily figure out how to accomplish it after briefly reading some javadocs for Hibernate.

Description of the problem: I have a class Foo which is peristent and need only support read only functionality in my system. The class is stored in an other system but this may change in the future. I want this to be transparent to the clients of this class and to the clients of the data access class capable of doing e.g. searches and loading instances from persistent storage.

The way I would expect this to be configured is to supply a <persister> element in the Hibernate configuration for the class Foo.

I want to know if this is possible, if yes how to do it.

Thanks!


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.