mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#694 - Refactor - Rename IdGenerator to PlatformIdGenerator ... with a view to support customer Id generators
This commit is contained in:
1 parent
2b602f6e51
commit
036092d470
14 files changed
+25
-27
No files matched your search
@@ -3,12 +3,12 @@ package com.avaje.ebeaninternal.server.idgen;
|
||||
import java.util.UUID;
|
||||
|
||||
import com.avaje.ebean.Transaction;
|
||||
import com.avaje.ebean.config.dbplatform.IdGenerator;
|
||||
import com.avaje.ebean.config.dbplatform.PlatformIdGenerator;
|
||||
|
||||
/**
|
||||
* IdGenerator for java util UUID.
|
||||
*/
|
||||
public class UuidIdGenerator implements IdGenerator {
|
||||
public class UuidIdGenerator implements PlatformIdGenerator {
|
||||
|
||||
/**
|
||||
* Return UUID from UUID.randomUUID();
|
||||
@@ -38,6 +38,4 @@ public class UuidIdGenerator implements IdGenerator {
|
||||
// ignored
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user