114 Finals

Length attribute of @Column annotation permits the size of the column used to map a value particularly for a String value.
True
False
A Session is used to get a physical connection with a database.
False
True
Is name attribute of @Column annotation permits the name of the column to be explicitly specified.
True
False
Session.createCriteria creates a new Criteria instance, for the given entity class, or a superclass of an entity class
False
True
Is query level caching mandatory in hibernate?
False
True
Configuration object is used to create SessionFactory object in hibernate.
True
False
Is value of lazy loading by default?
True
False
Session.beginTransaction method begins a unit of work and returns the associated Transaction object.
False
True
The SessionFactory is heavyweight object.
True
False
Session.createSQLQuery creates a new instance of Query for the given HQL query string.
True
False
A class that is labeled as @Embedabble must also be reflected or indicated in the hibernate.cfg.xml.
False
True
Struts2 offers integrated profiling to debug and profile the application.
True
False
Struts2 is popular and mature web application framework based on the MVC design pattern.
True
False
Struts uses the DOJO framework for the AJAX tag implementation.
False
True
Combing @Id and @Transient annotations on a particular field attribute in an Entity class is valid.
True
False
For the Hibernate persistent classes, it must have a default no-argument constructor for your persistent classes and there should be getXXX() (i.e accessor/getter) and setXXX( I.e. mutator/setter) methods for all your persistable instance variables.
True
False
The name property is valid attribute of the annotation @Transient.
True
False
The SessionFactory is heavyweight object.
True
False
In which model a Java application talks directly to the data source?
Three-tier Model
Two-tier Model
One-tier Model
Four-tier Model
Struts 2 is based on technologies like ______________.
Based on JDBC and SQL technologies
Based on Java Servlets and JSP technologies.
Based on HQL and Hibernate technologies.
Based on Java MVC.
In Connection interface which method Drops all changes made since the previous commit/rollback?
Close()
Save()
Rollback()
Commit()
Which of the following is first step to create a JDBC application?
Create Connection Object
Execute SQL statements
Connect to the Database
Import the package
Which is the file that we modify that will act as the dispatcher filter?
Web.xml
Hibernate.cfg.xml
Struts.xml
None of the above.
What is the return type of the execute()?
ArrayList
Integer
String
StringArray
The ____________ which called after filters, before action methods, apply common functionalities like validation, conversion etc.
GENERATORS
STATEMENTS
INTERCEPTORS
8. What is the minimum Servlet API version that you will use to implement Struts 2 web framework?
Servlet API 2.4
Servlet API 2.3
Servlet API 2.2
Servlet API 2.5
Struts was invented by _______________
Which statements about JDBC are true?
JDBC Stands for Java Database Connectivity JDBC is an application that connects jsp to java servlets.
JDBC Stands for Java Database Connectivity JDBC is an API to access queries
JDBC Stands for Java Database Connectivity JDBC is an API to access relational databases, spreadsheets and flat files.
How can you retrieve information from a ResultSet?
By invoking the special getter methods on the resultset: getString(); getBoolean(), getClob()
By invoking the special getter methods on the resultset: getStringArray(); getArrayList(), getAttribute()
By invoking the special getter methods on the resultset: getValue(); getInt(), getList()
A JDBC driver is a software component enabling a Java application to interact with a
JSP
Servlet
Java Class
Database
Which type of Statement can execute parameterized queries?
CreateStatement
PreparedStatement
Statement
Which of the following statements is/are false as far as different type of statements is concerned in JDBC?
ConnectionPool
Datababase
Statements
Which of the following methods are needed for loading a database driver in JDBC?
RegisterDriver() method Class.forName()
Driver() method Class.Name()
RegisterDriver() Class.Name()
Which of the following holds data retrieved from a database after you execute an SQL query using Statement objects?
ArrayList
String
ResultSet
Which of the following is/are not a component/class of JDBC API? Interim Statement Which packages contain the JDBC classes?
Hibernate / struts
Java.sql / Javax.sql
Jsp / servlet
Which of the following is correct about the Model Objects?
The current model object is placed after the action on the value stack.
The current model object is placed before the action on the value stack.
Which of the following is not a part of Struts architecture?
Struts.xml
@Entity
MDBs
Which of the following tag generates an iterator based on the val attribute supplied?
Generator Tag
Bean tag
Url tag
Which method is used to remove a persistent instance from the datastore?
Session.delete()
Session.create()
Session.add()
Annotation that defines a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.
@Element
@Embeddable
@Id
How many types of data in the @Temporal type annotation?
2
1
4
3
Which of the following are most common configuration methods of Hibernate Configuration?
XML Config with hibernate.cfg.xml
XML Config with struts.xml
What is the root level element in a hibernate mapping file?
{"name":"114 Finals", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Length attribute of @Column annotation permits the size of the column used to map a value particularly for a String value., A Session is used to get a physical connection with a database., Is name attribute of @Column annotation permits the name of the column to be explicitly specified.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}

