Thanks. Really appreiate your help.
Sunit
-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 12:22 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-user] Castor connections
Kavathekar, Sunit wrote:
> The code will execute after. As you said in an earlier message, I can use my own
> DataSource implementation which does this anyway, and in fact I am doing that. I
> wanted to know if it was possible to get the JdO engine to do this immediately after
> a connection had been established.
>
> By the way, which example has constructs like AVG, SUM etc.? I would also like to
> get an example of using CALL SQL. Which specific source example has this stuff?
Sunit,
There is no manner in which to execute stored procedures via Castor immediately after
establishing a connection.
Also, there are no examples using all the SQL functions yet because not all of them
are implemented. I've been hoping to refactor the entire OQL engine for a while, but
other higher priority items continue to trump that work. As for an example of using
CALL SQL, please see the CTF-JDO test in the source download or the CVS repository:
src/tests/jdo//CallSql.java
Bruce
--
perl -e 'print
unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://incubator.apache.org/projects/geronimo.html
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a
subject of:
unsubscribe castor-user
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user