-->
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.  [ 11 posts ] 
Author Message
 Post subject: hbm2java: error unmapped class exists but not found
PostPosted: Sun Mar 13, 2005 9:32 am 
Beginner
Beginner

Joined: Mon Mar 07, 2005 9:15 am
Posts: 26
Hi,

I am attempting to generate a simple Parent -> (n) Child relationship
usng hbm2java (used in Ant) from the hbm.xml files. I get
"Association references unmapped class" error but the
java class is in fact generated.

Hibernate version:
hibernate 3.0
tools 3.0 alhpa 1

Mapping documents:
Child
.........
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping
package="pt">

<class
name="Child"
table="browser.actor"
dynamic-update="false"
dynamic-insert="false"
select-before-update="false"
optimistic-lock="version"
>

<id
name="id"
column="idactor"
type="long"
>
<generator class="sequence">
<param name="sequence">idactor_seq</param>
</generator>
</id>

<property
name="name"
type="string"
update="true"
insert="true"
access="property"
column="nameac"
/>

<property
name="email"
type="string"
update="true"
insert="true"
access="property"
column="email"
/>

<property
name="address"
type="string"
update="true"
insert="true"
access="property"
column="address"
/>

</class>

</hibernate-mapping>

Parent
...........

<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping
package="pt">

<!--
dynamic-update="false"
dynamic-insert="false"
select-before-update="false"
optimistic-lock="version"
-->

<class
name="Parent"
table="browser.typelocalactor"
>

<id
name="id"
column="idtla"
type="long"
>
<generator class="sequence">
<param name="sequence">idtla_seq</param>
</generator>
</id>

<property
name="name"
type="string"
update="true"
insert="true"
access="property"
column="nametla"
/>

<property
name="description"
type="string"
update="true"
insert="true"
access="property"
column="desctla"
/>

<!--
inverse="true"
table="browser.actor"
lazy="true"
cascade="none"
sort="unsorted"
-->
<set
name="children"
>

<key
column="typela"
>
</key>

<one-to-many
class="Child"
/>

</set>

</class>

</hibernate-mapping>
Code between sessionFactory.openSession() and session.close():
None.

Full stack trace of any exception that occurs:
generatesources:
[generatesources] Processing 2 files.
[generatesources] Building hibernate objects
[generatesources] 13:01:28,678 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
[generatesources] 13:01:28,688 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
[generatesources] 13:01:28,803 INFO Environment:456 - Hibernate 3.0rc1
[generatesources] 13:01:28,806 INFO Environment:469 - hibernate.properties not found
[generatesources] 13:01:28,810 INFO Environment:502 - using CGLIB reflection optimizer
[generatesources] 13:01:28,817 INFO Environment:532 - using JDK 1.4 java.sql.Timestamp handling
[generatesources] 13:01:28,819 INFO Configuration:239 - Mapping file: /home/hugof/workspace/hiber3/src/pt/Child.hbm.xml
[generatesources] 13:01:28,932 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
[generatesources] 13:01:28,941 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
[generatesources] 13:01:29,195 INFO HbmBinder:256 - Mapping class: pt.Child -> browser.actor
[generatesources] 13:01:29,208 DEBUG HbmBinder:1086 - Mapped property: id -> idactor
[generatesources] 13:01:29,242 DEBUG HbmBinder:1086 - Mapped property: name -> nameac
[generatesources] 13:01:29,244 DEBUG HbmBinder:1086 - Mapped property: email -> email
[generatesources] 13:01:29,248 DEBUG HbmBinder:1086 - Mapped property: address -> address
[generatesources] 13:01:29,250 INFO Configuration:844 - processing extends queue
[generatesources] 13:01:29,256 INFO Configuration:848 - processing collection mappings
[generatesources] 13:01:29,258 INFO Configuration:857 - processing association property references
[generatesources] 13:01:29,260 INFO Configuration:884 - processing foreign key constraints
[generatesources] 13:01:29,284 DEBUG ClassMapping:68 - Processing mapping for class: pt.Child
[generatesources] 13:01:29,292 INFO FieldProperty:52 - fieldname = name
[generatesources] 13:01:29,448 INFO FieldProperty:52 - fieldname = email
[generatesources] 13:01:29,450 INFO FieldProperty:52 - fieldname = address
[generatesources] 13:01:29,452 INFO Generator:96 - Generating 1 in /home/hugof/workspace/hiber3/src
[generatesources] 13:01:29,469 DEBUG Generator:124 - Writing /home/hugof/workspace/hiber3/src/pt/Child.java
[generatesources] 13:01:29,479 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
[generatesources] 13:01:29,482 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
[generatesources] 13:01:29,486 INFO Configuration:239 - Mapping file: /home/hugof/workspace/hiber3/src/pt/Parent.hbm.xml
[generatesources] 13:01:29,492 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
[generatesources] 13:01:29,498 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
[generatesources] 13:01:29,658 INFO HbmBinder:256 - Mapping class: pt.Parent -> browser.typelocalactor
[generatesources] 13:01:29,660 DEBUG HbmBinder:1086 - Mapped property: id -> idtla
[generatesources] 13:01:29,662 DEBUG HbmBinder:1086 - Mapped property: name -> nametla
[generatesources] 13:01:29,664 DEBUG HbmBinder:1086 - Mapped property: description -> desctla
[generatesources] 13:01:29,675 DEBUG HbmBinder:1086 - Mapped property: children
[generatesources] 13:01:29,678 INFO Configuration:844 - processing extends queue
[generatesources] 13:01:29,680 INFO Configuration:848 - processing collection mappings
[generatesources] 13:01:29,681 DEBUG HbmBinder:2264 - Second pass for collection: pt.Parent.children
[generatesources] org.hibernate.MappingException: Association references unmapped class: pt.Child
[generatesources] at org.hibernate.cfg.HbmBinder.bindCollectionSecondPass(HbmBinder.java:1946)
[generatesources] at org.hibernate.cfg.HbmBinder$CollectionSecondPass.secondPass(HbmBinder.java:2295)
[generatesources] at org.hibernate.cfg.HbmBinder$SecondPass.doSecondPass(HbmBinder.java:2266)
[generatesources] at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:853)
[generatesources] at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:824)
[generatesources] at org.hibernate.tool.hbm2java.CodeGenerator.parseFiles(CodeGenerator.java:115)
[generatesources] at org.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:95)
[generatesources] at org.hibernate.tool.hbm2java.Hbm2JavaTask.processFile(Hbm2JavaTask.java:145)
[generatesources] at org.hibernate.tool.hbm2java.Hbm2JavaTask.execute(Hbm2JavaTask.java:95)
[generatesources] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[generatesources] at org.apache.tools.ant.Task.perform(Task.java:364)
[generatesources] at org.apache.tools.ant.Target.execute(Target.java:341)
[generatesources] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[generatesources] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[generatesources] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[generatesources] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:377)
[generatesources] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
BUILD SUCCESSFUL

