Forum: Hibernate Core and Annotations.

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

8 Jan, 2019 19:14
User Image
Bhargava

Newbie

Joined: 5 Oct, 2018

Points: 100

Threads: 3

Posts: 6

Answer Icon JPA annotations with persistence.xml

Anyone please tell me.  If we use JPA annotaions with Hibernate a... More

Last edited by Bhargava: 19 Days ago
Replies: 2 | Views: 313
First, you have to create orm.xml file then you can configure this file in persistent.xml....
12 Jan, 2019 13:09
7 Jan, 2019 05:47
User Image
Sreekanth3291

Newbie

Joined: 20 Apr, 2017

Points: 100

Threads: 1

Posts: 2

Custom ID generators

We have multiple pre-difined ID generators provided by the hibernate a... More

Last edited by Sreekanth3291: 7 Jan, 2019 06:00
Replies: 0 | Views: 92


No Posts Available
31 Dec, 2018 08:41
User Image
jagadish4

Newbie

Joined: 14 Oct, 2018

Points: 105

Threads: 1

Posts: 9

Proxy generation by load() method of Session

How   load(Class clazz,int primaryKey)  method of Sessi... More

Last edited by jagadish4: 1 Jan, 2019 08:15
Replies: 0 | Views: 113


No Posts Available
11 Dec, 2018 08:49
User Image
ParulG

Newbie

Joined: 25 Jul, 2018

Points: 130

Threads: 4

Posts: 4

Hibernate Interview Question

1.) Difference between load() vs get() method? 2.) Difference be... More

Last edited by ParulG: 11 Dec, 2018 09:00
Replies: 0 | Views: 198


No Posts Available
25 Sep, 2018 22:21
User Image
Pinkki1

Newbie

Joined: 3 Jun, 2018

Points: 100

Threads: 27

Posts: 4

What is the difference between JPA and Hibernate

What is the difference between JPA and Hibernate? More

Last edited by Pinkki1: 25 Sep, 2018 22:30
Replies: 0 | Views: 393


No Posts Available
5 Aug, 2018 22:01
User Image
Deleep3776

Newbie

Joined: 20 Apr, 2017

Points: 100

Threads: 28

Posts: 6

Hibernate metadatasource

What is hibernate metadatasource? How it works in hibernate 5?  More

Last edited by Deleep3776: 5 Aug, 2018 22:15
Replies: 0 | Views: 323


No Posts Available
28 Jun, 2018 10:57
User Image
Shanmukha

Newbie

Joined: 22 Nov, 2017

Points: 100

Threads: 4

Posts: 1

while persisting the associated objects why do we have to persist both associated objects

when 2 objects are associated and are being persisted in database. whi... More

Last edited by Shanmukha: 28 Jun, 2018 11:00
Replies: 0 | Views: 309


No Posts Available
<< Previous Forum | Next Forum >>