hi,
sample schema:
running the sourcegenerator, the generated java class for
us-address-type (UsAddressType) is designated abstract while a separate
UsAddress.java file is generated that extends it.
this does not make sense to me. to me the element is an ins
Bruce,
Yes, I noticed that it might be referencing the table alias but the sql
does not specify (declare?) the alias customer_f4. So, this is the
incomplete SQL statement if customer_f4 is meant to be an alias.
If customer_f4 is an alias referencing the customer table then the lines
> address
Hi
Sorry for not sending enough information in my first mail. I am attaching
the exception message and the XML document I am using to create the schema.
General Exception java.io.IOException: java.lang.NullPointerException at
org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema(Unk
Andreas,
You could use OpenEJB which actually uses Castor JDO for CMP Persistence
and employs Castor XML. Jboss also has Castor integration, though, I
don't have any details on that. That would definitely be the approach
I'd go if I had to do any complex manipulation/validation of the XML
data b
Hi,
We are using EJBs with jboss and oracle here.
Now we want to add a xml-Import/Export to the database.
Now my questions:
1. I've seen now a lot of examples, but they always stor just one single bean
to xml. What's when I want to export/import - or marhall/unmarshall a
complete db-table (to a
Bruce, Thanks for the reply. We are already using db.setAutoStore( true ).
I'm currently using 0.9.3.12. Would moving to 9.4 possibly help in this
case?
rich
-Original Message-
From: Bruce Snyder [mailto:ferret@;frii.com]
Sent: Tuesday, October 22, 2002 6:20 PM
To: [EMAIL PROTECTED]
Subje
This one time, at band camp, Davis, Richard said:
DR>I'm encountering a problem with short transaction updates when I attempt
DR>commit a changed object.
DR>
DR>The object has a property which is another Castor data object which itself
DR>has a collection of Castor data objects. The relationship
I'm encountering a problem with short transaction updates when I attempt
commit a changed object.
The object has a property which is another Castor data object which itself
has a collection of Castor data objects. The relationship is 1 to 1 to many
in this case.
The problem is that changes to
This one time, at band camp, Emre Tuvay said:
ET> Here is the mapping for Profile:
ET>
ET>
ET> Profile
ET>
ET>
ET>
ET>
ET>
ET>
ET>
ET>
This one time, at band camp, Werner Guttmann said:
WG>just wondering whether there is a way to configure e.g. a logger that
WG>would tell me whether a property has been retrieved from the
WG>(performance) cache as opposed to the database. Or any other mechanism
WG>that I might have overlooked ?
W
Here's a summary of my timing results running Castor 0.9.3.9 with Sun
Linux JVM 1.4.1 in csv format (convenient for spreadsheet import):
Castor Mapped,Unmrs mn,7,85,94,Unmrs av,18,97,112,Mrshl mn,3,47,37,Mrshl
av,7,51,44
Castor Mapped,Unmrs mn,10,151,128,Unmrs av,21,170,142,Mrshl
mn,4,78,52,Mrs
This one time, at band camp, Yasuhiko Yoshikawa(Sakakibara) said:
YY>Hi, I am new to castor JDO and found it wonderful.
YY>However, when I try it out, I encountered a problem that the JDO creates
YY>incorrect SQL statement:(line breaks and spaces are inserted for
YY>readability)
YY>SELECT
YY>
Title: RE: [castor-dev] one to one relationships
Oh
wait, I was wrong. I thought it worked in principle ( but failed due to db
issues but i see that I'm still having issues ) :
I've
set up my mapping file as such
Hello,
There is a lot of refactoring work that could be done to improve the JDO
side of Castor - it is a question of available resources to perform the
work. There are few committers on the JDO side and they are kept very
busy with this list. But I agree -- using "many-key" in a one-to-one
ma
Thanks, Keith. That was exactly it.
> -Original Message-
> From: Keith Visco [mailto:kvisco@;intalio.com]
> Sent: Monday, October 21, 2002 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] Bind-XML Doesn't Change Element Name When
> Marshalling
>
>
>
> Greg,
>
> Make sure y
Sergej Maslyukov wrote:
Hi
when ResultSet.close() and Statement.close() invoked
Oracle jdbc driver not close open cursor in DB. For
immediate close cursor need ResultSet and Statement
set to null. This says to GC remove object from
garbage and cursor in DB is closed.
Can you prove this ?
AFAIK
This one time, at band camp, Jan Ploski said:
JP>I have my database schema arranged as follows:
JP>
JP>Table "model", PK = id
JP>Table "traffic_node", PK = (modelID, id)
JP>
JP>traffic_node.modelID refers to model.id.
JP>traffic_node.id is NOT alone unique in the table traffic_node.
JP>
JP>I would
Yes if you send in your schema, or some other that shows the problem.
> -Original Message-
> From: Arati [mailto:arati_rahalkar@;persistent.co.in]
> Sent: Tuesday, October 22, 2002 4:25 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Bug in generating XML Schema using
> XMLInstance2Sche
Title: RE: [castor-dev] one to one relationships
Thanks a lot.
That really cleared it up for me.
That brings me to two questions:
1) Why not change the name of the "many-key" attribute to something like "relationship-key" or "rel-key" ? It seems that a x - to - many mapping is dependent
Hi
I am facing problems using XMLInstance2Schema for generating XML Schema from
large XML documents (gives ArrayIndexOutofBoundsException) or from XMLs that
have empty nodes (gives NullPointerException).
Could anybody please look into this problem?
Regards,
Arati
---
Hi Bruce,
I need to elaborate this.
Here is the mapping for Profile:
Profile
Hi,
just wondering whether there is a way to configure e.g. a logger that
would tell me whether a property has been retrieved from the
(performance) cache as opposed to the database. Or any other mechanism
that I might have overlooked ?
Thanks
Werner
-
Hi
when ResultSet.close() and Statement.close() invoked
Oracle jdbc driver not close open cursor in DB. For
immediate close cursor need ResultSet and Statement
set to null. This says to GC remove object from
garbage and cursor in DB is closed.
ResultSet rs = null;
Statement st = null;
try{
.
Hamdi Mohs Yusof wrote:
Are you using Oracle's thin driver or the OCI driver. When I worked with
LOBs I had to make use of the OCI driver. It's as simple as changing
the URL in the database descriptor from this:
jdbc:oracle:thin:@
to this:
jdbc:oracle:OCI8:@
As long as you're using clas
Mickael,
Thank you for your reply. Here is the excerpt from the mapping.xml.
Please let me know if you need to check anything else. Since I am new to
Castor, I am not sure what data to provide to ask for help.
Seems to be a mapping problem, could you send your mapping file ?
Yasuhiko Yoshikawa(Sakakibara) wrote:
Hi, I am new to castor JDO and found it wonderful.
However, when I try it out, I encountered a problem that the JDO creates
incorrect SQL statement:(line breaks and spaces are inserted for
read
Hi Dennis,
I have no real clue of what could have happened to slow down that much
the performance, maybe some reference are not cleared during the
marshalling/unmarshalling process. We plan to do a profiling of Castor
once we are feature complete.
To optimize the performance, I advise you to use X
Hi Jack,
Which version are you using? Have you tried the CVS version?
Arnaud
-Original Message-
From: Jack Honeghan-Bates [mailto:jack.bates@;digitalsteps.com]
Sent: Friday, October 18, 2002 6:56 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Issue with xml schema group and castor gener
Hi Vincent,
Thanks for catching that, I've updated the CVS.
Arnaud
> -Original Message-
> From: Figari, Vincent [mailto:vincent.figari@;sap.com]
> Sent: Friday, October 18, 2002 5:17 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Problem in validation code generated for
> elements
>
Thanks everyone for the help.
I have tried Bruce's idea but got an error:
java.sql.SQLException: No suitable driver
I changed from thin to OCI8 as suggested. The error seems to be when I
tried to get the jdo. When I changed back to thin, it ran a ok, accept
for the 4k clob limit that is.
Dani
Hi Christian, Vincent, Daan, Erik and castor fans,
Here is some update on the problem reported concerning namespace: Castor
wasn't able to find the correct ClassDescriptor when marshalling and we
also faced a namespace setting problem in the generated descriptors.
The support has been modified sl
31 matches
Mail list logo