On Fri, 2004-03-12 at 11:52, Jamie Jackson wrote:
> 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?

Not sure what you are trying to do, or if you are doing this already,
but you could use a PreparedStatment. Here are some examples:

http://www.fluffycat.com/java/JavaNotes-PreparedStatement.html

I assume you are hitting the database via jdbc in your classes

--
Rob <[EMAIL PROTECTED]>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to