Yes indeed -- in Java - PreparedStatement is your friend!  Meet it!  Get
Chummy with it!
  -----Original Message-----
  From: Jamie Jackson [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 12, 2004 11:53 AM
  To: CF-Talk
  Subject: OT: <cfqueryparam> analog in Java

  I had the (not so?) bright idea of using Java as the Model in an MVC
  app (with CF for the View and Controller). I started to program the DB
  layer, and rediscovered, by contrast, how easy CF made every aspect of
  queries, especially the functionality handled by <cfqueryparam>. What
  that single tag does with NULLs, single-quoting, data binding, special
  character escaping by DB type, inherent security, etc., is pretty darn
  remarkable.

  As I sit here second-guessing the Java decision, I'm wondering if
  there's anything remotely as high-level as <cfqueryparam> in the Java
  world. Does anybody know?

  Thanks,
  Jamie
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to