Improving issue with identity insert in postgres 8.1 dialect.  Right solution would be to use returning correctly