-->
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.  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Custom templates?
PostPosted: Thu May 11, 2006 5:39 am 
Regular
Regular

Joined: Mon Mar 06, 2006 6:18 am
Posts: 95
Location: Bern, Switzerland
Hi all

i want to use custom templates to generate my hibernate mapping files. So I tried to define them in my ant task:

Code:
   <hibernatetool destdir="${dest.dir}">
   
      <jdbcconfiguration
         configurationfile="conf/hibernateTools/hibernate.cfg.xml"
         revengfile="conf/hibernateTools/hibernate.reveng.xml"
         reversestrategy="hibernate.NajsReverseEngineeringStrategy"
      />   
      
      <hbmtemplate filepattern="{package-name}/{class-name}.hbm"
          templatepath="src/najsTemplates/hbm"
           template="property.hbm.ftl"
          exporterclass="org.hibernate.tool.hbm2x.HibernateMappingExporter" >
      </hbmtemplate>

      <hbm2hbmxml/>
      <hbm2java jdk5="false" ejb3="false" />
      
   </hibernatetool>


The template i wanted to use (just for testing) was property.hbm.ftl. I put in some stuff just to see if it's processing the template. When i take a look in my generated *.hbm.xml files afterwards they don't contain the things i defined in my property.hbm.ftl.

What i'm doing wrong? Is there something wrong with my ant task?

kind regards
Angela


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 10:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
ok so you are doing two calls...one to hbmtemplate and one to hbm2hbmxml.

the first one (hbmtemplate) will used property.hbm.ftl as the 'root' template and the output should be in x/y.hbm files.

the second one will generate hbm.xml's according to the templates found in hibernate-tools.jar and is controlled by the HibernateMappingExporter.

Any reason why you are trying to generate both at the same time ?

And if I understand you correctly the only thing you want is to do something different for the property.hbm.ftl, correct ?

Then just put property.hbm.ftl in e.g. src/najsTemplates/hbm/property.hbm.ftl and do this:

Code:
<hibernatetool destdir="${dest.dir}">
   
      <jdbcconfiguration
         configurationfile="conf/hibernateTools/hibernate.cfg.xml"
         revengfile="conf/hibernateTools/hibernate.reveng.xml"
         reversestrategy="hibernate.NajsReverseEngineeringStrategy"
      />   
       
     <hbm2hbmxml   
         templatepath="src/najsTemplates"/>

      <hbm2java jdk5="false" ejb3="false" />
       
   </hibernatetool>


Then hbm2hbmxml will automatically lookup its templates in src/najsTemplates first - and here hbm/property.hbm.ftl will be used and the others (which you do not need to copy) will be picked up in the hibernate-tools.jar

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 12, 2006 10:05 am 
Regular
Regular

Joined: Mon Mar 06, 2006 6:18 am
Posts: 95
Location: Bern, Switzerland
thanks for your answer max!

i just didn't understand it correctly how to define the ant task. with your solution it's working perfectly...

kind regards
angela


Top
 Profile  
 
 Post subject: Problems with generating custom daos
PostPosted: Mon May 22, 2006 5:03 am 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
Hi, I have a problem when I try to use hibernate tools to perform reverse engineering and creating Dao-classes defined by my own custom templates. If I use the JBoss IDE or my Ant task I can generate the default version, but that is not good enough for me.
I am using:
Oracle 10g
Ant-1.6.5
Eclipse Version: 3.1.2
JBoss IDE 1.6.0.GA
Hibernate 3.1.0.beta5
Spring 1.3.0

I tried everything now and i can't get it to work. My problem (I think) is that the DaoExporter do not replace the default daohome.ftl with my own defined daohome.ftl that I rebuild to generate Dao's for Spring.

