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/QueryMapper.java

    r28 r32  
    4545    private Set domainPackages; 
    4646    private Set dbClasses; 
    47     private boolean debug = true; 
     47    private boolean debug = false; 
    4848 
    4949    public QueryMapper() { 
     
    191191        domainPackages.add(domainPackage); 
    192192    } 
     193 
     194    /** 
     195     * Set debug mode, true will log all debug messages to System.out 
     196     * <p> 
     197     * Note: Use debug mode to detect problems only. It is not a general purpose logging mode. 
     198     * @param debug set true to enable debug mode 
     199     */ 
     200    public void setDebug(boolean debug) { 
     201        this.debug = debug; 
     202    } 
    193203} 
Note: See TracChangeset for help on using the changeset viewer.