Bugfixes Groupdef table name

master
Markus Kreth 7 years ago
parent 074f1b531d
commit 7616c6bf89
  1. 6
      src/main/java/de/kreth/vaadin/clubhelper/vaadinclubhelper/data/GroupDef.java

@ -15,10 +15,10 @@ import javax.persistence.Table;
* The persistent class for the groupDef database table. * The persistent class for the groupDef database table.
* *
*/ */
@Entity(name = "groupDef") @Entity
@Table(name = "groupDef") @Table(name = "groupdef")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@NamedQuery(name = GroupDef.QUERY_FINDALL, query = "SELECT g FROM groupDef g") @NamedQuery(name = GroupDef.QUERY_FINDALL, query = "SELECT g FROM GroupDef g")
public class GroupDef extends BaseEntity implements Serializable { public class GroupDef extends BaseEntity implements Serializable {
public final static String QUERY_FINDALL = "GroupDef.findAll"; public final static String QUERY_FINDALL = "GroupDef.findAll";

Loading…
Cancel
Save