I have a model for Ex: Library
@Entity
@Table(name = "STR_LIBRARY")
@EGSIDGenerator(sequenceName = "SEQ_ICT")
public class Library extends Auditable implements Serializable {
    private static final long serialVersionUID = -7276332695447103176L;
    @Id
    @Column(name = "ICT_ID")
    private Long id;
    @Column(name = "BOOK_ID")
    private Long bookID;
    @Column(name = "START_DATE")
    private Date startDate;
    @Column(name = "END_DATE")
    private Date endDate;
    ../getters and setters/
My RepositoryImplementation
@Repository("libraryRepo")
public class LibraryRepositoryImpl extends AbstractJPARepository
        implements LibraryBatchRepository<Library> {
    @Override
    public List<Library> saveData(List<Library> dataList) {
        // TODO Auto-generated method stub
        List<Library> savedList = new ArrayList<Library>();
        for (Library t : dataList) {
            savedList.add(getEntityManager().merge(t));
        }
        return savedList;
    }
My Client side , saves the below data but while update throws error
[{
  "bookID"              :196,
  "startDate"           :"2015-08-27",
  "endDate"             :"2015-08-27",
  "id"                  :null
 }]
whereas i am updating any field
 [{"bookID"              :196,
      "startDate"           :"2015-08-27",
      "endDate"             :"2015-08-28",
      "id"                  :201}]
throws the following error:
ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ORA-01858: a non-numeric character was found where a numeric was expected
Do i need to change the date format here?
