[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Snelson <john.snelson@o...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Wed, 28 Nov 2007 12:51:32 +0000

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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member