BatooOrg/BatooJPA — pull request #118 by barreiro (2012-12-06 17:41:49+00:00)
Title: Improve handling of inherited entities

I improved community test8 to include simple entity inheritance. In order to make it pass I had to introduce 3 other fixes:

* Fix for the "Duplicate Version Attributes" exception
* Allow read-only access to the discriminator column, and to columns already defined in general
* Fix for fetching children when the discriminator is of Integer type. Although I consider that storing discriminatorValue as an Object would be a better fix, it would be much more complex due to the way that that information is stored.

Test-suite is green after this changes.
Regards,