Change sequence to native for more db cross platform.
This commit is contained in:
parent
59b3bc582d
commit
8fb3a8bf88
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue