Got ya' now...you want to go directly from the DB to XML. I don't
imagine that is possibleyou need an intermediate Java object.
- Original Message -
From: Day, Michael-IBM/TT [EMAIL PROTECTED]
Yeah, you can do the XML and SQL mapping in the same mapping file. I was
Mailing List
Subject: Re: [OT] XML Configuration Files
Not exactly sure what you're asking here..and my experience with Castor
is limited (decided to go with OJB for O/R mapping), but I have used Castor
to retrieve data from mySQL and write it to an XML file. If that's what you
wanted to know
I'm working on an application that will use a database extensively. In
order to save some database hits, I'd like to offload some smaller bits of
information into XML files.
An example would be shipping methods. There is a limited number of shipping
methods that a company could use. I would
-
From: Day, Michael-IBM/TT [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 1:48 PM
Subject: [OT] XML Configuration Files
I'm working on an application that will use a database extensively. In
order to save some database hits, I'd like to offload some smaller bits
AM
To: '[EMAIL PROTECTED]'
Subject: [OT] XML Configuration Files
I'm working on an application that will use a database extensively. In
order to save some database hits, I'd like to offload some smaller bits of
information into XML files.
An example would be shipping methods
guidance you guys can give.
-Original Message-
From: Jason Rosen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 3:23 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] XML Configuration Files
Michael,
You could use the Apache Jarkarta Commons Digester (the same API
Not exactly sure what you're asking here..and my experience with Castor
is limited (decided to go with OJB for O/R mapping), but I have used Castor
to retrieve data from mySQL and write it to an XML file. If that's what you
wanted to know.
No problem using both the O/R and XML capabilities
'
Subject: RE: [OT] XML Configuration Files
Michael,
You could use the Apache Jarkarta Commons Digester (the same API that Struts
uses to read in struts-config.xml) to read in an XML document into
JavaBeans.
Jason
-Original Message-
From: Day, Michael-IBM/TT [mailto:[EMAIL PROTECTED]]
Sent
8 matches
Mail list logo