This one time, at band camp, Vu, Christophe said:
VC >I'd like to know if anybody has a simple xml mapping file with a one to many
VC >relationship...Mine does not working and I really don't know why.
VC >
VC >
VC >
VC >
VC >direct="false" lazy="false">
VC >
We might need something more powerful than XSLT, but thank you, maybe I can
start with it.
Thanks.
Ozgur
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Michael Homeijer
Sent: Tuesday, January 22, 2002 3:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-d
Margaret,
Thnaks for your reply !
That should be a normal case ! I understand.
But this restiction was included well before i generated my source files !
Eswar.
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this m
Eswar,
I think you will need to regenerate your classes. The source generation
creates restrictions in the generated code (all the Descriptor files) to
enforce your xsd restrictions. If you update the xsd, then those no longer
are valid.
Hope this helps...
Margaret
-Original Message-
Fr
Hello,
I'd like to know if anybody has a simple xml mapping file with a one to many
relationship...Mine does not working and I really don't know why.
My mapping is (one Prod has many ProdDetails:
http://castor.exolab.org/mapping.dtd";>
I don't know much about mySql, but have you tried using Numeric or
other number type where you can specify the precission?
>From what this email sounds like, its a problem with the table type.
Can you give more information, like the schema affected, and how you're
mapping it?
--- Ender_Hikmet_KI
Hi all,
I see from a search of the archives that there was someone investigating
implementation of cloning support for the source generator. Does anyone
know if this ever materialized ( or if it will ever materialize )?
thanks,
Bob.
==
Robert Ollila
Softwar
First Thanks a lot Alexey for your fast answer !
I'd like to know if anybody has done some performance study about Castor,
what are the recommendations...
Thanks again for any help !
Christophe
-Original Message-
From: Alexey A. Efimov [mailto:[EMAIL PROTECTED]]
Sent: mardi 22 janvier
You can use db.update only for object from another transaction.
Example:
...
// First transaction (get the object)
db.begin
o = db.load(Object.class, id);
db.commit();
// Here we change object
o.setXX(...);
// Second transaction (update the object)
db.begin();
db.update(o);
db.commit();
This c
hi,
we used the source code generator to create java objs from ouir xsd.
The problem now is we have an NMTOKEN x which can take either of the values
(1,2,3) .
And, we created a xml instance of the xsd with a value '4' for the NMTOKEN
'x' .
And at the point of unmarshalling this xml instance the
I begin with Castor and I have some trouble with the Update (Select, Create
and Remove are fine).
While doing my update I have this error:
JDO UPDATE java.lang.IllegalArgumentException: A master object that involves
in a long transaction must be a TimeStampable!
My code:
<%@ page import="org.
Hi
This is my second mail about this error.
Problem is appair when you try to update double field with 7 or more digit
on a mysql table. Reason is SQL query created with exponention format like
"2.802344E7" so it cause exception on the mm.mysql's executeupdate function.
I couldnt find solution
Tha
Title: Curious exceptions in Castor :) (serial "what the hell?")
1. If you get exception after update or create that: StringBufferIndexOutOfBound exception, it mean that you try save to foreign key field an empty string value ("", but not null, becose for null it work correct).
2. If you get
hi,
i have a common mapping file for both castor jdo and castor xml.
when i import xml data to jdo (-> make data persistent)
all predefined id fields will be overwritten due defined key generators.
is there a way to disable the key-generator while importing the xml data ?
i took a look in the s
Hi,
Chris Cook schrieb:
>
> Does anyone have experience with actually creating database schemas from an
> xml file with Castor? For example if I had an oracle schema, I would like
> to use the same xml file I created that schema off of to create it in
> SQL2000.
>
I don't know of any tool to d
Title: How get list of complex identifiers?
How I can get list of complex identifiers of object. The OQL conception means that I can select only one object (not set of fields that in generic SQL).
I can use:
select o from Object o;
or
select o.field from Object o;
and I can't use follow:
As your output is HTML wouldn't it be easier to transform the schema to HTML
using XSL translation?
HTH,
Michael
-Original Message-
From: Ozgur Balsoy [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 22 januari 2002 9:25
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] generating sth other than j
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 3:52 AM
Subject: Re: [castor-dev] Castor in a web application
>
> How did you end up doing this. I have to do the same thing
>
>
>
In attachment I included an example from Ned.
Should
Thanks, Keith. I see what you mean.
I definitely thought of using SOM, but was wondering how tightly coupled the
Java source generation was to the SourceGen.
Ozgur
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Keith Visco
Sent: Tuesday, January 22, 2002
19 matches
Mail list logo