XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS