mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-06 13:29:13 +00:00
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…
x
Reference in New Issue
Block a user