Hibernate version:
Hibernate3
So, I am trying to map a legacy database. We have a lot of tables which would best be mapped to List, but naturally being a legacy database, they are mapped starting with index 1 rather than 0.
In the documentation, there is the following warning:
Make sure that your index really starts from zero if you have to deal with legacy data.
My general impression is that the only way of dealing with this is to use maps, but I would really like to use Lists if at all possible. Is there a way to modify hibernate's behaviour for particular tables?
|