Re: [castor-dev] Mapping: Blob->java.io.InputStream

2001-11-16 Thread Krishnan N
hi, the lastest version does support blob and clob fields, i have tried it with oracle 8i with an oci driver and it works fine. krish --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of

Re: [castor-dev] Marshalling Error

2001-11-16 Thread Charlemagne L. Rey
Hi! I'm new in using this Castor stuff and I'm currently using it with the VAJ environment. Yet, I'm having a problem if in Marshalling and Unmarshalling my xml files when I am pointing my dtd to the SYSTEM instead of PUBLIC. What I meant is, VAJ will give me a FileNotNotFoundException for the

[castor-dev] pathes

2001-11-16 Thread Börries Ludwig
Hi, I read a similar question before, but I could not find it any more. The problem is: I set an absolute path name to jdo: jdo.setConfiguration("C:/Programme/Apache Tomcat 4.0/webapps/ANT/infonetIniFiles/InfoNet.xml"); ^^^ The method jdo.getDatabase(); throws the exception: Unc

Re: [castor-dev] Compiled Mapping

2001-11-16 Thread Keith Visco
Just use the SourceGenerator with an XML Schema. It will produce classes and class descriptors. You can then look at the descriptors to understand what's going on. Thanks, --Keith Sillaume Ghislain wrote: > > Does anyone have an example that show how to use compiled mapping (using the > XMLCl

Re: [castor-dev] XML Schema 'choice'

2001-11-16 Thread Mark Lanz
Arnaud, I am using 0.9.3. I haven't tried the CVS, yet. I'll give it a try and let you know. Thanks, Mark --- Arnaud Blandin <[EMAIL PROTECTED]> wrote: > Hi Mark, > > which version are you using? have you tried the CVS? > > Arnaud > > -> -Original Message- > -> From: Mark Lanz [mailt

[castor-dev] USING SOURCEGENERATOR JAVA OBJECTS !!!

2001-11-16 Thread eswar . subramanyam
Thanks !! What's the difference Between "SourceGenerator" generated Descriptors & Mapping.xml ? As we are in early stages of the project , our XSD is subjected to a lot of evolution ! So all java objects & descriptors generated by "SourceGenerator" are also subjected to evolution. In this case

[castor-dev] Mapping: Blob->java.io.InputStream

2001-11-16 Thread Holub Andrej
Does anybody know wheter the latest version of Castor supports mapping sql type "blob" with java.io.InputStream? The version 0.9.2 doesn't support it. ...if not how to avoid it and make it working? I want to save picturs to MySql database. thank's Andrej Holub SWH KB/K SWH s.r.o.

Re: [castor-dev] Many-Many to itself?

2001-11-16 Thread Borries Ludwig
Hi, could you explain what you mean by that many-to-many is not supported to itself. Probably this is the reason of my problem. If have following DDL: create table keyword ( Uid CHAR(22) NOT NULL, Keyword CHAR(40) N

[castor-dev] Question on Mapping File

2001-11-16 Thread eswar . subramanyam
Hi, I used the source generator utility to create the java objects from a XSD, which worked fine. Now, the real problem; I have to write a mapping file to map between my XMl(instance of XSD) & Java objects manually. Is there a way i can get around doing this ? Does source generator has a func

[castor-dev] Compiled Mapping

2001-11-16 Thread Sillaume Ghislain
Does anyone have an example that show how to use compiled mapping (using the XMLClassDescriptor Interface) ? Thanks for helping Ghislain _ Téléchargez MSN Explorer gratuitement à l'adresse http://explorer.msn.fr/intl.asp

[castor-dev] Discarding object from Cache

2001-11-16 Thread AFASA Corneil du Plessis
Is there a way to explicitly flush an object from the JDO cache? I may know when some other application modifies the underlying table and would then like to notify Castor of that fact instead of disabling the cache alltogether. Corneil du Plessis AFA Systems Direct:+27 11 293-1136 Office: +27 11

Re: [castor-dev] Unmarshalling unknown java

2001-11-16 Thread Keith Visco
> Pete Lane wrote: > > My application is such that we have defined a generic > request element (i.e. the container) that carries data > common to all requests (e.g. request header info). It > then may hold one of 33 specific request types (i.e. > the members). In a pure Java situation, one wo

[castor-dev] Schema Object Model

2001-11-16 Thread Phil Mitchell
What happened to Castor's SOM? It is mentioned on the Schema Support page (see below), but org.exolab.castor.xml.schema no longer exists. SOM seems like exactly what I need, I'd love to know why it vanished from castor... QUOTE (http://castor.exolab.org/xmlschema.html) The Schema Object Model (lo

[castor-dev] Réf. : Re: [castor-dev] Searchable mailing listarchive? GREAT - put it on the castor page!

2001-11-16 Thread eswar . subramanyam
Thanks !! What's the difference Between "SourceGenerator" generated Descriptors & Mapping.xml ? As we are in early stages of the project , our XSD is subjected to a lot of evolution ! So all java objects & descriptors generated by "SourceGenerator" are also subjected to evolution. In this case