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

On 28/11/2007, Edward C. Zimmermann <edz@bsn.com> wrote:
> Lets not even talk about XQuery. Do we talk about SQL in systems that have
> SQL back ends? Normally the functionality is wrapped in other functions and
> interfaces--- heck, these days, it seems most Java "programmers" could not
> even write a line of SQL if they had too (they'd argue, of course, that they
> don't).

(Deviation from the thread here...)

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.


cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.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