Discussion:
[Middlegen-user] Singular classname
Carlos Kozuszko
2004-04-20 18:57:07 UTC
Permalink
I want to change the name of the clases that middlegen generates for
hibernate mappings. I understand that using a <table> definition I can
declare the singular and plural values like this:

<table generate="true" name="fabricantes" singular="fabricante"
plural="fabricantes" />

But when i run the ant task the generated name for the class is "Fabricant"
disregarding what i've defined in build.xml

Is there any other consideration I shoud have ?

Thanks in advance,

Carlos Kozuszko

Loading...