[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: MarkMail: now archiving xml-dev
Andrew Welch wrote: > You're right - check out JPA, using say Hibernate as the implementation. > > Just annotate your pojos and it automagically takes care of > persistence without needing a single line of SQL - it really is that > good. > > http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html > > I think it's amazing, and I could imagine the same annotation approach > working well for persisting your objects to XML too. However I would argue that if Hibernate fulfills your needs, you never needed a SQL database in the first place - what you needed was ACID persistence. Why not just use something like Berkeley DB JE, which doesn't have the overhead of a query language at all - and is significantly faster because of it. John -- John Snelson, Oracle Corporation Berkeley DB XML: http://www.oracle.com/database/berkeley-db/xml XQilla: http://xqilla.sourceforge.net
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|