[castor-dev] Castor 0.9.4.3 released...

2003-02-11 Thread Keith Visco
Castor 0.9.4.3 was released only moments ago... This release contains the folllowing bug fixes: Version 0.9.4.3, February 12, 2003 -- XML:Fixed the handling of include in the binding file. Problem reported by Brett Ramdeen [[EMAIL PROTECTED]]

Re: [castor-dev] Problem with collection of references

2003-02-11 Thread Szabo Peter
Hi Nresh, then you have to - add an ID to your Meeting class - be sure that before marshalling you set this value to a unique value in each instance - in the mapping.xml ... ...

Re: [castor-dev] generated code from SourceGenerator does not compile String complexType...

2003-02-11 Thread Keith Visco
I believe this issue was already fixed a couple weeks back. Try using Castor 0.9.4.3 which has just moments ago been released... --Keith [EMAIL PROTECTED] wrote: > > ahoy. > > ive tried using castor on a simple xml schema (Simple.xsd) which i have > attached. when i run sourceGen on this sc

[castor-dev] Castor/JDO: Are Updates optimized?

2003-02-11 Thread Biswajeet Datta (Bangalore)
Hi, We are planning to use Castor in our application. I have a question on Update in Castor/JDO. When I invoke an update on a Java Value Object (which has correct mapping), is it optimized to update the changed fields only. Because, I may not want to update all the fields of the Java Object. Ho

Re: [castor-dev] Marshalling & Class Descriptor ?

2003-02-11 Thread Darren Govoni
Yep. It appears to be working now. Not sure what was going on, but I did switch to 9.4.2 so maybe that did it. I was also running it inside netbeans, and possibly it wasn't seeing the jar/classpath properly. Anyway, it works. Thanks for the reply. Keith Visco wrote: Is the descriptor compi

Re: [castor-dev] Marshalling & Class Descriptor ?

2003-02-11 Thread Keith Visco
Is the descriptor compiled? --Keith Darren Govoni wrote: > > Hi, > Pardon this question if it's arisen before. I just recently learned > how to create Java Beans and class Descriptors from an XSD. However, > when I marshal a class to XML, the xml name used is the default castor > scheme and

[castor-dev] Marshalling & Class Descriptor ?

2003-02-11 Thread Darren Govoni
Hi, Pardon this question if it's arisen before. I just recently learned how to create Java Beans and class Descriptors from an XSD. However, when I marshal a class to XML, the xml name used is the default castor scheme and not the name indicated in the generated descriptor class that was gener

Re: [castor-dev] java binding for xsd:list

2003-02-11 Thread Xiaowen Wang
Dean: Here's the schema that of which the java src generated from castor maps xsd:list of int to java.util.ArrayList. Specifically, I defined rowIndices and colMarks as util:IntList type. The util:IntList is simply xsd:list of ItemType int and is defined in the second schema following. I passed -t

Re: [castor-dev] Problem with collection of references

2003-02-11 Thread Naresh Bhatia
Well, actually I do want to use references. The Meeting objects could be referenced from multiple places and I want to make sure only one copy per instance is marshelled/unmarshalled. Nresh -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 7:

[castor-dev] generated code from SourceGenerator does not compile String complexType...

2003-02-11 Thread mrgrimm
ahoy. ive tried using castor on a simple xml schema (Simple.xsd) which i have attached. when i run sourceGen on this schema to generate the code with which to marshall/unmarshall xml instances conforming to Simple.xsd. i can generate the source code just fine. however, when i attempt to com

Re: [castor-dev] Problem with collection of references

2003-02-11 Thread Keith Visco
Sounds like you don't want to be using references. Just remove reference="true" and make sure you use node="element". --Keith > Naresh Bhatia wrote: > > I am trying to create a collection of references using XML mappings, > but running in to troubles. I have tried two approaches: > > Approach

[castor-dev] Problem with collection of references

2003-02-11 Thread Naresh Bhatia
Title: Problem with collection of references I am trying to create a collection of references using XML mappings, but running in to troubles. I have tried two approaches: Approach 1   attribute" reference="true"/> This gives me   ... Furthermore, the meeting objects are not ser

Re: [castor-dev] performance patch submission

2003-02-11 Thread Dean Hiller
thanks keith, Dean Keith Visco wrote: Hi Dean, I took a quick look at your patch, it looks reasonable..., we may need to change the key to include the namespace in the future, but since the current default resolver is not using the namespace it's not needed right away. I'll get this into

[castor-dev] Castor support for stored procedures in sybase

2003-02-11 Thread Yogesh Kandlikar
Gurus, I am having problem trying to invoke a stored procedure via castor jdo and map to an java object.Simple select queries are working for meAttached is the code snippet I have for marshalling data out of sybase db into possibly xml later.It throws the following stack of errors.I am pretty much

Re: [castor-dev] performance patch submission

2003-02-11 Thread Keith Visco
Hi Dean, I took a quick look at your patch, it looks reasonable..., we may need to change the key to include the namespace in the future, but since the current default resolver is not using the namespace it's not needed right away. I'll get this into the CVS. --Keith Dean_D_Hiller wrote: > >

Re: [castor-dev] Query on OQL

2003-02-11 Thread chavan
Hi, I figured out my mistake, the sql key mapping should have the same name in the parent and child class :) so the parent has xml like and the child has xml like thnx Chavan On Tue, 11 Feb 2003, chavan wrote: > Hi, >