yes i think what Ashutosh is saying is correct.we had a similar problem between
java layer and db2 few days ago with sql date.One suggestion is to write a util method which sets the date to GMT noon and then use the method at each end point before sending the data.The date and hrs will not change.hope this helps.somethin like followin........
public static java.sql.Date getGMTNoon( java.util.Date dt)
{
XYZCalendar cal = new XYZCalendar(dt.getTime());
cal.setGMTNoon();
return cal.getSqlDate();
}
u can change the date type to suit ur needs.