public static java.sql.Timestamp javaDateToSQL(java.util.Date date) {
		if (date != null) {
			java.sql.Timestamp time = new java.sql.Timestamp(date.getTime());
			return time;
		} else {
			return new java.sql.Timestamp(0);
		}
	}