hibernate/hibernate-core — pull request #243 by amorfis (2012-01-04 23:41:00+00:00)
Title: HHH-6580 Discriminator value used as ID when inserting entity to PosgtreSQL

I fixed this bug and I'd love it fixed in hibernate repository.

This is my first pull request, so I expect some criticism, which is welcome.