]
Hai Nguyen commented on HBX-528:
--------------------------------
@ruixiongjian :I have the same problem, could you please tell me the wrong??
A bidirectional one-to-many association on a join table
--------------------------------------------------------
Key: HBX-528
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-528
Project: Hibernate Tools
Issue Type: Bug
Components: hbm2java
Affects Versions: 3.1beta2
Environment: hibernate3.1 Sybase12.x
Reporter: ruixiongjian
Attachments: build.xml, hibernate.properties, onetomany.rar
hbm2java:
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2java (Generates a set of .java files)
[hibernatetool] 15:32:25,687 INFO Environment:479 - Hibernate 3.1
[hibernatetool] 15:32:25,734 INFO Environment:494 - loaded properties from resource
hibernate.properties: {
hibernate.connection.driver_class=com.sybase.jdbc3.jdbc.SybDriver,
hibernate.cglib.use_reflection_optimizer=
true, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider,
hibernate.max_fetch_depth=1
, hibernate.dialect=org.hibernate.dialect.SybaseDialect,
hibernate.jdbc.use_streams_for_binary=true, hiberna
te.query.substitutions=true 1, false 0, yes 'Y', no 'N',
hibernate.proxool.pool_alias=pool1, hibernate.conne
ction.username=sa, hibernate.cache.region_prefix=hibernate.test,
hibernate.connection.url=jdbc:sybase:Tds:Ev
a:5003/DeviceManager, hibernate.connection.password=****,
hibernate.jdbc.batch_versioned_data=true, hibernat
e.connection.pool_size=1}
[hibernatetool] 15:32:25,812 INFO Environment:524 - using java.io streams to persist
binary types
[hibernatetool] 15:32:25,828 INFO Environment:525 - using CGLIB reflection optimizer
[hibernatetool] 15:32:25,843 INFO Environment:555 - using JDK 1.4 java.sql.Timestamp
handling
[hibernatetool] 15:32:26,265 INFO Configuration:264 - Reading mappings from file:
F:\testWeb\src\Child.hbm.
xml
[hibernatetool] 15:32:27,000 INFO HbmBinder:265 - Mapping class:
org.hibernate.test.onetomany.Child -> Chil
d
[hibernatetool] 15:32:27,125 INFO HbmBinder:904 - Mapping class join:
org.hibernate.test.onetomany.Child ->
ParentChild
BUILD FAILED
F:\testWeb\build.xml:101: Failed in building configuration when adding
F:\testWeb\src\Child.hbm.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: