posted 13 years ago
Hi Mr. Srinivas,
Hope that all is well.
I have a question regarding Hibernate using aliases. I found a problem when trying to use a hash map
to specify an alias that has more than two levels.
For example, if I have a composite id in an object as id of that class type. Then definining the alias is ok as:
However, I haven't found a way to make things work if if the id has itself an id or an element that is composite
and defined in a class.
In other words, the alias seems to work when there are three levels deep since it allows us to combine two of
those levels, and just have one dot which seems to be what Hibernate tolerates. If we are dealing with more than
three levels, then we seem to be limited since we can only combine two levels and have one dot.
Could you share some light in how to deal with this situation? Thanks.
Have a great day.
Best regards,
Rudi