Forum: Hibernate Core and Annotations.

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

25 Days ago
User Image
Pinkki1

Newbie

Joined: Jun 3, 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 Days ago
Replies: 0 | Views: 127


No Posts Available
05-8-2018 06:01:39 PM
User Image
Deleep3776

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 22

Posts: 6

Hibernate metadatasource

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

Last edited by Deleep3776: 05-8-2018 06:15:00 PM
Replies: 0 | Views: 166


No Posts Available
28-6-2018 06:57:05 AM
User Image
Shanmukha

Newbie

Joined: Nov 22, 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-6-2018 07:00:00 AM
Replies: 0 | Views: 150


No Posts Available
09-6-2018 03:12:19 AM
User Image
Pinkki1

Newbie

Joined: Jun 3, 2018

Points: 100

Threads: 27

Posts: 4

Technical Round Interview Question

How do you handle error condition while writing stored procedure or ac... More

Last edited by Pinkki1: 09-6-2018 03:15:00 AM
Replies: 0 | Views: 212


No Posts Available
21-5-2018 10:09:57 AM
User Image
ALTAAF

Newbie

Joined: Feb 18, 2018

Points: 100

Threads: 3

Posts: 6

Answer Icon Without writing FPI(Formal Public Identifier) in hibernate.cfg.xml still works. Why?

In Hibernate, we write hibernate configuration file as More

Last edited by ALTAAF: 23-5-2018 12:40:27 PM
Replies: 1 | Views: 200
The Formal Public Identifier (FPI) also called as DTD Declaration is required for hibernat...
23-5-2018 07:16:36 AM
22-8-2017 06:12:29 PM
User Image
Eswar10

Newbie

Joined: Jul 1, 2017

Points: 110

Threads: 9

Posts: 6

Answer Icon 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: 13-5-2018 06:36:42 PM
Replies: 2 | Views: 795
1) thread - This is called current session context class. Session object we created using ...
22-8-2017 06:17:09 PM
10-4-2018 11:48:35 AM
User Image
Pritam91

Newbie

Joined: Nov 10, 2017

Points: 100

Threads: 11

Posts: 4

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-4-2018 12:00:00 PM
Replies: 0 | Views: 214


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