Hi
I need l little favor ,could anyone please help me or point for any article related to join ,ManytoMany/one to many with annotations
I want to join 2 tables in mysql with Hibernate Annotations and Criteria
I have 2 table candidates jobs candID candName jobID jobName 1 abc 1 job1 2 xyz 2 job2
like i need to create a query in Criteria in hibernate as select candName ,jobName from candidates as c ,jobs as j where c.candID = j.jobID..
what will be the criteria query for that and most importantly what will i write in my annotation class ( as i am using spring annotations) and do i need to write anything in my applicantioncontext.xml...
Thanks I will be really great full if you can help me with this as i am struggling for last 3 days for it . thanks
|