This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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