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!