[OT] Re: SQL

2005-02-16 Thread Erik Weber
I don't know if there is an easier or more driver-independent way, but 
some JDBC drivers have a debug mode that can be enabled. Sorry, I don't 
have any specifics for you.

Erik
CRANFORD, CHRIS wrote:
This may be slightly off-topic but I'm sure others may have ran into this 
issue.  If I have created a CallableStatement object using a SQL string, is 
there anyway to retreive that SQL string from the CallableStatement object ?
___
Chris Cranford
Programmer/Developer
SETECH Inc.  Companies
6302 Fairview Rd, Suite 201
Charlotte, NC  28210
Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 
Email: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Re: SQL

2005-02-16 Thread Martin Gainty
I concur with Erik..
The only thing I can add is to Trap the SQL Statement and store in session 
variable or bean property before you do the CallableStatement.execute..that 
way you can reference the string later on.
HTH,
Martin-
- Original Message - 
From: Erik Weber [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, February 16, 2005 9:12 AM
Subject: [OT] Re: SQL


I don't know if there is an easier or more driver-independent way, but some 
JDBC drivers have a debug mode that can be enabled. Sorry, I don't have any 
specifics for you.

Erik
CRANFORD, CHRIS wrote:
This may be slightly off-topic but I'm sure others may have ran into this 
issue.  If I have created a CallableStatement object using a SQL string, 
is there anyway to retreive that SQL string from the CallableStatement 
object ?

___
Chris Cranford
Programmer/Developer
SETECH Inc.  Companies
6302 Fairview Rd, Suite 201
Charlotte, NC  28210
Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 Email: 
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]