Hibernate bit array to entity mapping
- by teabot
I am trying to map a normalized Java model to a legacy database schema using Hibernate 3.5. One particular table encodes a foreign keys in a one-to-many relationship as a bit array column.
Consider tables 'person' and 'clubs' that describes people's affiliations to clubs:
person .----.------. club: .----.---------.---------------------------.…