Forum: Hibernate Core and Annotations.

Hibernate Core and Annotation questions like ID Generators, Session API Methods, Mappings.

10 Days ago
User Image
Pritam91

Newbie

Joined: Nov 10, 2017

Points: 100

Threads: 6

Posts: 0

How to delete the Child records? and while updating Parent Record deleting all the Child records ?

@Entity(name = "shift") public class Shift { More

Last edited by Pritam91: 10 Days ago
Replies: 0 | Views: 39


No Posts Available
08-3-2018 04:41:05 PM
User Image
ChanduB

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 25

Posts: 14

Hibernate Real time facing issue

Thank you for your response, may be above question... More

Last edited by ChanduB: 08-3-2018 05:51:31 PM
Replies: 1 | Views: 119
08-3-2018 05:51:31 PM
22-8-2017 06:12:29 PM
User Image
Eswar10

Newbie

Joined: Jul 1, 2017

Points: 100

Threads: 3

Posts: 4

What is Hibernate Listener class and why we are using?

what is these two lines in hibernate.cf.xml file.  <propert... More

Last edited by Eswar10: 19-2-2018 06:36:53 AM
Replies: 2 | Views: 486
1) thread - This is called current session context class. Session object we created using ...
22-8-2017 06:17:09 PM
26-12-2017 05:21:50 AM
User Image
ArifKhan

Newbie

Joined: Jun 25, 2017

Points: 175

Threads: 114

Posts: 93

Answer Icon Why does Java Entity need to implement Serializable?

Why does Java Entity need to implement Serializable??? More

Last edited by ArifKhan: 19-1-2018 10:58:38 AM
Replies: 1 | Views: 369
There are different reason for this In an clustered environment the objects you...
26-12-2017 06:23:31 PM
21-4-2016 12:00:00 AM
User Image
Abhisek1424

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 1

Posts: 0

Interview Questions

Interview Questions [code] 1. Difference between annotation and inte... More

Last edited by Abhisek1424: 04-12-2017 05:46:25 PM
Replies: 5 | Views: 1026
Thanx
04-12-2017 05:46:25 PM
11-10-2017 08:16:00 PM
User Image
kgautam

Newbie

Joined: Jun 27, 2017

Points: 105

Threads: 6

Posts: 4

How to fetch data from parent table well as child table while working with table per subclass

Hi   > I have three entity classes namely 'A... More

Last edited by kgautam: 12-10-2017 01:40:03 PM
Replies: 1 | Views: 291
if you are not using joining within two tables then you can not get the data of both table...
12-10-2017 01:40:03 PM
03-10-2017 11:08:35 AM
User Image
kgautam

Newbie

Joined: Jun 27, 2017

Points: 105

Threads: 6

Posts: 4

How to generate Custom Ids in Hibernate ?

Can anyone instruct me how to generate a custom Id for a surrogate key... More

Last edited by kgautam: 04-10-2017 04:57:29 PM
Replies: 1 | Views: 260
Below code will help you... If you are using oracle as database then you can take ...
04-10-2017 04:57:29 PM
<< Previous Forum | Next Forum >>