-->
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.  [ 1 post ] 
Author Message
 Post subject: hbm2cfgxml 3.2.0-beta9 – redundant lines for subclasses
PostPosted: Thu Jan 18, 2007 2:53 pm 
Newbie

Joined: Thu Jan 18, 2007 2:37 pm
Posts: 1
Hi,

hbm2cfgxml is adding mapping resource lines for subclasses, which don’t have a mapping file included as input.

This of course renders an unusable cfg.xml file, as those mapping files do not exist.

Is it any way to modify this behavior?

Relevant portion of the output follows.

Thanks in advance

prepare:
db-create-hibernate-mapping-files:
[delete] Deleting 106 files from C:\projects\core\src\hbm
...
[hibernatedoclet] Generating mapping file for com.bps.iproject.domain.project.Step.
[hibernatedoclet] com.bps.iproject.domain.project.Step
[hibernatedoclet] com.bps.iproject.domain.project.RemediationPlanStep
[hibernatedoclet] com.bps.iproject.domain.project.TaskStep
...
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2cfgxml (Generates hibernate.cfg.xml)
[hibernatetool] Jan 18, 2007 10:20:32 AM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: Hibernate 3.2.0.cr5
[hibernatetool] Jan 18, 2007 10:20:32 AM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: hibernate.properties not found
[hibernatetool] Jan 18, 2007 10:20:32 AM org.hibernate.cfg.Environment buildBytecodeProvider
[hibernatetool] INFO: Bytecode provider name : cglib
[hibernatetool] Jan 18, 2007 10:20:32 AM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: using JDK 1.4 java.sql.Timestamp handling
...
[hibernatetool] Jan 18, 2007 10:20:35 AM org.hibernate.cfg.Configuration addFile
[hibernatetool] INFO: Reading mappings from file: C:\projects\core\src\hbm\com\bps\iproject\domain\project\Step.hbm.xml
[hibernatetool] Jan 18, 2007 10:20:35 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
[hibernatetool] INFO: Mapping class: com.bps.iproject.domain.project.Step -> Steps
[hibernatetool] Jan 18, 2007 10:20:35 AM org.hibernate.cfg.HbmBinder bindSubclass
[hibernatetool] INFO: Mapping subclass: com.bps.iproject.domain.project.RemediationPlanStep -> Steps
[hibernatetool] Jan 18, 2007 10:20:35 AM org.hibernate.cfg.HbmBinder bindSubclass
[hibernatetool] INFO: Mapping subclass: com.bps.iproject.domain.project.TaskStep -> Steps
[hibernatetool] Jan 18, 2007 10:20:37 AM org.hibernate.tool.Version <clinit>
...
[hibernatetool] INFO: Hibernate Tools 3.2.0.b9
BUILD SUCCESSFUL
Total time: 1 minute 2 seconds


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

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.