Burr Sutter created FORGE-494:
---------------------------------
Summary: import java.lang.Override;@Entity public class ProductOrder
implements java.io.Serializable {
Key: FORGE-494
URL:
https://issues.jboss.org/browse/FORGE-494
Project: Forge
Issue Type: Bug
Environment: Mac OS X Lion
Reporter: Burr Sutter
When creating entities, I notice that Forge puts the @Entity line on the same physical
line as the last import statement:
import java.lang.Override;@Entity public class ProductOrder implements
java.io.Serializable {
import java.lang.Override;@Entity public class Item implements java.io.Serializable {
import javax.persistence.TemporalType;@Entity public class Customer implements
java.io.Serializable {
commands are:
persistence setup --provider HIBERNATE --container JBOSS_AS7
entity --named Customer --package ~.model
field string --named firstName
field string --named lastName
field temporal --type DATE --named birthDate
entity --named Item
field string --named name
field number --named price --type java.lang.Double
field int --named stock
entity --named ProductOrder
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira