Hi All,

Here is my Java class that I am using to debug JDBC PreparedStatement.

/* ---------DebugLevel  -------------------------*/
package com.javaunderground.jdbc;

/**
 * Title:
 * Description:
 * Copyright:    Copyright (c)
 * Company:
 * @author
 * @version 1.1
 */

public class DebugLevel {

    //private constructor keeps all instances within class
    public DebugLevel(){
    }

    //only allowed values for debugging
    /**
     * Turn debugging off
     */
    public static DebugLevel OFF     = new DebugLevel();

    /**
     * Turn debugging on
     */
    public static DebugLevel ON      = new DebugLevel();

    /**
     * Set debugging to verbose
     */
    public static DebugLevel VERBOSE = new DebugLevel();
}

Now I what I am looking for is to load this class using remote method
instead of putting it in CF path. This statement works if the class is
located in the CF path

debuglevel = createobject('java','com.javaunderground.jdbc.DebugLevel').ON>

However I am not sure how would I load it using method listed on
Spike's post about the same topic or this udf

http://www.cflib.org/udf.cfm?ID=1164

Any thoughts ?

TIA

Qasim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to