Pass4Test에는 전문적인 업계인사들이 Oracle 1Z0-898 (Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam) 시험문제와 답에 대하여 연구하여, 시험준비중인 여러분들한테 유용하고 필요한 시험가이드를 제공합니다. 만약 Pass4 Test의 제품을 구매하려면, 우리 Pass4Test에서는 아주 디테일 한 설명과 최신버전 최고품질의 자료를 적중율이 높은 문제와 답을 제공합니다.만약 아직도 Oracle 1Z0-898 (Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam) 인증시험 응시로 인하여 많은 시간과 정력을 소모하며 열심히 공부하고 있습니까? 아직도 어떻게 하면 Oracle 1Z0-898 (Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam) 인증시험을 빠르게 취득할 수 있는 방법을 못찿고 계십니까? 지금 Pass4Test에서 Oracle 1Z0-898 (Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam) 인증시험을 안전하게 넘을 수 있도록 대책을 내드리겠습니다. 아주 신기한 효과가 있을 것입니다. Oracle 1Z0-898 (Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam) 자료는 충분한 시험대비 자료가 될 것입니다. 안심하시고 Pass4Test가 제공하는 제품을 사용하시고, 100%통과 율을 확신합니다.다른 사이트에서도 Oracle 1Z0-898 (Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam) 인증시험 관련 자료를 보셨다고 믿습니다. Pass4Test의 자료는 차원이 다른 완벽한 자료입니다.100%통과율은 물론 Pass4Test을 선택으로 여러분의 직장생활에 더 낳은 개변을 가져다 드립니다.
NO.1 Consider a persistence application with the following orm.xml:
What will be the effect of the above orm.xml?
A.The access type for only those entities that have not explicitly specified @Access will be defaulted to
field.
B.The access type for all entities in the persistence unit will be changed to FIELD.
C.The access type for allentities specified in this orm.xmlwill be changed to FIELD.
D.The access type for only those entities defined in thisorm-xml for which access is notspecified will be
defaulted to FIELD.
Answer: D
NO.2 Entity lifecycle callback methods may be defined in which three classes.? (Choose three)
A.Embedded classes
B.Entity classes
C.Abstract classes
D.Entity listener classes
E.Mapped superclasses
F.Concrete non-entity superclasses
Answer: B,D,E
NO.3 Given the following code:
Public void create () {
try {
doA () {
} catch (PersistenceException e) {} try (doB) ();
} catch (PersistenceException e) {}
}
Calling method doA will cause an NonUniqueResultException to be thrown.Calling method doB will cause
an EntityExistsException to be thrown.
What two options describe what will happen when the create method is called within an application ' uses
container managed transactions? (Choose two)
A.Method doB will never be called.
B.The current transaction will continue after doA executes.
C.The current transaction will continue after doB executes.
D.The current transaction will be marked for rollback when doA is called.
E.The current transaction will be marked for rollback when doB is called.
Answer: C,E
NO.4 A developer wrote an entity class with the following method:
Private static Logger logger = Logger.getLogger ( ° m yLogge¡± )
@PrePersist @PreUpdate Public void doA () { Logger.info ( ° ¡± ); } @ P o s t P ersis t @ P o s t U pd ate Pu b l ic v oi
doB () { logger.info ( ° ¡± );
What will the log message contain when an application does the following?
Begins a transaction
Creates the entity
Persists the entity
Commits the transaction
Begins the entity data
Modifies the entity data
Merges the entity
Commits the second transaction
A.A A B B
B.A B A B
C.A B B A B
D.The application will throw an exception because multiple lifecycle callback annotations applied to a
single method.
Answer: B
NO.5 A developer is creating an entity which is mapped to a table that has a primary key constraint defined on
two character columns and would like to use mapping defaults as much as possible to simplify the code.
Which two mapping options can be chosen? (Choose two.)
A.Use an @id property that constructs a private field as a concatenation of two columns.
B.Use a separate class to map those two columns and use an @idclass annotation to denote I primary
key field or property in the entity.
C.Use a separate @Embeddable class to map those two columns and use an @EmbeddedId annotation
to denote a single primary key field or property in the entity.
D.Use a separate @Embeddable class to map those two column and add two fields or properties the
entity, each marked as @id, that correspond to the fields or properties in the embeddable class.
E.Use a separate class to map those two columns.Specify that class using @Idclass annotation on the
entity class.Add two fields or properties to the entity, each marked as @Id, that correspond to the fields or
properties in that separate class.
Answer: B,C
NO.6 A developer has created a deep entity class hierarchy with many polymorphic relationships between
entitles.Which inheritance strategy, as defined by the inheritanceType enumerated type, will be most
performed in this scenario?
A.Single table-per-class-hierarchy (InheritanceType.SINGLE_TABLE)
B.Joined-subclass (inheritanceType.JOINED)
C.Table-per-concrete-class (inheritanceType.TABLE_PER_CLASS)
D.Polymorphic join table (inheritanceType.POLYMORPHIC_JOIN_TABLE)
Answer: C
NO.7 A developer wants to model the grades for a student as a Map<course, integer>.Assume that Student
and Course are entitles, and that grades are modeled by integers.
Which of the following two statements are correct? (Choose two)
A.The developer can model the grades as an element collection in the Student entity.
B.The developer can model the grades as a oneToMany relationship in the Student entity.
C.The mapping for the key of the map can be specified by the @MapKeycolumn annotation.
D.The mapping for the value of the map can be specified by the @Column annotation.
Answer: A,C
NO.8 A developer has created an application managed entity manager.Which statement is correct?
A.A new persistence context begins when the entity manager is created.
B.A new persistence context begins when a new JTA transaction begins.
C.A new persistence context begins when the entity manager is invoked in the context o\ transaction.
D.A new persistence context begins when the entity manager is invoked in the context of a resource-local
transaction.
Answer: B
NO.9 Given:
Which statement is correct?
A.The method will return TRUE.
B.The method will return FALSE.
C.The method will throw an exception.
D.The order instance will be removed from the database.
Answer: C
NO.10 An application that uses pessimistic locking calls an updateData method that results in a
LockTimeoutException being thrown.What three statements are correct? (Choose three)
A.The current transaction continues.
B.The current statement continues.
C.The current transaction is rolled back.
D.The current statement is rolled back.
E.The LockTimeoutException can NOT be caught.
F.The LockTimeoutException can be caught, and the updateData method retried.
Answer: A,D,F
Oracle 1Z0-898시험덤프자료
Posted 2013/2/1 6:03:30 | Category: 미분류 | Tag: