Ignore:
Timestamp:
Oct 21, 2011, 3:37:55 PM (13 years ago)
Author:
fmguler
Message:

Fixed typed criteria method parameters from Criteria.eq(String attribute, String value) to eq(String attribute, Object value). They accept values of any type, e.g. int, string, date.

Turned off debug messages by default. They can be enabled by setting Ven.setDebug(true).

Updated to Netbeans 7.0.1, which updated build-impl.xml, nothing to do with functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fmgVen/src/com/fmguler/ven/QueryGenerator.java

    r28 r32  
    3636    private Set domainPackages; 
    3737    private Set dbClasses; 
    38     private boolean debug = true; 
     38    private boolean debug = false; 
    3939 
    4040    public QueryGenerator() { 
     
    237237        domainPackages.add(domainPackage); 
    238238    } 
     239 
     240    /** 
     241     * Set debug mode, true will log all debug messages to System.out 
     242     * <p> 
     243     * Note: Use debug mode to detect problems only. It is not a general purpose logging mode. 
     244     * @param debug set true to enable debug mode 
     245     */ 
     246    public void setDebug(boolean debug) { 
     247        this.debug = debug; 
     248    } 
    239249} 
Note: See TracChangeset for help on using the changeset viewer.