More Quizzes

Tom Sawyer Quiz
100
STRATEJİK YÖNETİM 2 (E. Berberoğlu )
95480
Allison's Baby Shower
10517
Fair Trial and Legal Representation
5223
Common Entrance Vocational Studies (Quiz 14)
1050
Hong Kong/Macau Quiz
1470
Pasta Types
8417
Genius among genius
320
How to use Hack for Merge Dungeon - Free Diamonds on iOS/Android-- GET IT HERE NOW  ----   Merge Dungeon Cheats is a tool for hot new game. Merge Dungeon Cheats are the best cheats on the internet. Why? Because It has all you need to become the best player in Merge Dungeon alive. Yeah thats right, you can download it now on our site and become the best in just a few moments and all of that is for free. Use this great new version of Merge Dungeon Cheats to add amazing new elements to the gameplay of Merge Dungeon. Get unlimited free Diamonds just like you always wanted. Use your new powers to get free Diamonds in Merge Dungeon and much much more. For example you can also Unlock Everything and get free Diamonds how much you want.   Follow this Merge Dungeon Guide and you will not have any errors when using this Cheats. Have I mentioned one of the biggest strengths of this Merge Dungeon Cheats. That is it's safety. Many critical systems have been upgraded for this version of the Cheats. Log cleaner, Anti Ban and Proxy System have all received vital upgrades and will guard your device from bans and tracks so you can generate free Diamonds freely. So what do you think about Merge Dungeon hack tool? Downloading it wil get you unlimited Diamonds so what are you waiting for. Read instructions below they are importent. Beta testers will get premium access to all hack tool we create. Thanks again you are the reason we create hack tools heart emoticon !!!   If you have any problems trying to activate and use our Merge Dungeon Hack Tool than read below what I have to say and follow the instrucions. First you must make sure that all applications and games have been closed on your device. After that you must navigate to the Merge Dungeon Online Hack page by clicking on the appropriate button on this site. Before you start genearting items and resources, you need to make sure that you have closed the game on your device. Enter your username or email address. Make sure you don't make any spelling mistakes while entering it. You will see empty fields where you have to enter desired amount of Diamonds that you would like to add to your Merge Dungeon account. Now you only have to click Generate and wait a few seconds. After that is done you might be asked to prove that you are human and not a spammer. You might gat asked to do it in a variety of ways such as captcha, email confirmation etc. After you prove that you are human your items will be added to your Merge Dungeon account.     Merge Dungeon 2020 hack Diamonds Merge Dungeon 2020 mod apk Merge Dungeon hack Diamonds Merge Dungeon hack no survey Merge Dungeon cheats Merge Dungeon 2020 hack apk ios Merge Dungeon 2020 hacks Merge Dungeon 2020 online hack Merge Dungeon 2020 cheats new hack for Merge Dungeon Merge Dungeon 2020 hack Diamonds Merge Dungeon hacks Merge Dungeon 2020 cheat  
100
EmberJS Bulgaria first meetup
420
Managing new product development projects
15818
What character are you? (Yandere by Itz_Midnight)
10510
Powered by: Quiz Maker