Latest Answer: Thread is dispatchable unit of work and Process is group of inter related threads. So when you start more than one process in single JVM, JVM will give default priority to all threads. If you want alter the default priorities of thread or if you want ...
Latest Answer: Use PreparedStatement when you execute the same statement more than once. Use CallableStatement(stored procedure) when you want result from multiple and complex statements for a single request. ...
Latest Answer: The connection object is still active, meaning it is ready to execute another statement. ...
Latest Answer: BLOB(Binary Large Object) and CLOB(CharacterLargeObject) are SQL2 datatypes, which are introduced in JDBC 2.0 version. Suppose you have a requirement like, you want to store your content of resume(large data), then go for BLOB. By using BLOB, ...
How to connect to d/b which is present in excel or any spread sheet application using jdbc. I was able to establish a connection using the Type1 driver, but I was unable to extract(select) the data from the excel sheet.
Latest Answer: Statement: to execute a single query one timepreparedstatement: to execute a single query multiple times(here the statement will be precompiled and will get good performance)Collable statement : to execute multiple query multiple times(we are using ...
Latest Answer: Hello, Yes , U can use two Class.forName() as Drivermanager keeps array internally to store the Drivernames so whichever come first will we loaded & used.Regards, Ms.Supriya Ahire ...
Latest Answer: DriverManager.registerDriver(new Oracle:jdbc:OracleDriver());Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "scott", "tiger"); ...
Latest Answer: This is from orqfaq.comimport java.sql.*;class dbAccess { public static void main (String args []) throws SQLException { DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver()); Connection conn = DriverManager.getConnection ...
Latest Answer: Hello All, Types of Resultsets are 1)TYPE_FORWARD_ONLY 2) TYPE_SCROLL_INSENSITIVE 3)TYPE_SCROLL_SENSITIVE DEFAULT Type of resultset is TYPE_FORWARD_ONLY. Regards, Ms.Supriya Ahire ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top