Here is my Ant target:
Code:
<target name="generateHibernate" depends="compile, prepare-mapping"   
  description="Generate the files from tools *.hbm.xml Dao, and POJO's">
  <copy todir="${hibernateGenerated.dir}/xml"
     preservelastmodified="true">
     <fileset dir="${src.dir}">
       <include name="*.hbm.xml"/>
     </fileset>
  </copy>
  <hibernatetool>
   <jdbcconfiguration
     packagename="${hibernateGenerated.package}"
     configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
     revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
         
     <hbm2hbmxml destdir="${hibernateGenerated.dir}/xml"/>
     <hbm2java
      jdk5="false"
      ejb3="false"
      destdir="${hibernateGenerated.dir}/domain"
      templatepath="${root.dir}hibernate/template/pojo"
     />
         
     <hbm2dao
      jdk5="false"
      ejb3="false" 
      destdir="${hibernateGenerated.dir}"
      templatepath="${root.dir}hibernate/template/dao"
      />
  </hibernatetool>
</target>



I have also tried with:
Code:
<hbmtemplate
  filepattern="{package-name}/{class-name}.java"
  templatepath="${root.dir}hibernate/template/dao"
  template="daoimpl.ftl"         
  exporterclass="org.hibernate.tool.hbm2x.DAOExporter"
  destdir="${hibernateGenerated.dir}/dao"
/>


The only thing that happen when I run my Ant scripts is that the classes that get generated are the standard (default) Dao-class. E.g. UserHome

Can anybody help me? I have struggled with this for many, many hours now...

Thanks
Jake


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 22, 2006 7:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Try:
Code:
      templatepath="${root.dir}hibernate/template"

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 22, 2006 9:02 am 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
max wrote:
Try:
Code:
      templatepath="${root.dir}hibernate/template"


Hi Max!
Thank you, now I manage to generate the dao:s but there is one issue with it, my name in the java class is now for example CustomerDaoImpl and the file name is CustomerHome.java and not CustomerDaoImpl.java

I also want to create a Interface class for the dao class and I created a template called daointerface.ftl that I try to use. The thing is that nothing happens with this one... nothing is created....

I have rewritten my Ant build file becouse I read someware in this forum that I sholud do the generation of classes in seperate steps.

Code:
<?xml version="1.0"?>
<project name="hibernateTest" basedir="." default="compile">
   <property name="root.dir" value="C:/Dev/hibernateTest/"/>
   <property name="src.dir" value="${root.dir}/src"/>
   <property name="build.dir" value="${root.dir}/bin"/>
   <property name="hibernate-tools.dir" value="${root.dir}/lib"/>
   <property name="hibernateGenerated.dir" value="${src.dir}/com/somecompanyname/hibernateGenerated" />
   <property name="hibernateGenerated.package" value="com.investacorp.hibernateGenerated" />
   <property name="hibernate-src.dir" value="${root.dir}/hibernate"/>
   <property environment="env"/>

<!--
==========================================================================================
DEFINICIONS
==========================================================================================
-->

   <path id="hibernate_tool_path">
   <fileset dir="${hibernate-tools.dir}">
      <include name="**/hibernate-tools.jar"/>
      <include name="**/hibernate3.jar"/>
      <include name="**/freemarker.jar"/>
      <include name="**/ojdbc14.jar"/>
      <include name="**/commons-logging-1.1-RC6.jar"/>
      <include name="**/dom4j-1.6.1.jar"/>
      <include name="**/cglib-nodep-2.1_2.jar"/>
      <include name="**/ehcache-1.1.jar"/>
      <include name="**/commons-collections-2.0.jar"/>
      <include name="**/commons-lang.jar"/>
      <include name="**/Tidy.jar"/>
      
   </fileset>
   </path>
   
   <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask"
      classpathref="hibernate_tool_path"/>

