-->
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.  [ 4 posts ] 
Author Message
 Post subject: can we use files to persist data using hibernate?
PostPosted: Tue Nov 14, 2006 11:09 am 
Newbie

Joined: Thu Jan 26, 2006 12:42 pm
Posts: 2
HI !
We have a requirement our client wants us to persist the data in to a persistent storage using hibernate obviously if backend storage system is a database it is very easy to do in hibernate.
But our client’s requirement is to persist the data in a file system using hibernate so that in future if they decide to change the storage layer to a database it wont be any problem for them .
It looks pity confusing  but we really need to do that .
Can anyone please guide me is there any open source SDK for hibernate available which can do such thing for us .Or even can hibernate itself do that because we couldn’t find anything like that as a hibernate facility.
Any links to the pages which can help me solve this problem will be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 14, 2006 11:23 am 
Expert
Expert

Joined: Tue Jul 11, 2006 10:21 am
Posts: 457
Location: Columbus, Ohio
I guess you could try a text/csv JDBC driver. There are a couple around, but I have had no experience with them.


Top
 Profile  
 
 Post subject: can you tell me aboout some open source text/csv JDBC driver
PostPosted: Tue Nov 14, 2006 11:59 am 
Newbie

Joined: Thu Jan 26, 2006 12:42 pm
Posts: 2
I have found one open source text/csv JDBC driver on sourceforge i think i also need the dialect in hibernate to communicate with this "text/csv JDBC driver" do you know about any open source dialect available for this purpose.

Ananasi wrote:
I guess you could try a text/csv JDBC driver. There are a couple around, but I have had no experience with them.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 14, 2006 12:03 pm 
Expert
Expert

Joined: Tue Jul 11, 2006 10:21 am
Posts: 457
Location: Columbus, Ohio
You will have to write the dialect yourself as far as I know. They are not that hard to write if you have the specifications of the driver. Check out the source for any of the packaged dialects in Hibernate.


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