Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-494

import java.lang.Override;@Entity public class ProductOrder implements java.io.Serializable {

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bsutter@redhat.com Burr Sutter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: