Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate persistence issue ...

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a case in which i want to persist my objects using Hibernate in a place other than a database, a file as an example.

Is there an API that provides that ?

Thanks ...
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vassili Vladimir:
Hi,

I have a case in which i want to persist my objects using Hibernate in a place other than a database, a file as an example.

Is there an API that provides that ?

Thanks ...


Like in xml? Hibernate does has the ability to write the data to an xml file.

Mark
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How ?
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to persist my objects on a place other than a database, please tell me how ...

Thanks ...
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.hibernate.org/hib_docs/v3/reference/en/html/xml.html

But of course, notice the notice at the top of that page.

Also lookup JAXB, another different api that can save objects to XML.

Mark
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic