hi,
im using the latest castor from cvs, oracle 8.1.7 and oracle thin driver.
the castor mapping maps a blob field to stream (like recommended :-).
Writing a stream to the blob fails when more then 2kb data should be
written.
an ioexception with message "end of tns channel reached" will be thr
Hi Ozgur,
Ozgur Balsoy wrote:
>
> Keith,
>
> No problem. It's a huge package, and I don't know of a lot of things in the
> architecture.
Yes...I can imagine the architecture probably takes a while to learn. I
appreciate your initiative in trying to learn it, we can always use more
people wh
Keith,
No problem. It's a huge package, and I don't know of a lot of things in the
architecture. My patch solved my problems, but, of course, as the community
we would appreciate more generalized solutions.
Also, I'll use 'diff -u' next time.
Ozgur
-Original Message-
From: [EMAIL PROTE
Hi Ozgur,
I believe your patch is incorrect. It appears to fix the problem for
this specific example, but in reality it doesn't fix the problem and
actually causes other problems. The descriptors are already being
checked in the proper order. The XMLFieldDescriptor takes higher
priority over th
Thanks Ozgur,
I'll try out your patch here and get it committed.
--Keith
Ozgur Balsoy wrote:
>
> I have checked this bug with the today's (2/18/02) CVS copy, and it is
> still there. (http://bugzilla.exolab.org/show_bug.cgi?id=838)
>
> I think the problem is the following:
>
> In this secti
Thanks Margaret
It does the job I wanted.
Adrian
>From: "Martin, Margaret" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] How can I make an object bo become transient aft
>er I retrieved with an OQL query
>
>Adrian,
>Have you trieddoi
I have checked this bug with the today's (2/18/02) CVS copy, and it is
still there. (http://bugzilla.exolab.org/show_bug.cgi?id=838)
I think the problem is the following:
In this section (lines 951-956) of Marshaller, there are two
descriptors: descriptor and classDesc. The former belongs to th
At 8:39 PM -0500 2/18/02, Brad Cox wrote:
>PS: Might I suggest adding a readme with the instructions you sent me?
Never mind. grep -rli found a mysql.xml with the necessary magic in
the tests directory.
[bcox@linux:/castor]$ ./example.sh jdo
[test] Loading mapping descriptors from
file:/usr/lo
Thanks. Getting closer but not quite there. Exactly did you put in
your src/examples/jdo/database.xml to get it to work? I guessed
it wanted the jdbc driver class but that's apparently not it.
PS: Might I suggest adding a readme with the instructions you sent me?
http://castor.exolab.org/jdo-co
Hi Patrick,
Patrick Moore wrote:
>
> Hi Keith ---
>
> Is this information going to be able to be read from the schema file? If the
> answer is no then I will work on a patch that lets the information to be in
> the schema file.
The current answer is no. Many Schema files come from 3rd parti
This one time, at band camp, Brad Cox said:
BC>No, belay that. Tests work but examples still don't.
BC>
BC>I've tried
BC> sh build.sh all
BC> sh build.sh tests
BC> sh build.sh examples
BC>
BC> sh text.sh xml # this works
BC> sh examples.sh # this doesn't; xml/Test not found
BC
Adrian,
Have you trieddoing a read-only query?
results = oql.execute(Database.ReadOnly);
Hope this helps-
Margaret
-Original Message-
From: Adrian Nistor [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 6:26 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] How can I make an obj
I have next sequence of code:
...
AccountData account;
InitialContext ic = new InitialContext();
DataObjects jdo = (DataObjects) ic.lookup(JDO_JNDI);
Database db = jdo.getDatabase();
oql = db.getOQLQuery("SELECT a FROM AccountData a WHERE UserName=$1);
oql.bind(user);
r
At 6:55 PM -0500 2/18/02, Brad Cox wrote:
>At 6:30 PM -0500 2/18/02, Brad Cox wrote:
>>At 3:30 PM -0700 2/18/02, Bruce Snyder wrote:
>>>There are examples for Castor JDO in src/examples/jdo. In Test.java
>>>at the bottom of the file is an example of marshalling Java objects
>>>into XML. Note that
Hi Keith ---
Is this information going to be able to be read from the schema file? If the
answer is no then I will work on a patch that lets the information to be in
the schema file. The reason is that I would like to have all the information
in the schema file so that the data definition is self
At 6:30 PM -0500 2/18/02, Brad Cox wrote:
>At 3:30 PM -0700 2/18/02, Bruce Snyder wrote:
>>There are examples for Castor JDO in src/examples/jdo. In Test.java
>>at the bottom of the file is an example of marshalling Java objects
>>into XML. Note that these examples will not run properly until bein
At 3:30 PM -0700 2/18/02, Bruce Snyder wrote:
>There are examples for Castor JDO in src/examples/jdo. In Test.java
>at the bottom of the file is an example of marshalling Java objects
>into XML. Note that these examples will not run properly until being
>compiled like so:
>
> build.sh examples
17 matches
Mail list logo