[castor-dev] mapping.dtd and collections

2002-03-15 Thread John Gregg
Hi all. The mapping.dtd file states in part: "Collection fields require only a get method" However, FieldMolder line 584 throws an exception if no set or add method is found. Is the documentation out of date or is the code wrong? This is for version 0.9.3.9. thanks john gregg --

[castor-dev] DETERMINING GENERATED CLASS NAMES

2002-03-15 Thread Young, Paul
Is there a way to dynamically determine the classes/class names created by the SourceGenerator for a particular XML Schema? I don't find any methods included in the SourceGenerator or builder javadocs that would help me determine what classes are being generated. I need to determine which classe

Re: [castor-dev] Paging result set with OQL

2002-03-15 Thread 원 태웅
Title: 메시지 Thanks for your timely answer! It was very helpful to us. -Original Message-From: lars.gersmann [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 6:03 PMTo: [EMAIL PROTECTED]Subject: Re: [castor-dev] Paging result set with OQL hi,  

Re: [castor-dev] Paging result set with OQL

2002-03-15 Thread 원 태웅
Title: 메시지 Thanks for your timely answer! -Original Message-From: Matthew Baird [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 16, 2002 1:30 AMTo: [EMAIL PROTECTED]Subject: RE: [castor-dev] Paging result set with OQL I wrote the .size and .absolute methods

Re: [castor-dev] SourceGenerator produces incorrect parameter types?

2002-03-15 Thread Chris Newland
Hi Arnaud, Apologies for my lack of understanding. I've reduced my schema to the smallest possible test and I still don't understand the results I am getting :( http://www.w3.org/2001/XMLSchema";>

[castor-dev] DAX support in castor

2002-03-15 Thread Nicolas Fournier (LMC)
We are currently evaluating castor 0.0.3.9 for one of our project. We currently use castor to load objects from an SQL database and it is working fine. Good job guys! We would also need to load object from an ldap server (we only need to read). I saw on castor home some reference on DAX (Jav

Re: [castor-dev] Paging result set with OQL

2002-03-15 Thread Matthew Baird
I wrote the .size and .absolute methods on QueryResults to do exactly what you are asking for. It works, and it is scalable. m -Original Message- From: lars.gersmann [mailto:[EMAIL PROTECTED]] Sent: Fri 3/15/2002 1:03 AM To: [EMAIL PROTECTED]

Re: [castor-dev] Performance Issue JDO (repost sorta)

2002-03-15 Thread Benjamin Voiturier
Hello Jan, I just posted a message mentioning this issue yesterday but did not receive any feedback yet. I don't understand why this issue has not been reached before as this is a critical performance issue that everybody should encounter as soon as working with an object having several 1:many f

Re: [castor-dev] SourceGenerator produces incorrect parameter types?

2002-03-15 Thread Arnaud Blandin
Hi Chris, When you specify 'type="Descriptor"', it means that you want the type of your element to be a simpleType or a complexType named Descriptor not an element. Just define a complexType for Descriptor and all will be fine. Arnaud > -Original Message- > From: Chris Newland [mailto:[

Re: [castor-dev] SourceGenerator produces incorrect parameter types?

2002-03-15 Thread Chris Newland
John, Sorry, that was a typo I made while trying to simplify my schema as an example, the real schema has a type definition for Descriptor but I still get the Type not found for element: Descriptor Type not found for element: FooDescriptor errors when I use the SourceGenerator: http://www.w3.

[castor-dev] Re: castor mapping-error

2002-03-15 Thread Clóvis Wichoski
Hi Mehmet, Yes, I'm using a mapping for JDO and another for XML. Regards Clóvis Wichoski Supridatta >> Original Message << On 15/03/02, 08:17:10, "Sariyar Mehmet /OI&T ext." <[EMAIL PROTECTED]> wrote regarding castor mapping-error: > Hi there, > At November

Re: [castor-dev] HOw to make cache works?

2002-03-15 Thread Smith, Kevin
It looks like your mapping was cut off. Are you referring to the various "cache-type" caches? --Kevins -Original Message- From: David Tam [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 5:49 AM To: [EMAIL PROTECTED] Subject: [castor-dev] HOw to make cache works? dear all, i am

[castor-dev] Performance Issue JDO (repost sorta)

2002-03-15 Thread Jan . Hansen
There seems to be a problem with the way querry builder constructs querries. Considder this example: Instance of Class Parent has - 1000 Class ChildA instances and - 1000 Class ChildB instances. JDO retrieves objects in one querry, the querrys resultset will contain 1 x 1000 x 1000 rows (lazy l

[castor-dev] HOw to make cache works?

2002-03-15 Thread David Tam
dear all, i am new to castor, so pls dont laugh if this question is silly. the following is my mapping: /***/

[castor-dev] Integer enumeration problem

2002-03-15 Thread Dr. Hartmut Kocher
When I define a an integer enumeration,e.g. only 1,2,6 are valid entries, the generated source code has the following problem: Because the numbers are stored as strings ("1", "2", "6") conforming XML files might be rejected if they use leading zeros. The validation does a string compare, therefor

Re: [castor-dev] Paging result set with OQL

2002-03-15 Thread lars.gersmann
Title: ¸Þ½ÃÁö hi,   download the cvs version of castor. you will find 2 new methods absolute() and size() in class QueryResults which can be used to match your needs.   there is a mail from ned wolpert which explains a little bit more about these functions. see http://www.mail-archive.co