Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Did that, and did not find anything
One of the project I am working on has following requirements,
Need to store technology names and their versions to a database and also any sub technology it might use. Sub technology is again another technology itself.
A technology may or may not have sub technologies
A technology may have more than one sub technology under it
A technology can be a sub technology for more than one parent technology.
I think this is a case of many to many self reference.
So I have two tables
Technology (TechID, Name, Version) --- The main table
TechSubTech(ParentTechID, ChildTechID) --- The link table
But how do I map this to hiberate mapping files and POJO's??
Can some one please help or tell me if it is possible to do so with hibernate or not?
[b]Hibernate version:[/b]
Hibernate 3.1