This one time, at band camp, Robert Kent said:
RK>I (mostly) answered my own question. Now there's a followup.
RK>
RK>Firstly, I figured out the setClassLoader issues; I was creating the objects
RK>in the wrong sequence, and the class loader wasn't set yet.
RK>
RK>But one of my queries also ga
This one time, at band camp, Robert Kent said:
RK>Hi all. I'm new to Castor; I've been reading the documentation on the
RK>website, and also download the shop/shoptest example from the "articles"
RK>page (URL of that example: http://www.drrockit.com/space/castorcodeexample)
RK>
RK>I was having
This one time, at band camp, Gustavo Pistoia said:
GP> I need to call a function of my oracle database (tipically with
GP>CallableStatement)
GP> Do I have any chance to do it?
GP> I wrote: CALL DVB('12345') AS gen.MyObject but it didn't work.
GP>
GP> Thanks you!!!, I have spent some hours
> Ohh, whoops. I did miss that, foot in mouth. I would still like to see this
> changed for other users out there that don't compile castor themselves and
> just grab the jars. Is this possible? I know the first time I grabbed the
> jars, I had an exception and just wanted to look at code but could
Title: naming=mixed (or lower)
Sorry, that would be version 0.9.4.1.
Thanks again.
-Original Message-
From: Taylor, Brent
Sent: Friday, January 24, 2003
4:33 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] naming=mixed
(or lower)
How do you configure the sourcegenerator to
I (mostly) answered my own question. Now there's a followup.
Firstly, I figured out the setClassLoader issues; I was creating the objects
in the wrong sequence, and the class loader wasn't set yet.
But one of my queries also gave me problems. The query:
db.getOQLQuery("SELECT s FROM Shop s
Title: naming=mixed (or lower)
How do you configure the sourcegenerator to map...
to woCreate.java
instead of
to WoCreate.java
I'm using 0.9.1.2
Thanks.
Hi all. I'm new to Castor; I've been reading the documentation on the
website, and also download the shop/shoptest example from the "articles"
page (URL of that example: http://www.drrockit.com/space/castorcodeexample)
I was having path problems, so I put all of the classes into a package,
co
Title: Functions supported?
Hi.
I need to call a function of my oracle database (tipically with CallableStatement)
Do I have any chance to do it?
I wrote: CALL DVB('12345') AS gen.MyObject but it didn't work.
Thanks you!!!, I have spent some hours with that.
Gus.
Because URL has no default public constructor.
When you pass it in as a root object Castor doesn't do this check (since
you can pass in an instatiated root object to the unmarshaller as well)
but when the object is embedded deeper in your class hierarchy Castor is
the one that needs to create the
If the marshalled data is incorrect, you may need to set your character
encoding in your writer to match that of the marshaller. Windows by
default uses something like Cp1251 as Alexey mentions below.
String encoding = "UTF-16";
FileOutputStream fout = new FileOutputStream("test.xml");
Writer wr
This one time, at band camp, Arnaud BOULAY said:
AB>Thanks Bruce for the previous answer.
AB>But I am wondering something :
AB>I saw some recent threads about "LockNotGrantedException" (I.E. from
AB>Charles Forsythe how have changed Castor code) and I scanned the
AB>"LockEngine.java,v 1.19 2002/12
I had a few problems.
I introduced a type in my mapping file. (
table="request_headers" should be table="request_header")
I made the RequestHeader class implement the
Persistent interface ( I don't really think this matters )
The database column size for my strings were too
small. (This wa
I am getting the following error when I try to save
a Castor JDO to db2. This works fine for mysql but I am having a problem with
db2.
java.lang.ClassCastException:
com.opendemand.jdo.RequestHeader
at org.exolab.castor.jdo.engine.JDOCallback.releasing(Unknown
Source) at
org
Try adding targetNamespace="". I think castor is using
that attribute of xsd:schema element.
Dean
Bicking, Dave B243 wrote:
Keith,
Thank you so very much for the help. Turns out I was looking at it slightly
skewed. I forgot to specify the class in the Unmarshaller constructor, so
when I
Title: Message
I am convinced this is a bug in IE6 because it
works fine in IE5 (all versions). So I have re-"upgraded" to IE
5.5.
I already did try changing the servlet responses
buffer size to 16k just to check that, but I still got the same 2048 cut off in
IE6.
Thanks for your help an
This one time, at band camp, Arnaud BOULAY said:
AB>Thanks Bruce for the answer.
AB>But I am wondering something :
AB>Il saw some recent threads about "LockNotGrantedException" (I.E. from
AB>Charles Forsythe how have changed Castor code) and scanned the
AB>"LockEngine.java,v 1.19 2002/12/27 16
Title: Message
Hi,
Then
you view code, first - you send this code to notepad (it support only ASCI, ANSI
and UTF-8), second - you cant to be sure that this code is whole code. Maybe
browser just ignore your code if it detect error in XML. Becose it read through
buffer you get code si
Hello Erik,
I am not using a mapping-file.
But I don't think that thats the problem.
The problem is (and thats the reason I put this on the developers mailing
list), that when I create an URL and marshal it straight I get a propper URL
representation in my XML file. But when I wrap an Object arou
19 matches
Mail list logo