Change sequence to native for more db cross platform.
This commit is contained in:
@@ -50,7 +50,7 @@ public abstract class PersistableEntityInteger extends AbstractPersistableEntity
|
||||
*
|
||||
* @return the instance's identity
|
||||
*
|
||||
* @hibernate.id generator-class="sequence"
|
||||
* @hibernate.id generator-class="native"
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
|
||||
@@ -50,7 +50,7 @@ public abstract class PersistableEntityLong extends AbstractPersistableEntity {
|
||||
*
|
||||
* @return the instance's identity
|
||||
*
|
||||
* @hibernate.id generator-class="sequence"
|
||||
* @hibernate.id generator-class="native"
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
|
||||
Reference in New Issue
Block a user