You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Zhe Liu <zl...@getsilicon.net> on 2003/10/14 04:36:21 UTC
How to bind variables when using QueryBySQL
Hi,
I understand that if I want to perform my own SQL queries in OJB, I can use
QueryBySQL. But in order to use that, I have to pass the whole constructed
SQL statement. I am wondering whether there is a way to pass prepare
statement so that I can bind variables for different criteria?
Thanks,
Zhe
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
RE: How to bind variables when using QueryBySQL
Posted by Zhe Liu <zl...@getsilicon.net>.
If this is not possible. Is it possible to write some extensions to OJB ?
Thanks,
Zhe
-----Original Message-----
From: Zhe Liu [mailto:zliu@getsilicon.net]
Sent: Monday, October 13, 2003 7:36 PM
To: ojb-user@db.apache.org
Subject: How to bind variables when using QueryBySQL
Hi,
I understand that if I want to perform my own SQL queries in OJB, I can use
QueryBySQL. But in order to use that, I have to pass the whole constructed
SQL statement. I am wondering whether there is a way to pass prepare
statement so that I can bind variables for different criteria?
Thanks,
Zhe
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org