not supported within JDOMappingLoader (which happens to be used by
Castor JDO).
Werner
-Original Message-
From: Ralf Joachim [mailto:[EMAIL PROTECTED] Sent:
Freitag, 28. April 2006 14:40
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files
as well ?
Werner
-Original Message-
From: Keith Visco [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. April 2006 03:09
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files?
Hi Chris,
You should be able to drop a mapping file with the name
Keith,
Out of interest, would you think that this should work with Castor JDO
as well ?
Werner
-Original Message-
From: Keith Visco [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. April 2006 03:09
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered
?
Werner
-Original Message-
From: Keith Visco [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. April 2006 03:09
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files?
Hi Chris,
You should be able to drop a mapping file with the name
.castor.xml
PROTECTED]
Sent: Freitag, 28. April 2006 14:40
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files?
Werner,
as JPA defines some discovering mechanisums I'd be in favor
of supporting them instead of a Castor specific one that that
only a few
mentioned anywhere in our HTML docs ?
-Original Message-
From: Ralf Joachim [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. April 2006 23:45
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files?
Hi Chris,
how about creating a new issue
HTML docs ?
-Original Message-
From: Ralf Joachim [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. April 2006 23:45
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files?
Hi Chris,
how about creating a new issue in jira and provide us
.
Werner
PS Is this 'feature' actually mentioned anywhere in our HTML docs ?
-Original Message-
From: Ralf Joachim [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. April 2006 23:45
To: user@castor.codehaus.org
Subject: Re: [castor-user] Automatically discovered mapping files
Hi Chris,
for the database part of Castor we are working toward getting JPA
(EJB3.0) compliant. As mapping gets used by database and XML parts you
would propably take a look at discovery mechanism defined in this
specification. You may also want to look into JAXB2 specification if
this also
Keith wrote...
You should be able to drop a mapping file with the name .castor.xml
into your
Java package and Castor should discover it.
I can't get this to work with Castor 1.0. Can you give me a hint?
* To test this I have a class...
package xml.testBeans;
public class
Hi Chris,
i guess the file needs to be named .castor.xml instead of
DiscoverableChildBean.castor.xml according to explanation of Keith.
Ralf
ELVART, CHRISTOPHER (SBCSI) schrieb:
Keith wrote...
You should be able to drop a mapping file with the name .castor.xml
into your
Java package and
I get it now. There is one .castor.xml file for each package.
Is there any way to change the filename to remove the preceding dot? We
use WSAD for our development and it suppresses the file in the explorer
so it is not obvious to anyone looking at our source code that there
even is a file named
Hi Chris,
how about creating a new issue in jira and provide us with a patch about
how to enable subclassing of ClassDescriptorResolverImpl. I can think of
2 protected methods:
protected String getMappingFileName() { return PKG_MAPPING_FILE; }
protected String getResolverFileName() { return
Hi Chris,
You should be able to drop a mapping file with the name .castor.xml into your
Java package and Castor should discover it.
Hope that helps!
--Keith
ELVART, CHRISTOPHER (SBCSI) wrote:
Before I got to Castor I evaluated several other XML Binding tools and I
have found this one to
14 matches
Mail list logo