IdentityGeneratorExtendsTest.testIdentifierGeneratorExtendsIdentityGenerator failing on Oracle DBs

Description

Oracle can't handle an insert statement with no values, which is what happens when entity has no columns except an identity column.

Hibernate:
insert
into
EntityBean

values
( )
03:09:40,752 WARN SqlExceptionHelper:129 - SQL Error: 936, SQLState: 42000
03:09:40,752 ERROR SqlExceptionHelper:131 - ORA-00936: missing expression

Workaround is to add another property to the entity so the insert has a value.

Environment

Oracle

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.8

Priority

Major