you *don't* have to use the concrete type for the field value but you
*do* have to use a concrete type (obviously one that implements the
field type) in the mapping file.
the upshot of this is that you cant have more than one concrete class
for your interface if you want to use it with castor. bu
Title: using specific array types with lazy loading
will
Castor in the future support any sort of ordering of collection elements (with
arraylist, array, etc), whether it be with lazy loading or
not?
Thanks,
Brett
-Original Message-From: Thomas Yip
[mailto:[EMAIL PROTECTED]]Se
Title: using specific array types with lazy loading
You can
only use java.util.Collection for lazy loading.
Thomas
-Original Message-
>From: Brett Porter
[mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 08, 2001 2:35
PM
>To: [EMAIL PROTECTED]
>Subject: [cas
Take a look in DescriptorSourceFactory.java
Hope this helps,
Arnaud
-> -Original Message-
-> From: michael robkin [mailto:[EMAIL PROTECTED]]
-> Sent: Thursday, November 08, 2001 2:03 PM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] Descriptor names
->
->
->
-> Where in the code(se
Hi Elian,
This is a known issue, a temporary solution is to split your schema in different
schemas (using different namespaces).
It is a pain, I confess.
The other solution is to wait for the SourceGenerator Binding File but unfortunately
we have no
release date for it available.
Hope this hel
Title: using specific array types with lazy loading
Hi,
I get this exception:
java.lang.ClassCastException: org.exolab.castor.persist.RelationCollection
when lazy loading:
and
Collection featuredProducts = new ArrayList();
and I try to:
ArrayList list = (ArrayList) featuredProd
Unidirectional relationship is not support.
Thomas
-Original Message-
>From: Dieter Cailliau [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 08, 2001 1:49 AM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] what is wrong with not mapping one side of
many-to-many?
>
>i'm trying to m
The jdoLoad() behavior is deprecated. The original support of polymorphic
method is removed.
Please search the mail archive.
Thomas
-Original Message-
>From: Gollot [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 08, 2001 6:20 AM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] Clas
It would
be definitely a great contribution, if somebody willing to move all error messages
back to the messages.properties. It is where they should go. Thank ahead! J
Thomas
-Original Message-
>From: Vijay Raghavendra
[mailto:[EMAIL PROTECTED]]
>Sent: Wednesd
Hi Jeff,
We'll take care of it while revising the Schema Object Model.
For the time being, feel free to modify the code for your internal use.
Arnaud
-> -Original Message-
-> From: Jeff Norris [mailto:[EMAIL PROTECTED]]
-> Sent: Wednesday, November 07, 2001 10:38 AM
-> To: [EMAIL PROTE
It probably a newly reported bug.
Thank for reporting.
Thomas
-Original Message-
>From: Dieter Cailliau [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 08, 2001 7:52 AM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] lazy="true" results in exception
>
>I have an applicatoin that w
Hi Aldo,
CAstor is supporting all XML Schema date/time types as long as you use the
SourceGenerator.
If you are not using XML schemas with Castor but still want to parse special date
format,
you have to modify the codetake a look at
org.exolab.castor.xml.handlers.DateFieldHandler, it might
Borries,
I think you should put "collection" in the mapping instead of vector for
your case.
Thomas
>direct="true" collection="collection">
-Original Message-
>From: Matthew Baird [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 08, 2001 12:55 PM
>To: [EMAIL PROTECTED]
>Subje
Hi Matt,
you could instantiate your own serializer (take a look at org.apache.xml.serialize)
and pass it to the Marshaller
of Castor.
Arnaud
-> -Original Message-
-> From: Matt Small [mailto:[EMAIL PROTECTED]]
-> Sent: Tuesday, November 06, 2001 11:26 AM
-> To: [EMAIL PROTECTED]
-> Sub
Castor is shipped with Xerces 1.4.0 but you can select the parser
you want to use in the properties file.
Arnaud
-> -Original Message-
-> From: Roshani Bhatt [mailto:[EMAIL PROTECTED]]
-> Sent: Monday, November 05, 2001 3:07 PM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] XML Parser
Hi Xavier,
you can use a mapping file to skip the elements you don't want to
unmarshall (search in the mailing list, it has been asked several times) or
you can use an XSL stylesheet before passing your XML to Castor.
Arnaud
-> -Original Message-
-> From: sl151-6 [mailto:[EMAIL PROTECT
-> -Original Message-
-> From: Søren Neigaard [mailto:[EMAIL PROTECTED]]
-> Sent: Monday, November 05, 2001 5:08 PM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] Can I turn exceptions off in castor?
->
->
-> When I do a "Marshaller.marshal" castor prints out a lot of exceptions
->
Where in the code(setup?) does castor name the
Descriptor classes. Could the name be changed?
For example
Date_Written.java
Date_WrittenDescriptor.jav
Date_Written name comes from schema.
Date_WrittenDescriptor comes from castor.
---
18 matches
Mail list logo