<!--
==========================================================================================
ANT TASKS
==========================================================================================
-->

   <target name="compile" description="Compile RevEngStrategy.java">
      <javac destdir="${build.dir}" debug="true" optimize="false"
         deprecation="false" failonerror="true">
         <src path="${hibernate-src.dir}"/>
         <classpath refid="hibernate_tool_path"/>
      </javac>
   </target>

   <target name="prepare-mapping">
      <mkdir dir="${hibernateGenerated.dir}"/>
      <delete>
         <fileset dir="${hibernateGenerated.dir}">
         <include name="**/*.java"/>
         <include name="**/*.hbm.xml"/>
         </fileset>
      </delete>
   
      <mkdir dir="${hibernateGenerated.dir}/dao"/>
      <mkdir dir="${hibernateGenerated.dir}/domain"/>
      <mkdir dir="${hibernateGenerated.dir}/xml"/>
   </target>

   
   <target name="generateHibernateMappings" depends="compile, prepare-mapping" description="Generate the files
      from tools *.hbm.xml and creates Domain POJO's">
      <hibernatetool>
         <jdbcconfiguration
         packagename="${hibernateGenerated.package}"
         configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
         revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
         
         <hbm2hbmxml destdir="${hibernateGenerated.dir}/xml" />          
      </hibernatetool>
   </target>
   
   
   <target name="generateHibernateDomainObjects" depends="generateHibernateMappings">
      <hibernatetool>
         <jdbcconfiguration
         packagename="${hibernateGenerated.package}"
         configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
         revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
         
         <hbm2java
            jdk5="false"
            ejb3="false"
            destdir="${hibernateGenerated.dir}/domain"
            templatepath="${root.dir}hibernate/template/pojo"
         />
         
      </hibernatetool>
   </target>

   <target name="generateHibernateDaoInterfaceClasses" depends="generateHibernateDomainObjects" >
         <hibernatetool>
            <jdbcconfiguration
            packagename="${hibernateGenerated.package}"
            configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
            revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
            
            <hbmtemplate
               filepattern="{package-name}/{class-name}.java"
               templatepath="${root.dir}hibernate/template"
               template="daointerface.ftl"
               exporterclass="org.hibernate.tool.hbm2x.DAOExporter"
               destdir="${hibernateGenerated.dir}/dao">
               <property key="jdk5" value="true"/>
               <property key="ejb3" value="false"/>
            </hbmtemplate>

         </hibernatetool>
      </target>
   
   <target name="generateHibernateDaoImplClasses" depends="generateHibernateDaoInterfaceClasses" >
         <hibernatetool>
            <jdbcconfiguration
            packagename="${hibernateGenerated.package}"
            configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
            revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
            
            <hbmtemplate
               filepattern="{package-name}/{class-name}.java"
               templatepath="${root.dir}hibernate/template"
               template="daohome.ftl"
               exporterclass="org.hibernate.tool.hbm2x.DAOExporter"
               destdir="${hibernateGenerated.dir}/dao">
               <property key="jdk5" value="true"/>
               <property key="ejb3" value="false"/>
            </hbmtemplate>
            
         </hibernatetool>
      </target>
   
   
</project>



Do you have any suggestions how to solve this?
Thank you once again


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 22, 2006 6:45 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if you are using your own templates it is probably better to just use basic hbmtemplate and not use DAOExporter class at all.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 1:48 am 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
Hi Max, thank you once again for the pointers you give me. I deleted the exporterClass property in Ant and also updated the path so Ant finds the custom templates. Now my build fails and I run Ant again with the -verbose tag on it. Bellow is the important part of the log...

Also... I still do not know how to generate the right file name for the dao class I generates (see my previous posting). Can you please help me with this one to???

Code:
[hibernatetool] (freemarker.runtime                  96  )
[hibernatetool] No signature of method getJavaTypeName matches (java.lang.Object
,java.lang.Boolean)
[hibernatetool] The problematic instruction:
[hibernatetool] ----------
[hibernatetool] ==> ${c2j.getJavaTypeName(clazz.identifierProperty, jdk5)} [on l
ine 54, column 41 in daointerface.ftl]
[hibernatetool] ----------

[hibernatetool] Java backtrace for programmers:
[hibernatetool] ----------
[hibernatetool] freemarker.template.TemplateModelException: No signature of meth
od getJavaTypeName matches (java.lang.Object,java.lang.Boolean)
[hibernatetool]         at freemarker.ext.beans.MethodMap.getMostSpecific(Method
Map.java:191)
[hibernatetool]         at freemarker.ext.beans.OverloadedMethodModel.exec(Overl
oadedMethodModel.java:105)
[hibernatetool]         at freemarker.core.MethodCall._getAsTemplateModel(Method
Call.java:93)
[hibernatetool]         at freemarker.core.Expression.getAsTemplateModel(Express
ion.java:89)
[hibernatetool]         at freemarker.core.Expression.getStringValue(Expression.
java:93)
[hibernatetool]         at freemarker.core.DollarVariable.accept(DollarVariable.
java:76)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.MixedContent.accept(MixedContent.java
:92)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.IfBlock.accept(IfBlock.java:82)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.MixedContent.accept(MixedContent.java
:92)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:23
3)
[hibernatetool]         at freemarker.core.BlockAssignment.accept(BlockAssignmen
t.java:83)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.MixedContent.accept(MixedContent.java
:92)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.Environment.process(Environment.java:
176)
[hibernatetool]         at freemarker.template.Template.process(Template.java:23
1)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateHelper.processTempla
te(TemplateHelper.java:243)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateProducer.produceToSt
ring(TemplateProducer.java:67)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateProducer.produce(Tem
plateProducer.java:28)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateProducer.produce(Tem
plateProducer.java:97)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(G
enericExporter.java:112)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.exportCompon
ent(GenericExporter.java:97)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.exportClasse
s(GenericExporter.java:91)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.doStart(Gene
ricExporter.java:69)
[hibernatetool]         at org.hibernate.tool.hbm2x.AbstractExporter.start(Abstr
actExporter.java:93)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.start(Generi
cExporter.java:59)
[hibernatetool]         at org.hibernate.tool.ant.ExporterTask.execute(ExporterT
ask.java:40)
[hibernatetool]         at org.hibernate.tool.ant.HibernateToolTask.execute(Hibe
rnateToolTask.java:160)
[hibernatetool]         at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:275)
[hibernatetool]         at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool]         at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool]         at org.apache.tools.ant.Target.performTasks(Target.java:
369)
[hibernatetool]         at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1216)
[hibernatetool]         at org.apache.tools.ant.Project.executeTarget(Project.ja
va:1185)
[hibernatetool]         at org.apache.tools.ant.helper.DefaultExecutor.executeTa
rgets(DefaultExecutor.java:40)
[hibernatetool]         at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1068)
[hibernatetool]         at org.apache.tools.ant.Main.runBuild(Main.java:668)
[hibernatetool]         at org.apache.tools.ant.Main.startAnt(Main.java:187)
[hibernatetool]         at org.apache.tools.ant.launch.Launcher.run(Launcher.jav
a:246)
[hibernatetool]         at org.apache.tools.ant.launch.Launcher.main(Launcher.ja
va:67)
[hibernatetool] An exception occurred while running exporter #2:generic exporter

[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] org.hibernate.tool.hbm2x.ExporterException: Error while processi
ng template daointerface.ftl
[hibernatetool] freemarker.template.TemplateModelException: No signature of meth
od getJavaTypeName matches (java.lang.Object,java.lang.Boolean)

BUILD FAILED
C:\Dev\hibernateTest\build.xml:98: org.hibernate.tool.hbm2x.ExporterException: E
rror while processing template daointerface.ftl
        at org.hibernate.tool.ant.HibernateToolTask.reportException(HibernateToo
lTask.java:194)
        at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.ja
va:163)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.hibernate.tool.hbm2x.ExporterException: Error while processing te
mplate daointerface.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:249)
        at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplatePro
ducer.java:67)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:28)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.j
ava:112)
        at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExpor
ter.java:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporte
r.java:91)
        at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java
:69)
        at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java
:93)
        at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:5
9)
        at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
        at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.ja
va:160)
        ... 12 more
Caused by: freemarker.template.TemplateModelException: No signature of method ge
tJavaTypeName matches (java.lang.Object,java.lang.Boolean)
        at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel
.java:105)
        at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.IfBlock.accept(IfBlock.java:82)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.visit(Environment.java:233)
        at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.process(Environment.java:176)
        at freemarker.template.Template.process(Template.java:231)
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:243)
        ... 23 more
--- Nested Exception ---
org.hibernate.tool.hbm2x.ExporterException: Error while processing template daoi
nterface.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:249)
        at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplatePro
ducer.java:67)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:28)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.j
ava:112)
        at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExpor
ter.java:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporte
r.java:91)
        at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java
:69)
        at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java
:93)
        at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:5
9)
        at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
        at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.ja
va:160)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: freemarker.template.TemplateModelException: No signature of method ge
tJavaTypeName matches (java.lang.Object,java.lang.Boolean)
        at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel
.java:105)
        at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.IfBlock.accept(IfBlock.java:82)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.visit(Environment.java:233)
        at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.process(Environment.java:176)
        at freemarker.template.Template.process(Template.java:231)
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:243)
        ... 23 more


Thanks once again


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 7:45 am 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
one more thing, the line on 54 in the daointerface.ftl:

Code:
    public ${declarationName} findById( ${c2j.getJavaTypeName(clazz.identifierProperty, jdk5)} id);


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 9:28 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
stupid mini-bug :)

add a <property name="jdk5" value="false"/> and <property name="ejb3" value="false"/> under your <hbmtemplate> that will ensure that jdk5 and ejb3 is available.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 9:53 am 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
I still have the same error! My ant task:
Code:
<target name="generateHibernateDaoInterfaceClasses"  depends="generateHibernateDomainObjects" >
      <hibernatetool>
         <jdbcconfiguration
         packagename="${hibernateGenerated.package}"
         configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
         revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
         
         <hbmtemplate
            filepattern="{package-name}/{class-name}.java"
            templatepath="${root.dir}/hibernate/template/dao"
            template="daointerface.ftl"
            destdir="${hibernateGenerated.dir}/dao">
            <property key="jdk5" value="false"/>
            <property key="ejb3" value="false"/>
         </hbmtemplate>

      </hibernatetool>
   </target>


I do not understand how this works! Please help me, I am stuck and I need to finish a prototype using Hibernate, Spring etc.... this is my first time using Hibernate and Hibernate tools... so, please can you explain a little more.

I took the daohome.ftl and rebuild that for generating the interface class for my dao layer (daointerface.ftl). I rebuild the daohome.ftl to generate the Dao implementation using the Spring syntax and extends HibernateDaoSupport implements myClassDao (the generated interface)

My problems are:
1. The generated dao implementation generates the right class with methods but the class name is thill MyClassHome.java instead of MyClassDaoImpl.java that is my class name. How do I change this?

2. Is it possible to use the daohome.ftl as the template for my interface and instead of a method body generate the interface method call
Example:
Code:
public void save(AppUserRole transientInstance) {
        getHibernateTemplate().saveOrUpdate(transientInstance);
        getHibernateTemplate().flush();
    }

and for the interface:
Code:
public void save(AppUserRole transientInstance);

and in that case: How do I do that?How does the ant target look like? What do I need to change in my ant task shown above?

Thanks again


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 10:05 am 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
To clarify: I have already changed the daointerface.ftl to generate the interface method calls... that is not the problem... the problem is to make it work together.... and ofcource this class also need the name MyClassDao.java and not the MyClassHome.java file name.

I also noticed a strage behavior. I have a list of 17 tables that I need to use in my reverse engineering and if a use the ide instead of the ant task i generates all my 17 classes dor tha domain object and the mapping files. When I use the Ant and using the same hibernate.cfg.xml and hibernate.reveng.xml I only generates 16 mappingfiles and 16 domain objects (some results with an extra composite key object class) the last mapping file in the hibernate.reveng.xml (<table-filter match-name="MY_TABLE_NAME"/>) dont get processed! How do I fix this to???

Thanks again...


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 1:23 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
are you getting the *exact* same error with <property> in place ?

#1 should not happen if your filepattern is set to a value

#2 i don't understand the question ? Either you use different templates or you have an if statement in it to do different things dependent on a <property>

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 5:18 pm 
Regular
Regular

Joined: Mon May 22, 2006 4:28 am
Posts: 56
Location: Göteborg, Sweden
Hi again,
Okey, I need to be more clear. I use two files (daohome.ftl, daointerface.ftl) and I used the first one as a template for the the second one so I will get the same method names for the interface. The changes I did in the daointerface.ftl were like this:
Code:
public interface ${declarationName}Dao {

/**
    * Saves ${declarationName} to percistence store
    * @param transientInstance the object to be saved
    */
    public void save(${declarationName} transientInstance);

.... and so on.....
}


This is my Ant target method:

