Category : JDBC Questions

JDBC Interview Questions -5

How does the JDBC work? The Java Database Connectivity (JDBC) is used to whenever a Java application should communicate with a relational database for which a JDBC driver exists. Main JDBC classes: DriverManager. Manages a list of database drivers. Driver. …

Read more »

JDBC Interview Questions -4

How can we convert a java.sql.Timestamp to a java.util.Date? While Timesteamp extends Date, it stores the fractional part of the time within itself instead of within the Date superclass. If you need the partial seconds, you have to add them …

Read more »

JDBC Interview Questions -3

What is a data source ? A DataSource class brings another level of abstraction than directly using a connection object. Data source can be referenced by JNDI. Data Source may point to RDBMS, file System , any DBMS etc Explain …

Read more »

JDBC Interview Questions -2

How do you create JDBC statements ? Connection con = null; Statement st = null; // Obtain connection here st = con.createStatement(); ResultSet rs = null; rs = st.executeQuery(“SELECT * FROM users”); int recordsUpdated; recordsUpdated = st.executeUpdate(“DELETE FROM users WHERE …

Read more »

JDBC Interview Questions -1

Explain what do you mean by JDBC? Short for Java Database Connectivity, a Java API that enables Java programs to execute SQL statements. This allows Java programs to interact with any SQL-compliant database. Since nearly all relational database management systems …

Read more »

Ajax    EJB   Hibernate   JavaScript   JDBC   JMS   JSP   XML    SOA   Web Service   Servlets   Spring   JSF   Struts   SAP Tutorial  Software Testing Tutorials  PDF Tutorials   SAP Training Help  J2EE

Sitemap   Follow j2eetutorial on Twitter    

Δ Top