oracledialect专题

数据库报错:OracleDialect does not support identity key generation

当我把数据库改为oracle时,项目报错:org.hibernate.MappingException: org.hibernate.dialect.OracleDialect does not support identity key generation       是因为oracle不支持identity,支持是sequence,把  @GeneratedVal