users@jaxb.java.net

Re: JAXB generated Java Model + JXPath

From: Dmitri Colebatch <colebatchd_at_gmail.com>
Date: Thu, 4 Aug 2005 09:52:21 +1000

On 8/3/05, Aleksei Valikov <valikov_at_gmx.net> wrote:
> Hi.
>
> > Thanks, I was thinking of a kludge with
> > com.sun.tools.xjc.reader.NameConverter ;)
> > But your suggestion looks more beautiful.. Will pursue
>
> Keep us informed, ok?
> XPath stuff interests me as well.
> For instance - execute XPath query in a relational database through
> Hyperjaxb/Hibernate.

I imagine it would have to be a subset of XPath. It would be very
ineffecient to do the follwoing:

  .//Foo[name='bar']

But more straightforward queries would be very doable I would think -
wouldn't even need to be a JAXB plugin, just use the same annotations.

cheers
dim