Code:
<target name="generateHibernateDaoInterfaceClasses" depends="generateHibernateDomainObjects" >
      <hibernatetool>
         <jdbcconfiguration
         packagename="${hibernateGenerated.package}"
         configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
         revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>
         
         <hbmtemplate
            filepattern="{class-name}Dao.java"
            templatepath="${root.dir}/hibernate/template/dao"
            template="daointerface.ftl"
            destdir="${hibernateGenerated.dir}/dao">
            <property key="jdk5" value="false"/>
            <property key="ejb3" value="false"/>
         </hbmtemplate>
      </hibernatetool>
   </target>


This is the error log in ant using -verbose

Code:
[hibernatetool] (freemarker.runtime                  96  )
[hibernatetool] No signature of method getJavaTypeName matches (java.lang.Object
,java.lang.Boolean)
[hibernatetool] The problematic instruction:
[hibernatetool] ----------
[hibernatetool] ==> ${c2j.getJavaTypeName(clazz.identifierProperty, jdk5)} [on l
ine 54, column 41 in daointerface.ftl]
[hibernatetool] ----------

[hibernatetool] Java backtrace for programmers:
[hibernatetool] ----------
[hibernatetool] freemarker.template.TemplateModelException: No signature of meth
od getJavaTypeName matches (java.lang.Object,java.lang.Boolean)
[hibernatetool]         at freemarker.ext.beans.MethodMap.getMostSpecific(Method
Map.java:191)
[hibernatetool]         at freemarker.ext.beans.OverloadedMethodModel.exec(Overl
oadedMethodModel.java:105)
[hibernatetool]         at freemarker.core.MethodCall._getAsTemplateModel(Method
Call.java:93)
[hibernatetool]         at freemarker.core.Expression.getAsTemplateModel(Express
ion.java:89)
[hibernatetool]         at freemarker.core.Expression.getStringValue(Expression.
java:93)
[hibernatetool]         at freemarker.core.DollarVariable.accept(DollarVariable.
java:76)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.MixedContent.accept(MixedContent.java
:92)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.IfBlock.accept(IfBlock.java:82)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.MixedContent.accept(MixedContent.java
:92)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:23
3)
[hibernatetool]         at freemarker.core.BlockAssignment.accept(BlockAssignmen
t.java:83)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.MixedContent.accept(MixedContent.java
:92)
[hibernatetool]         at freemarker.core.Environment.visit(Environment.java:19
6)
[hibernatetool]         at freemarker.core.Environment.process(Environment.java:
176)
[hibernatetool]         at freemarker.template.Template.process(Template.java:23
1)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateHelper.processTempla
te(TemplateHelper.java:243)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateProducer.produceToSt
ring(TemplateProducer.java:67)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateProducer.produce(Tem
plateProducer.java:28)
[hibernatetool]         at org.hibernate.tool.hbm2x.TemplateProducer.produce(Tem
plateProducer.java:97)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(G
enericExporter.java:112)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.exportCompon
ent(GenericExporter.java:97)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.exportClasse
s(GenericExporter.java:91)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.doStart(Gene
ricExporter.java:69)
[hibernatetool]         at org.hibernate.tool.hbm2x.AbstractExporter.start(Abstr
actExporter.java:93)
[hibernatetool]         at org.hibernate.tool.hbm2x.GenericExporter.start(Generi
cExporter.java:59)
[hibernatetool]         at org.hibernate.tool.ant.ExporterTask.execute(ExporterT
ask.java:40)
[hibernatetool]         at org.hibernate.tool.ant.HibernateToolTask.execute(Hibe
rnateToolTask.java:160)
[hibernatetool]         at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:275)
[hibernatetool]         at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool]         at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool]         at org.apache.tools.ant.Target.performTasks(Target.java:
369)
[hibernatetool]         at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1216)
[hibernatetool]         at org.apache.tools.ant.Project.executeTarget(Project.ja
va:1185)
[hibernatetool]         at org.apache.tools.ant.helper.DefaultExecutor.executeTa
rgets(DefaultExecutor.java:40)
[hibernatetool]         at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1068)
[hibernatetool]         at org.apache.tools.ant.Main.runBuild(Main.java:668)
[hibernatetool]         at org.apache.tools.ant.Main.startAnt(Main.java:187)
[hibernatetool]         at org.apache.tools.ant.launch.Launcher.run(Launcher.jav
a:246)
[hibernatetool]         at org.apache.tools.ant.launch.Launcher.main(Launcher.ja
va:67)
[hibernatetool] An exception occurred while running exporter #2:generic exporter

[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] org.hibernate.tool.hbm2x.ExporterException: Error while processi
ng template daointerface.ftl
[hibernatetool] freemarker.template.TemplateModelException: No signature of meth
od getJavaTypeName matches (java.lang.Object,java.lang.Boolean)

BUILD FAILED
C:\Dev\hibernateTest\build.xml:98: org.hibernate.tool.hbm2x.ExporterException: E
rror while processing template daointerface.ftl
        at org.hibernate.tool.ant.HibernateToolTask.reportException(HibernateToo
lTask.java:194)
        at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.ja
va:163)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.hibernate.tool.hbm2x.ExporterException: Error while processing te
mplate daointerface.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:249)
        at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplatePro
ducer.java:67)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:28)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.j
ava:112)
        at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExpor
ter.java:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporte
r.java:91)
        at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java
:69)
        at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java
:93)
        at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:5
9)
        at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
        at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.ja
va:160)
        ... 12 more
Caused by: freemarker.template.TemplateModelException: No signature of method ge
tJavaTypeName matches (java.lang.Object,java.lang.Boolean)
        at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel
.java:105)
        at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.IfBlock.accept(IfBlock.java:82)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.visit(Environment.java:233)
        at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.process(Environment.java:176)
        at freemarker.template.Template.process(Template.java:231)
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:243)
        ... 23 more
--- Nested Exception ---
org.hibernate.tool.hbm2x.ExporterException: Error while processing template daoi
nterface.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:249)
        at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplatePro
ducer.java:67)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:28)
        at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja
va:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.j
ava:112)
        at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExpor
ter.java:97)
        at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporte
r.java:91)
        at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java
:69)
        at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java
:93)
        at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:5
9)
        at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
        at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.ja
va:160)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: freemarker.template.TemplateModelException: No signature of method ge
tJavaTypeName matches (java.lang.Object,java.lang.Boolean)
        at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel
.java:105)
        at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.IfBlock.accept(IfBlock.java:82)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.visit(Environment.java:233)
        at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.process(Environment.java:176)
        at freemarker.template.Template.process(Template.java:231)
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe
r.java:243)
        ... 23 more


I noticed another thing... when I build the dao implementation with ant task:
Code:
<target name="generateHibernateDaoImplClasses">
      <hibernatetool>
         <jdbcconfiguration
         packagename="${hibernateGenerated.package}"
         configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
         revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>

         <hbmtemplate
            filepattern="{class-name}DaoImpl.java"
            templatepath="${root.dir}/hibernate/template"
            template="daohome.ftl"
            exporterclass="org.hibernate.tool.hbm2x.DAOExporter"
            destdir="${hibernateGenerated.dir}/dao">
            <property key="jdk5" value="false"/>
            <property key="ejb3" value="false"/>
         </hbmtemplate>   
      </hibernatetool>
   </target>

I get the MyClassDaoImpl.java as I want them, but if I try to add a package.name attribute... I will get the standard file name MyClassHome.java

Code:
<target name="generateHibernateDaoImplClasses">
      <hibernatetool>
         <jdbcconfiguration
         packagename="${hibernateGenerated.package}"
         configurationfile="${root.dir}/hibernate/hibernate.cfg.xml"
         revengfile="${root.dir}/hibernate/hibernate.reveng.xml"/>

         <hbmtemplate
            filepattern="{package-name}/{class-name}DaoImpl.java"   <--- Here is the package.name
            templatepath="${root.dir}/hibernate/template"
            template="daohome.ftl"
            exporterclass="org.hibernate.tool.hbm2x.DAOExporter"
            destdir="${hibernateGenerated.dir}/dao">
            <property key="jdk5" value="false"/>
            <property key="ejb3" value="false"/>
         </hbmtemplate>   
      </hibernatetool>
   </target>



I hope I made this a little more clear... so do you know why the interface template fails?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 5:40 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
my next guess is that the .identifierProperty is not set thus it won't find the correct method.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page 1, 2  Next

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.