Errors when using GenerationType.IDENTITY on PostgreSQL, when entity has more than one column

Description

This entity:

With this test:

Fails with this error on PostgreSQL 9.1:

Interestingly, it works if TestEntity has only just the id column. As soon as I add another column, e.g. foo, it fails.

Environment

Ubuntu 14.04, 64bit, Java 7, Postgres 9.1

Assignee

Unassigned

Reporter

Karl M. Davis

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure