-@Table(name="PolicyEntity", indexes = {@Index(name="scope", columnList="scope", unique=false),
- @Index(name="policyName", columnList="policyName", unique=false)},
- uniqueConstraints=@UniqueConstraint(columnNames={"policyName", "scope"}))
-
-//Using a sequence generator because the value is available as soon as the
-//the object is persisted. That is, you don't have to flush/commit to the DB.
-//@SequenceGenerator(name="seqPolicy", initialValue=1, allocationSize=1)