Hi Keith :-)
I'm using org.exolab.castor.builder.javaclassmapping=type setting. Should this
have any influence on how the unmarshalling works for xsi:type constructs?
The *Descriptor classes are all compiled (I'm sure because I'm using them at
several places in my code, too).
Can you (or anybo
Hi Lars,
Are you using "type" or "element" centric bindings?
Also have you compiled all the *Descriptor.java classes?
--Keith
Lars Klose wrote:
>
> Sorry to send the same question again, but I really need to find a solution
> for my problem. Maybe this time somebody has time to have a look a
Sorry to send the same question again, but I really need to find a solution
for my problem. Maybe this time somebody has time to have a look at this.
_Any_ small advice or pointer to relevant information would be appreciated...
I have a schema like the following which uses anyType elements ("con
Hi, Bruce.
Seems like I fail preparing my database so that the tests can perform. Or
maybe other bugs in Castor keep me from getting done.
What I see is that some tables are sometimes required in upper case letters,
sometimes in lower case letters. It is fact that my database translates
unquoted t
Hi Duncan,
I committed a patch to the CVS.
Thanks,
--Keith
Keith Visco wrote:
>
> Hi Duncan,
>
> I'll double-check your patch against the CVS version (line numbers will
> be different), but it seems like an appropriate fix. The one thing your
> patch won't handle is if there is no prefix, b
Bryan,
Thanks a lot for your reply. It would be great if you could share your code.
Honestly, I did not understand this completely. But, I guess I can take a look at your code, understand it further and then discuss this.
bryan davis <[EMAIL PROTECTED]> wrote:
I'll give it a shot...
I
Peter,
Is your class org.grimoire.beans.Card mapped? It has to be mapped and I
think the order of the select columns has to match the order in the mapping.
Steve
- Original Message -
From: "McEvoy, Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 12:14 P
Hi Rainer,
Thanx for your comments.
But I still don't understand this. What exactly does Castor do when it checks if the
object has been modified? What does it compare the timestamp value in our instance
with There's no timestamp in the db.
What if the record is updated by another applicatio
Bruce,
Partial success on this issue ...
A co-worker was able to make it run off a fresh build of the latest castor code
0.9.4.3 - no longer throws the exception ... HOWEVER... if after the line:
product = (Product) results.next();
//I insert the following the lines:
System.out.println(
Folks,
I have a complicated bean that contains a number of collections as well as
properties (simple and complex). I have got all this working fine and dandy and
mapped to my DB schema.
However, I do not use lazy loading, as I have found that within my struts based
webapp, where beans
I'll give it a shot...
I'm developing an app that uses struts/castor
and I ran into a similar issue. I ended up building a pooling class which
made sure that any time a given thread needed a Database, it got the same
instance. This made things simpler by not having to pass the database
Hi
i am using castor .i am able to insert object which hold array
that array hold objects of same type
I am using weblogic 6.2 .when i am using weblogic having castor in
classpath of weblogic
to insert the object which hold array of other object it work fine but
when i try to retrive tha
Any takers for this?
I just want to validate my code - that I'll be posting with an online article. I hope that way this question will not need to answered again and again. I know it has been answered earlier, but the mail achieves do not take it to conclusion.
Thanks in advance,
Harshal
Har
Hi Keld!
Your class should have a instance variable where the timestamp will be
held. You do not have to put a timestamp into the database. The
timestamp variable in the object is used by Castor to see if the object
has been modified.
So, you will open a transaction, load the object and close
I need to place a piece of XML into an AnyNode castor class, and have tried
using a method suggested on this forum before, which uses the
org.exolab.castor.xml.util.SAX2ANY Content handler but when I eventually
marshall the root element I lose the names on the elements, any ideas please
- this is g
Hello!Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
Hi again,
if I leave out the sql-time this error does not appear, but another
one I don't know what to do with:
org.exolab.castor.mapping.MappingException: Field element,
"org.exolab.castor.types.Date" not found!
at org.exolab.castor.persist.DatingService.close(DatingService.java:127)
Hi!
I've got a big problem and need a quick solution for this.
In the mapping file I declare a field like this (used latest CVS):
Castor says:
org.exolab.castor.mapping.MappingException: No convertor exists for converting type
java.sql.Time to type org.exolab.castor.types.Time
at
> Hi, all.
>
> This time I tried myself what I suggested to Marcel - but it does not
> work.
> Whatever I set the encoding to, the output is UTF-8. I also included the
> line that made no sense in my eyes - with no effect.
> Marcel, did my solution help you?
>
> If not, we have a problem with the
Hi, all.
This time I tried myself what I suggested to Marcel - but it does not work.
Whatever I set the encoding to, the output is UTF-8. I also included the
line that made no sense in my eyes - with no effect.
Marcel, did my solution help you?
If not, we have a problem with the marshalling frame
It seems that I found a bug with castor version 0.9.4.3 and Informix clob.
When I use the following mapping:
I get the following error when I tried to insert a row:
java.sql.SQLException: nullnull
at
com.informix.util.IfxErrMsg.getSQLMinorException(IfxErrMsg.java:471)
at
c
Hi, Bruce.
Trying to rerun the test suite I get such output:
Test: TC06 Deadlock detection .E
Test: TC07 Race .E
Test: TC08 Cache leakage .E
Test: TC09 Query garbage collected .E
Test: TC10 Cache expiry measure .
Test: TC20 Type handling .E
Actually I am not sure what this means. Did an error oc
> check the mapping file use extends key word when defining a class and a
> parent class
>
yeah, it does. the mapping and all is correct. if i add a dummy field to
the table C and the class C, it works fine. then the update statement that
castor exceutes reads as :
UPDATE "C" SET "dummy"=? WH
check the mapping file use extends key word when defining a class and a
parent class
-Original Message-
From: Anand Janakiraman [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:49 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Child table with only one column.
Hi,
We have
24 matches
Mail list logo