[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1519) generate-entities should populate and deliver hibernate-console.cfg.xml
Dan Allen (JIRA)
jira-events at lists.jboss.org
Wed Jun 20 23:42:51 EDT 2007
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
Priority: Minor
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list