Name and version of the database you are using:
PostgreSQL 7.4

The generated SQL (show_sql=true):
None.

Debug level Hibernate log excerpt:
Please see "Full stack trace of any exception" above.

Question: how can I correct this?

TIA,
Hugo Ferreira.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 13, 2005 2:59 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
use search in this forum and you will see a lot of postings about this.....

basicaly the ant based hbm2java in the latest hibernate 3 tools is deprecated. we will have the new hbm2java in the next release.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 4:05 am 
Beginner
Beginner

Joined: Mon Mar 07, 2005 9:15 am
Posts: 26
Max,

Thanks for the reply.

I was looking into Hibernate 3 due to its "where" class tag and custom
SQL statements for insert/delete/update. I take it then that I have only
2 options:

1. Generate the classes manually
2. Use the eclipse tools

Is this correct?

Thanks once again.
Hugo Ferreira.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 4:16 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
at the moment yes. you could also try to check out hibernateext from cvs and use the new ant tasks in there.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 4:49 am 
Beginner
Beginner

Joined: Mon Mar 07, 2005 9:15 am
Posts: 26
I will first try to checkout hibernateext and see what additional support it has
and report on that.

Thanks,
Hugo Ferreira.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 5:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
look at http://opensource.atlassian.com/project ... se/HBX-112 for how to use it.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 11:27 am 
Beginner
Beginner

Joined: Mon Mar 07, 2005 9:15 am
Posts: 26
Feedback:

Downloaded CVS versions of Hibernate 3.0 and Hibernate extentions.
These were compiled and used for the experiment. These versions
seem to solve the 2 problems I had (class not found and the getter/setters
for the ide were not gernerated, please see http://forum.hibernate.org/viewtopic.php?t=939880 on latter problem).

Below I have the log. Just added this in case anyone is interested.
Please note the warnings related to velocity. I don't know if tis is related to
the condfiguration files or not (I cannot seem to add the pointer to the
configuration file in the new XML format). Will post this question in the relevant
linle (http://opensource.atlassian.com/project ... se/HBX-112).

Regards,
Hugo Ferreira.

Logg output:
---------------

Buildfile: /home/hugof/workspace/hiber3/build.xml
generatesources:
[hibernatetool] Executing org.hibernate.tool.ant.Hbm2JavaGeneratorTask@e2cb55
[hibernatetool] 15 Mar 2005 14:40:34.007 [INFO] [main] [org.hibernate.cfg.Environment] - Hibernate 3.0rc1
[hibernatetool] 15 Mar 2005 14:40:34.013 [INFO] [main] [org.hibernate.cfg.Environment] - hibernate.properties not found
[hibernatetool] 15 Mar 2005 14:40:34.019 [INFO] [main] [org.hibernate.cfg.Environment] - using CGLIB reflection optimizer
[hibernatetool] 15 Mar 2005 14:40:34.024 [INFO] [main] [org.hibernate.cfg.Environment] - using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] 15 Mar 2005 14:40:34.038 [INFO] [main] [org.hibernate.cfg.Configuration] - Mapping file: /home/hugof/workspace/hiber3/src/pt/Child.hbm.xml
[hibernatetool] 15 Mar 2005 14:40:34.143 [DEBUG] [main] [org.hibernate.util.DTDEntityResolver] - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
[hibernatetool] 15 Mar 2005 14:40:34.146 [DEBUG] [main] [org.hibernate.util.DTDEntityResolver] - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
[hibernatetool] 15 Mar 2005 14:40:34.430 [INFO] [main] [org.hibernate.cfg.HbmBinder] - Mapping class: pt.Child -> browser.actor
[hibernatetool] 15 Mar 2005 14:40:34.444 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: id -> idactor
[hibernatetool] 15 Mar 2005 14:40:34.477 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: name -> nameac
[hibernatetool] 15 Mar 2005 14:40:34.481 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: email -> email
[hibernatetool] 15 Mar 2005 14:40:34.483 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: address -> address
[hibernatetool] 15 Mar 2005 14:40:34.488 [INFO] [main] [org.hibernate.cfg.Configuration] - Mapping file: /home/hugof/workspace/hiber3/src/pt/Parent.hbm.xml
[hibernatetool] 15 Mar 2005 14:40:34.513 [DEBUG] [main] [org.hibernate.util.DTDEntityResolver] - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
[hibernatetool] 15 Mar 2005 14:40:34.518 [DEBUG] [main] [org.hibernate.util.DTDEntityResolver] - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
[hibernatetool] 15 Mar 2005 14:40:34.543 [INFO] [main] [org.hibernate.cfg.HbmBinder] - Mapping class: pt.Parent -> browser.typelocalactor
[hibernatetool] 15 Mar 2005 14:40:34.578 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: id -> idtla
[hibernatetool] 15 Mar 2005 14:40:34.582 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: name -> nametla
[hibernatetool] 15 Mar 2005 14:40:34.584 [DEBUG] [main] [org.hibernate.cfg.HbmBinder] - Mapped property: description -> desctla
[hibernatetool] 15 Mar 2005 14:40:34.739 [DEBUG] [main] [org.hibernate.tool.hbm2x.template] - CommonsLogLogSystem name is 'org.hibernate.tool.hbm2x.template'
[hibernatetool] 15 Mar 2005 14:40:34.742 [INFO] [main] [org.hibernate.tool.hbm2x.template] - **************************************************************
[hibernatetool] 15 Mar 2005 14:40:34.744 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Starting Jakarta Velocity v1.4
[hibernatetool] 15 Mar 2005 14:40:34.745 [INFO] [main] [org.hibernate.tool.hbm2x.template] - RuntimeInstance initializing.
[hibernatetool] 15 Mar 2005 14:40:34.747 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[hibernatetool] 15 Mar 2005 14:40:34.749 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Trying to use logger class org.apache.velocity.tools.generic.log.CommonsLogLogSystem
[hibernatetool] 15 Mar 2005 14:40:34.751 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Using logger class org.apache.velocity.tools.generic.log.CommonsLogLogSystem
[hibernatetool] 15 Mar 2005 14:40:34.762 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[hibernatetool] 15 Mar 2005 14:40:34.770 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
[hibernatetool] 15 Mar 2005 14:40:34.772 [INFO] [main] [org.hibernate.tool.hbm2x.template] - FileResourceLoader : initialization starting.
[hibernatetool] 15 Mar 2005 14:40:34.774 [INFO] [main] [org.hibernate.tool.hbm2x.template] - FileResourceLoader : adding path '.'
[hibernatetool] 15 Mar 2005 14:40:34.776 [INFO] [main] [org.hibernate.tool.hbm2x.template] - FileResourceLoader : initialization complete.
[hibernatetool] 15 Mar 2005 14:40:34.778 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[hibernatetool] 15 Mar 2005 14:40:34.782 [INFO] [main] [org.hibernate.tool.hbm2x.template] - ClasspathResourceLoader : initialization starting.
[hibernatetool] 15 Mar 2005 14:40:34.784 [INFO] [main] [org.hibernate.tool.hbm2x.template] - ClasspathResourceLoader : initialization complete.
[hibernatetool] 15 Mar 2005 14:40:34.798 [INFO] [main] [org.hibernate.tool.hbm2x.template] - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[hibernatetool] 15 Mar 2005 14:40:34.800 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Default ResourceManager initialization complete.
[hibernatetool] 15 Mar 2005 14:40:34.806 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[hibernatetool] 15 Mar 2005 14:40:34.818 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[hibernatetool] 15 Mar 2005 14:40:34.826 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[hibernatetool] 15 Mar 2005 14:40:34.835 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Loaded System Directive: org.apache.velocity.runtime.directive.Include
[hibernatetool] 15 Mar 2005 14:40:34.841 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[hibernatetool] 15 Mar 2005 14:40:35.177 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Created: 20 parsers.
[hibernatetool] 15 Mar 2005 14:40:35.198 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : initialization starting.
[hibernatetool] 15 Mar 2005 14:40:35.200 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : adding VMs from VM library template : VM_global_library.vm
[hibernatetool] 15 Mar 2005 14:40:35.212 [ERROR] [main] [org.hibernate.tool.hbm2x.template] - ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[hibernatetool] 15 Mar 2005 14:40:35.214 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[hibernatetool] 15 Mar 2005 14:40:35.216 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : VM library template macro registration complete.
[hibernatetool] 15 Mar 2005 14:40:35.219 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : allowInline = true : VMs can be defined inline in templates
[hibernatetool] 15 Mar 2005 14:40:35.221 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[hibernatetool] 15 Mar 2005 14:40:35.223 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[hibernatetool] 15 Mar 2005 14:40:35.225 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : messages on : VM system will output logging messages
[hibernatetool] 15 Mar 2005 14:40:35.227 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : autoload off : VM system will not automatically reload global library macros
[hibernatetool] 15 Mar 2005 14:40:35.231 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocimacro : initialization complete.
[hibernatetool] 15 Mar 2005 14:40:35.233 [INFO] [main] [org.hibernate.tool.hbm2x.template] - Velocity successfully started.
[hibernatetool] 15 Mar 2005 14:40:35.399 [INFO] [main] [org.hibernate.tool.hbm2x.template] - ResourceManager : found pojo/javaclass.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[hibernatetool] 15 Mar 2005 14:40:35.427 [WARN] [main] [org.hibernate.tool.hbm2x.template] - Warning! The iterative is an Iterator in the #foreach() loop at [0,0] in template pojo/javaclass.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.
[hibernatetool] 15 Mar 2005 14:40:35.598 [WARN] [main] [org.hibernate.tool.hbm2x.template] - Warning! The iterative is an Iterator in the #foreach() loop at [0,0] in template pojo/javaclass.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.
[hibernatetool] 15 Mar 2005 14:40:35.604 [INFO] [main] [org.hibernate.tool.hbm2x.POJOExporter] - Writing pt.Child to /home/hugof/workspace/hiber3/src/pt/Child.java
[hibernatetool] 15 Mar 2005 14:40:35.724 [INFO] [main] [org.hibernate.tool.hbm2x.template] - ResourceManager : found pojo/javaclass.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[hibernatetool] 15 Mar 2005 14:40:35.731 [WARN] [main] [org.hibernate.tool.hbm2x.template] - Warning! The iterative is an Iterator in the #foreach() loop at [0,0] in template pojo/javaclass.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.
[hibernatetool] 15 Mar 2005 14:40:35.735 [WARN] [main] [org.hibernate.tool.hbm2x.template] - Warning! The iterative is an Iterator in the #foreach() loop at [0,0] in template pojo/javaclass.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.
[hibernatetool] 15 Mar 2005 14:40:35.740 [INFO] [main] [org.hibernate.tool.hbm2x.POJOExporter] - Writing pt.Parent to /home/hugof/workspace/hiber3/src/pt/Parent.java
BUILD SUCCESSFUL
Total time: 3 seconds


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 11:57 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the velocity is just that project not understanding when to moderate their log output - can be safely ignored. will try and make it shutup!

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 1:41 pm 
Newbie

Joined: Tue Mar 15, 2005 1:24 pm
Posts: 2
Hi there,

i recently ran into the same problem describe in this thread. I am just trying to migrate to hibernate3. Can someone tell me when the fixed version of the hbm2java stuff will be released, since i can't access CVS thorugh our firewall :-(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 1:54 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
bummer firewall ,)

i expect to have a release out soon (i hope within two weeks)

-max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 15, 2005 2:06 pm 
Newbie

Joined: Tue Mar 15, 2005 1:24 pm
Posts: 2
Hi Max,

thanks for your answer. I guess I'll have to delay my migration then... ;)

Kind regards

sMiLe


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 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.