Forum: Hibernate Core and Annotations.

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

25 Days ago
User Image
ArifKhan

Newbie

Joined: Jun 25, 2017

Points: 175

Threads: 109

Posts: 92

Answer Icon Why does Java Entity need to implement Serializable?

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

Last edited by ArifKhan: 1 Day ago
Replies: 1 | Views: 174
There are different reason for this In an clustered environment the objects you...
24 Days ago
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: 847
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: 205
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: 188
Below code will help you... If you are using oracle as database then you can take ...
04-10-2017 04:57:29 PM
04-10-2017 04:27:33 AM
User Image
ArifKhan

Newbie

Joined: Jun 25, 2017

Points: 175

Threads: 109

Posts: 92

Custom Id Generator..

Hibernate framework has already pro... More

Last edited by ArifKhan: 04-10-2017 05:59:57 AM
Replies: 0 | Views: 199


No Posts Available
03-10-2017 03:17:31 AM
User Image
ArifKhan

Newbie

Joined: Jun 25, 2017

Points: 175

Threads: 109

Posts: 92

“dynamic-insert” and "dynamic-update"

“dynamic-insert” and "dynamic-update"  More

Last edited by ArifKhan: 03-10-2017 03:30:00 AM
Replies: 0 | Views: 128


No Posts Available
28-9-2017 07:27:45 AM
User Image
kgautam

Newbie

Joined: Jun 27, 2017

Points: 105

Threads: 6

Posts: 4

how to generate id while working with JPA Persistence

can I use hibernate provided Id generator to generate id while working... More

Last edited by kgautam: 02-10-2017 07:40:16 AM
Replies: 1 | Views: 205
Yes....... Using @GenericGenerator (annotation approch)...... EX ?@Generat...
29-9-2017 10:40:54 AM
<< Previous Forum | Next Forum >>