Re: [castor-dev] enclosing quotes in SQL statement not being added

2002-07-16 Thread Patrick van Kann
Hi Marc, I executed the following code in a test case using the mm MySQL drivers and it worked, single quotes/funny characters and all. Can I recommend you try the mm drivers and see if the problem goes away? I could not get Resin's drivers to work. My configs are below. Cheers, Patrick pub

[castor-dev] marshaller.setEncoding("ISO-8859-1") does not transform elements correctly

2002-07-16 Thread Berg Klaus-Peter
Hi, I try to convert a Java object that contains German names to XML using marshaller.setEncoding("ISO-8859-1"); German names use characters like "ü", "ä", "ö" etc. Although using marshaller.setEncoding("ISO-8859-1"); these charcters are not converted properly to XML. The corresponding XML element

[castor-dev] Réf. : Re: [castor-dev] class extension...

2002-07-16 Thread Othman Haddad
thanx a lot,i'll do...   ---Message original---   De : [EMAIL PROTECTED] Date : mardi 16 juillet 2002 12:37:33 A : [EMAIL PROTECTED] Sujet : Re: [castor-dev] class extension...   Hi,  

Re: [castor-dev] class extension...

2002-07-16 Thread Arnaud Blandin
Hi,   You can certainly add the needed business logic by extending the generated classes and then create a mapping file for those classes. You can also put some logic in a base class and make your generated classes extend that base class by setting the option in castorbuilder.properties.

Re: [castor-dev] How to set

2002-07-16 Thread Arnaud Blandin
Hi Klaus, You should use the method Marshaller#setEncoding(). Arnaud > -Original Message- > From: Berg Klaus-Peter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 12:14 PM > To: [EMAIL PROTECTED] > Subject: [castor-dev] How to set 8859-1"?> > > Hallo all, > I'm using castor

[castor-dev] How to set

2002-07-16 Thread Berg Klaus-Peter
Hallo all, I'm using castor Marshaller to convert a Java Object to XML. Default is that I get , i.e., UTF-8 encoding. How to get Klaus "Things should be made as simple as possible, but not any simpler." - Albert Einstein "Es gibt immer viel mehr ungeordnete Zustände als geordnete..."

Re: [castor-dev] Problem with node names generated when marshalling...

2002-07-16 Thread ORTIZ,HELENE (Non-HP-France,ex1)
Thanks a lot Keith, it works fine now ! -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED]] Sent: mardi 16 juillet 2002 10:28 To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Problem with node names generated when marshalling... Helene, Looks like the generated ClassDescr

Re: [castor-dev] Generation of private Classes ?

2002-07-16 Thread THOMAS . GELSTHORPE
Hello Keith, Thanks for your mail, now I understand why it wasn't working. I had to keep trying because the boss wrote it in the 'todo'list before he went off on holiday ! thanks again tom -Ursprüngliche Nachricht- Von: Keith Visco [mailto:[EMAIL PROTECTED]] Gesendet am: Donners

Re: [castor-dev] Problem with node names generated when marshalling...

2002-07-16 Thread Keith Visco
Helene, Looks like the generated ClassDescriptors are not getting compiled. Make sure you compile all classes including the ***Descriptor.java files. Thanks, --Keith "ORTIZ,HELENE (Non-HP-France,ex1)" wrote: > > Hi, > > I'm using Castor 0.9.3.9 to : > > - generate Java classes from XSD

[castor-dev] class extension...

2002-07-16 Thread Othman Haddad
hi everybody, i find castor a good product, but the only thing is that we don't have enough controle on generated classes, so:   how can i reuse the generated java classes from an xsd file?, by exteding them? can you give an example of class cust

Re: [castor-dev] bug on imported namespaces?

2002-07-16 Thread Keith Visco
This issue should already be fixed in the CVS version of Castor. To obtain a CVS version, simply do a checkout using the instructions at: http://castor.exolab.org/cvs.html To build Castor simply: 1. Set the JAVA_HOME enviroment varible. example: set JAVA_HOME=c:\java\jdk1.3 2. cd to the

[castor-dev] Castor XML - code generator -Vectors

2002-07-16 Thread Jamie De Wet
Title: Castor XML - code generator -Vectors Hi there, URGENT HELP NEEDED I hava 2 classes - Tranaction and Financial (one Transaction to many Financials). I generate these classes from schema using Castor. Now I am using JDO and mapping the 2 classes to each other but when I try link them li

[castor-dev] Problem with node names generated when marshalling...

2002-07-16 Thread ORTIZ,HELENE (Non-HP-France,ex1)
Hi, I'm using Castor 0.9.3.9 to : - generate Java classes from XSD file with SourceGenerator, - marshall objects / unmarshall XML (using these generated Java classes) In my XSD file, I've a field named agent_id in class MyClass : In MyClass.java (generated by

[castor-dev] bug on imported namespaces?

2002-07-16 Thread Olivier_LEVILLAIN
Hi When I compile the following xml schema with sourcegen, I get the error below: (main schema) http://www.coface.com/2002/bdt/core"; xmlns:core="http://www.coface.com/2002/bdt/core"; xmlns:cct="CoreComponentTypes.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema"; elementFormD