Hibernate Tool version: 3.1.0.beta2
Name and version of the database you are using:Oracle 10g R2
Hi Guys,
During the execution of my ant task I have a warn on Velocity:
This type of warn generate java class with bad types:
private long $field.name;
Any idea ?
Full stack trace of any exception that occurs:
[exec] [hibernatetool] 206337 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoConstructors.vm [line 25,column 14] : $field.Name is not a valid reference.
[exec] [hibernatetool] 206337 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoConstructors.vm [line 25,column 28] : $field.Name is not a valid reference.
[exec] [hibernatetool] 206347 [main] INFO org.hibernate.tool.hbm2x.template - ResourceManager : found pojo/PojoPropertyAccessors.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[exec] [hibernatetool] 206367 [main] INFO org.hibernate.tool.hbm2x.template - ResourceManager : found pojo/Ejb3PropertyGetAnnotation.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[exec] [hibernatetool] 206367 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoPropertyAccessors.vm [line 11,column 21] : $property.name is not a valid reference.
[exec] [hibernatetool] 206367 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoPropertyAccessors.vm [line 14,column 54] : $pojo.getPropertyName($property) is not a valid reference.
[exec] [hibernatetool] 206367 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoPropertyAccessors.vm [line 14,column 127] : $property.Name is not a valid reference.
[exec] [hibernatetool] 206367 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoPropertyAccessors.vm [line 15,column 14] : $property.Name is not a valid reference.
[exec] [hibernatetool] 206367 [main] WARN org.hibernate.tool.hbm2x.template - org.apache.velocity.runtime.exception.ReferenceException: reference : template = pojo/PojoPropertyAccessors.vm [line 15,column 31] : $property.Name is not a valid reference.
|