Hi friends,I am new to this forum so please forget me if i do something wrong.
i am inserting selected date as , .... task.setCreatedDate(createdDate);
and
taskService.saveTask(task);
in save task,
public boolean saveObject(Object object) { try { getHibernateTemplate().saveOrUpdate(object); return true; } catch (Exception e) { e.printStackTrace(); return false; } finally { } }
in that i am getting current date_time only and while update this i am able to insert date i selected, it doesn't matter at updating but at first time only current date is inserted.i am so frosted about it please help me.
|