Valid 1Z0-898 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-898 Exam! ExamDiscuss.com now offer the newest 1Z0-898 exam dumps, the ExamDiscuss.com 1Z0-898 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-898 dumps with Test Engine here:
A user entity is retrieved in a query and stored in an instance variable user. The user entity has a single valued name property that uses the mapping defaults, and a photo property, which is lazily loaded. The application then calls the following method: PersistenceUtil.isLoaded (user); Which two of the following statements are correct?
Correct Answer: A,F
Explanation/Reference: An entity is considered to be loaded if all attributes with FetchType.EAGER-whether explictly specified or by default-(including relationship and other collection-valued attributes) have been loaded from the database or assigned by the application. Attributes with FetchType.LAZY may or may not have been loaded. Reference: What does PersistenceUtil.isLoaded means?; javax.persistence, Interface PersistenceUtil http://docs.oracle.com/javaee/6/api/javax/persistence/PersistenceUtil.html http://stackoverflow.com/questions/10437552/what-does-persistenceutil-isloaded-means