Package io.ebean.config
Interface IdGenerator
public interface IdGenerator
A customer Id generator that can be registered with Ebean and
assigned to @Id properties using the name attribute of @GeneratedValue.
-
Method Summary
-
Method Details
-
nextValue
Return the next Id value. -
getName
Return the name of the IdGenerator.The name is used to assign the IdGenerator to a property using
@GeneratedValue(name="myGeneratorName")
-