Java: Date, ISO string, and timezone

This is a convenience class around SimpleDateFormat to parse/format date from/to ISO string: yyyy-MM-dd’T’HH:mm:ssZ. The printing bit allows for timezone to be specified, which just wraps around DateFormat’s .setTimezone() method. Note that Date object in java is not timezone-specific. The Timezone conversion is required only during formatting. Usage

DateUtil.java

Details

Handling Oracle cursors in JDBC

Summary It is common practice for Oracle stored procedure to pass cursors to calling client. The client then needs to guarantee that the cursors are handled and closed properly, otherwise overtime the open cursor will accumulate into an ORA-1000 error (“ORA-1000 Maximum Number of Cursors Exceeded”) In Java world, cursor translates as ResultSet. In the…

Details

Nokia n900

Just got myself a new phone, Nokia N900 – this notes will contain a review of the phone, as well as theĀ  setup & tinkering I’ve done with this phone. Overview After trying this for about 2 weeks now, I understand why they say that the N900 is not a smartphone. It is really more…

Details