This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have strange behavior. At every restart of my application
Can print only date like: 2007-07-18 or can print full time stamp, like 2007-07-18 10:23:12 What can be a reason of that? Some internal driver change issued by some other DB operations.
Another question is which timezone the printed value will be? It seems always time zone of database server applied, when java.sql.Date.toString() used. So I need to use SimpleDateFormater with my time zone to get time printed correctly. Is it expeected behavior?