-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: <hbm2dao> ... getJavaTypeName() error
PostPosted: Wed Aug 09, 2006 11:37 am 
Beginner
Beginner

Joined: Wed Aug 09, 2006 11:26 am
Posts: 20
Hi everybody,

I use the following target to generate daos:

<target name="hbm2dao">
<hibernatetool destdir="${src}">
<configuration configurationfile="${src}/hibernate.cfg.xml"/>
<hbm2dao/>
</hibernatetool>
</target>

Only a few daos get generated when i get the exception:

[hibernatetool] An exception occurred while running exporter #2:hbm2dao (Generates a set of DAOs)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] org.hibernate.tool.hbm2x.ExporterException: Error while processing template daohome.ftl
[hibernatetool] freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Object,java.lang.Boolean)

I use hibernate3.1, HibernateTools-3.2.0.beta6 and oracle 10g
Any idea how to solve this?
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 2:12 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
ask in the tools forum.

please run ant with -verbose to get the full stacktrace and if you can show a minimal testcase (e.g. the input hbm.xml file) that makes it occur.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 3:26 am 
Beginner
Beginner

Joined: Wed Aug 09, 2006 11:26 am
Posts: 20
Thanks for replying max

I added a new post in the tools forum with the full stack trace.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.