Beruflich Dokumente
Kultur Dokumente
Which of the following are most common configuration methods of Hibernate Configuation?
A. persistence.xml
B. http.conf
C. hibernate.cfg.xml
Question 2 of 20
B. connection.url
C. oracle_dialect
D. None of above
Question 3 of 20
Once hibernate creates a table for an Object we cannot add a property to the class for saving
again
A. Always True
C. Always False
D. None of above
Question 4 of 20
B. Trainee.xml
C. Trainee.hbm.xml
D. Trainee.hbm
Question 5 of 20
Question 6 of 20
B. Java
C. Assembly language
D. Ruby
Question 7 of 20
C. Both
Question 8 of 20
B. CHAR
C. VARBINARY
D. CLOB
Question 9 of 20
Question 10 of 20
Which of the following is NOT a step in the Hibernate communication with RDBMS?
A. Get one session from the session factory
Question 11 of 20
D. Is native SQL
Question 12 of 20
D. None
Question 13 of 20
Question 14 of 20
all
Question 15 of 20
Mapping Java classes to database tables is accomplished through the configuration file
A. Xhtml
B. Html
C. Xml
D. Properties
Question 16 of 20
B. lazy=true
C. lazy=yes
D. lazy=fasle
Question 17 of 20
B. @V
C. @Release
D. @Lock
Question 18 of 20
B. <session-mapping>
C. <sessionfactory-mapping>
Question 19 of 20
B. Session.remove()
C. Session.load()
D. Session.saveorupdate()
E. Session.save()
Question 20 of 20
When several entities points to the target entity, that is achieved by?
A. @ManyToMany
B. @ManyToOne
C. @OneToOne