Hi, I'm a new user for Jdbc control. I have some questions about it and hope
to get advices from jdbc control experts.
1. there's a method findCustomeByName, the logic is if only firstname passed
in, then search by firstname, if only lastname passed in, then search by
lastname, if both are passed in, then search by firstname and last name. How
can I implement this functionality in jdbc control with a method define as
findCustomerByName(String firstname, String lastname)?
2. when are onAcquire() and onRelease() methods in jdbc control exactly
invoked? If I have a page flow using a jdbc control,when the jdbc connection
is established and when it is closed?
3. Is it possible to use jdbc control in an EJB, i.e. stateless session
bean?  If yes, how can I do it? Please give me some code examples.

Thank you very much.
  
-- 
View this message in context: 
http://www.nabble.com/JDBC-control-questions-tf3270091.html#a9091777
Sent from the Beehive - Dev mailing list archive at Nabble.com.

Reply via email to