I think I probably need a little more details to make a suggestion, but I find it a little strange that you have an object called Property which has a City and a Transaction type. This doesn't seem very OO.
I'm not really sure of your context, but hibernate has several ways of doing inheritance (discriminators, etc). Also things like cities an typical database model may be to have a single city table and many cross reference tables that point your main object (which implies a many-to-many relationship).
I think a little more context of what you're trying to do might be helpful.
|