I am using a string for the date. Here is the statement using newDate:
PreparedStatement statementInsertDate = conn.prepareStatement(
"INSERT INTO tca_master " +
"(instidq, instid, instcd, source_id," +
"source_cd, dpmask, fyt, lyt, iname," +
"univ_dpmask, dinstid, dinstcd, tastatus," +
"last_mod_user, last_mod_date)" +
"VALUES " +
"('73', 'MIAMI', 'CAE'," +
"'002463 ',' '," +
"' ', '200402', '200206', 'ELOM UNIVERSITY'," +
"' ', ' ', ' ', ' '," +
"'CAE', '" + newDate + "')");
I am sure the approach is incorrect - I looked at NLS-DATE-FORMAT in the Oracle DB (we have no input on how that is set) and on that DB it is DD-Mon-YY so the approach I was considering is doomed to failure.
"Hibernate" is a new word to me. Other than Google searches - can you suggest a good direction to learn the concept? (It's not mentioned in "Head First Java")