Hi all,
I'm using the Hibernate Tools 3.2.0.beta8 in myeclipse. I try to use the pojo's template myeclipse_templates to generate the java class.
I customize the PojoTypeDeclaration.vm like this :
/**
$pojo.getClassJavaDoc($render.eval($ctx, "$pojo.getDeclarationName() generated by MyEclipse - Hibernate Tools"),0)
*/
$templates.Ejb3TypeDeclaration
$pojo.getClassModifiers() $pojo.getDeclarationType() $pojo.getDeclarationName() $pojo.getExtendsDeclaration() implements RulesEO
Is the custom file correct ?
In the hibernate code generation, I check on "Use Custom templates" and select the myeclipse template folder location (the parents folder that consist of pojo, hbm and dao folder.
my problem is when I generate the java class it didn't use the template.
Do I need to do some setting to enable the custom template in myeclipse ?
|