Is it possible to modify CodeGenerator tool so that when I have property
type set to "true_false" or "yes_no" and name set to "something" eg.:

<property name="something" column="something" type="true_false"
not-null="true" unique="false"/>

to generate something like this:

    public boolean isSomething() {
        return this.something;
    }

    public void setSomething(boolean something) {
        this.something = something;
    }

Currently it generates getter eg.:

    public boolean getSomething() {
        return this.something;
    }

Kind Regards
Aapo Laakkonen



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to