]
Norman Richards updated JBSEAM-1519:
------------------------------------
Fix Version/s: 2.0.1.GA
(was: 2.0.0.CR2)
generate-entities should populate and deliver
hibernate-console.cfg.xml
-----------------------------------------------------------------------
Key: JBSEAM-1519
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1519
Project: JBoss Seam
Issue Type: Patch
Components: Tools
Affects Versions: 1.3.0.ALPHA
Environment: seam CVS HEAD
Reporter: Dan Allen
Assigned To: Max Andersen
Priority: Minor
Fix For: 2.0.1.GA
Attachments: JBSEAM-1519-v1.txt
Original Estimate: 30 minutes
Remaining Estimate: 30 minutes
When seam-gen executes the new-project command, it puts a hibernate-console.properties
file in place for the Hibernate Console Eclipse plugin. This works fine for a blank
project. However, after generate-entities executes, the Hibernate Console configuration
cannot see the new entities. For that, a Hibernate Configuration (cfg.xml) file is
required.
I have created a patch that uses <hbmtemplate /> to create a
hibernate-console.cfg.xml file with each of the entities created by generate-entities.
The only downside is that it will clobber an existing hibernate-console.cfg.xml file.
However, we could either enhance the build to be smart about this, or we just say what the
hell, this is a prototype tool so expect some clobbering.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: