This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
and then later in some other piece of code use this object to insert time for the new record by the following code.
dQ = new dbConn.prepareStatement(sqlStmt);
int LAST_UPDATE_TIME_POSITION = 9;
java.sql.Date currDate=new java.sql.Date(currentComSubQuestion.getLastUpdateTime().getTime());
The DB2 Driver I am using is: DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09013"
with level identifier "01040107".
Informational tokens are "DB2 v220.127.116.11", "s070719", "MI00203", and Fix Pack
When I run this piece of code in the following DB version: Version:- "DB2 v18.104.22.1680", "s050502", "WR21351", and FixPak "9"
Driver :- db2jcc.jar
Driver Class :- com.ibm.db2.jcc.DB2Driver
it works perfectly fine.
I am not a pro in this and hence really need some help from the bigger brains.