mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-02 00:32:15 +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
|
* @return the instance's identity
|
||||||
*
|
*
|
||||||
* @hibernate.id generator-class="sequence"
|
* @hibernate.id generator-class="native"
|
||||||
*/
|
*/
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
return id;
|
return id;
|
||||||
|
@ -50,7 +50,7 @@ public abstract class PersistableEntityLong extends AbstractPersistableEntity {
|
|||||||
*
|
*
|
||||||
* @return the instance's identity
|
* @return the instance's identity
|
||||||
*
|
*
|
||||||
* @hibernate.id generator-class="sequence"
|
* @hibernate.id generator-class="native"
|
||||||
*/
|
*/
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user