• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Should I memorize XML format in JPA section

 
Jair Rillo Junior
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I'm studying for SCBCD 5.0 and I've a doubt regarding XML in JPA section.

Of course I need to know how to create an Entity using annotations (@Entity, @Table, @Id and so on), but Should I also memorize how to map an entity through XML?
Looking at MZ's study guide, he shows UP the annotation and the XML as well.

Thanks in advice.
 
Nitin Takale
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

To be on safer side it's better if you do the same because according to Exam Objectives under Java Persistence API Entities section the last point is

Describe the use of annotations and XML mapping files, individually and in combination, for object-relational mapping.

So ..

It's easy once you start doing it.

Because as it is you are going to memorize annotations.. the xml elements of it are running parallel so not a problem.

But when I appeared for the exam I got most of the questions of annotations. Not even a single question on XML deployment descriptor elements.

But yes I got the questions on the location of all these mapping files and DD.


That's it..

Nitin
 
Jair Rillo Junior
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nitin,

I'll take a time to memorize them
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic