Change sequence to native for more db cross platform.

This commit is contained in:
Matthew Porter 2005-04-09 01:28:23 +00:00
parent 59b3bc582d
commit 8fb3a8bf88
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;