This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I'm generating code from database. I'm overriding existing templates to generate my custom methods. Pojo code is generated properly, but daohome.vm-code gives error:
Error ------ D:\cvs\blah\www\bin\build.xml:199: org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing t emplate templates/dao/daohome.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exc eption class java.lang.NullPointerException : null