one-to-one in hbm2hbmxml

Description

I have a class annotated with a one-to-one mapping to another class. When running the hbm2hbmxml tool the following error results:

Caused by: org.hibernate.tool.hbm2x.ExporterException: Could not find template with name: hbm/one-to-one.hbm.vm
at org.hibernate.tool.hbm2x.TemplateHelper.getTemplateName(TemplateHelper.java:180)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:138)

/Erik

Environment

Hibernate 3.2.0.cr1 Hibernate Annotations 3.1beta9 Oracle 9

Activity

Show:

Koen Aers April 29, 2016 at 10:08 AM

I am closing this issue with "Out of Date" resolution since there hasn't been any activity on it since May 17th 2006. Please feel free to reopen it if you think we can still do something about this.

Max Rydahl Andersen May 17, 2006 at 2:58 PM

yes, one-to-one is not implemented yet. contributions welcome.

And please remember to use the latest version of the tools (which uses freemarker instead of velocity) if you choose to contribute it.

Out of Date

Details

Assignee

Reporter

Bug Testcase Reminder (view)

Bug reports should generally be accompanied by a test case!

Bug Testcase Reminder (edit)

Bug reports should generally be accompanied by a test case!

Participants

Erik W. Rasmussen
Koen Aers
Max Rydahl Andersen

Affects versions

Priority

Created May 17, 2006 at 2:52 PM
Updated April 29, 2016 at 10:08 AM
Resolved April 29, 2016 at 10:08 AM