I am facing problem in composite-element mapping of hibernate. My expected relation is many to many in document and task. That is a task may have multiple documents and a document may have assigned to multiple task. Relational table will contain both foregin key with additional column. In attachment I have given the tables structures.
My Task hbm file:
My document hbm file:
I have created all mapping files. My question what will be the java code for inserting in TM_TASK table as well as for TM_TASKDOCS table. And what will be the TaskDocsInfo class exactly. where I have to create the composite class instance and have to assign this instance? I have tried with the following code but fails
Please help.
Thanks in advance
Ahasan Habib
Greenhorn
Joined: May 26, 2010
Posts: 5
posted
0
Please reply anyone
Ahasan Habib
Greenhorn
Joined: May 26, 2010
Posts: 5
posted
0
No one here to help
Randeep Singh Arora
Greenhorn
Joined: May 14, 2010
Posts: 6
posted
0
send me your code and contact me at skype rsingh008.I may be able to help you out...
Ahasan Habib
Greenhorn
Joined: May 26, 2010
Posts: 5
posted
0
Hi Mr. Randeep Singh,
I have added you on skype (my id: sumon.dsl) but can not get you online. Please help.
Thanks in advance
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Hibernate relationl table with aditional column