[
http://jira.jboss.com/jira/browse/JBSEAM-843?page=comments#action_12354891 ]
Pierre Raoul commented on JBSEAM-843:
-------------------------------------
Without waiting for an official release, I try to work with seam-gen and jpaconfiguration
to generate crud from entity.
Thanks to the seam team great work, new versions come quickly.
But I have to made the same changes in seam code at each new version. IMO these changes
will stay in any final work.
So may I ask some of them to be integrated asap?
There are at least:
- put javaassist library in <seam_home>/hibernate/lib
- add tests of java class in the templates:
<#elseif propertyType == "timestamp" || propertyType ==
"java.util.Date">
<#elseif propertyType == "big_decimal" || propertyType ==
"java.math.BigDecimal">
<#elseif propertyType == "big_integer" || propertyType ==
"java.math.BigInteger">
<#elseif propertyType == "boolean" || propertyType == "yes_no" ||
propertyType == "true_false" || propertyType ==
"java.lang.Boolean">
<#elseif propertyType == "string" || propertyType ==
"java.lang.String">
Regards
Pierre
Generate application from existing entities
-------------------------------------------
Key: JBSEAM-843
URL:
http://jira.jboss.com/jira/browse/JBSEAM-843
Project: JBoss Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 1.1.6.GA
Reporter: Kent Lam
Assigned To: Max Andersen
Priority: Minor
Would it be great that seam-gen will generate crud pages and classes for an existing
Entity class,just like seam-gen generate the crud pages,classes and entity classes from
database.
Thanks
--
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