Click here - / @interviewdot to get notifications. Good 45 Java Persistent API Interview Questions List
"www.InterviewDOT.com - Job Portal"
----------------------------------
Java JPA - Java Persistence API [JPA] Interview Questions And Answers :
----------------------------------------------------------------------
1.What is JPA and its key components ?
2.What are the advantages of the Java Persistence API ?
3.What are some of the main features of the Java Persistence API ?
4.What is the difference between persistence.xml and hibernate.cfg.xml ?
5.What is an EntityManager ?
6.What is an Entity ?
7.Why to use JPA - Java Persistence API ?
8.What is Embeddable classes ?
9.What is Persistent Fields ?
10.What is Persistent Properties ?
11.Explain Life Cycle of a JPA Entity ?
12.What is JPQL ?
13.Example of an Entity with Embedded class ?
14.How to Insert a record mechanism using JPA ?
15.How to fetch a record using NamedQuery ?
16.Explain "@Entity,@Table" annotations ?
17.What are the different types of "Multiplicity in Entity Relationships" ?
18.Explain "@OneToOne" mapping relationship in JPA ?
19.Explain "@OneToMany" mapping relationship in JPA ?
20.Explain "@ManyToOne" mapping relationship in JPA ?
21.Explain "@ManyToMany" mapping relationship in JPA ?
22.What is the difference between "@JoinColumn" and "mappedBy" ?
23.When to override "equals() & hashcode()" method in an Entity class ?
24.Explain "Unidirectional & Bidirectional Relationships" in JPA ? When to Use ? Its Benefits ?
25.What are the different types of cascade Operations for Entities ?
26.Explain "CascadeType.ALL" for an Entity in JPA ?
27.What is "Mapped Superclasses" ? When to use it ? Its Benefits ? [@MappedSuperclass]
28.What are the different types of "Entity Inheritance Mapping Strategies" ? [SINGLE_TABLE,JOINED,TABLE_PER_CLASS]
29.Explain "Single Table per Class Hierarchy Strategy" with example ?
30.Explain "Table per Concrete Class Strategy" with example ?
31.Explain "Joined Subclass Strategy" strategy" with example ?
32.What is "Compound Primary Keys" ? Explain ?
33.Can we have an"Entity Mapped to More Than One Database Table" ? How Explain ? [@SecondaryTable]
34.What is the annotation used to denote that the field is large object ? [@Lob]
35.What if I want to use the Java Persistence API outside of the Java EE platform ?
36.What is a JPA Entity Primary Key ?
37.Explain the "Life Cycle Methods for a JPA Entity" ? [@PrePersist,@PostPersist,@PreRemove,@PostRemove,@PreUpdate,@PostUpdate,@PostLoad]
38.What is a JPA Named (Predefined) Query ?
39.What are the different types of "Generation strategies for the values of primary keys" ?
The Auto Strategy ,The Identity Strategy ,The Sequence Strategy ,The Table Strategy
40.What is Auto Generation strategy ?
41.What is Identity Generation strategy ?
42.What is Sequence Generation strategy ?
43.What is Table Generation strategy ?
44.Explain "@SequenceGenerator" in JPA ?
@SequenceGenerator(name="seq",initialValue=1;allocationSize=100)
45.Explain "Index Management" in JPA ? [@index,@indices,@unique]
A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com
Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
Auf dieser Seite können Sie das Online-Video Good 45 Java Persistent API Interview Questions List mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Interview DOT 27 November 2013 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 645 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!