0

I have a hibernate generated entity

 @SuppressWarnings("serial")
 @Entity
 @Table(name="SOME_NAME")
 public class SomeName  implements java.io.Serializable
 { ...

It has an id generator that auto-generates an id for rows inserted into the table: @GenericGenerator(name="some.group.name.entity.SomeNameIdGenerator", strategy="some.group.name.util.UuidStringIdentifierGenerator")@Id @GeneratedValue(generator="some.group.name.entity.SomeNameIdGenerator") ...

Is there a way to suppress or turn off this id generator? I tried to just remove the line, but then it causes my .war file to not deploy.

user840930
  • 5,214
  • 21
  • 65
  • 94

0 Answers0