@Override public Date getDate(Calendar calendar) throws SQLException { try { return delegate.getDate(calendar); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
@Override public Date getDate(Calendar calendar) throws SQLException { try { return delegate.getDate(calendar); } catch(RuntimeException e) { String message = e.getMessage(); if (message != null && message.startsWith("cannot convert to")) { throw new SQLException(e.getMessage(), e); } throw e; } }
return accessor.getBlob(); case Types.DATE: return accessor.getDate(localCalendar); case Types.DECIMAL: case Types.NUMERIC:
return accessor.getBlob(); case Types.DATE: return accessor.getDate(localCalendar); case Types.DECIMAL: case Types.NUMERIC:
return accessor.getBlob(); case Types.DATE: return accessor.getDate(localCalendar); case Types.DECIMAL: case Types.NUMERIC:
public Date getDate(String columnLabel, Calendar cal) throws SQLException { return getAccessor(columnLabel).getDate(cal); }
public Date getDate(int columnIndex, Calendar cal) throws SQLException { return getAccessor(columnIndex).getDate(cal); }
public Date getDate(int columnIndex) throws SQLException { return getAccessor(columnIndex).getDate(localCalendar); }
public Date getDate(int columnIndex, Calendar cal) throws SQLException { return getAccessor(columnIndex).getDate(cal); }
public Date getDate(String columnLabel, Calendar cal) throws SQLException { return getAccessor(columnLabel).getDate(cal); }
public Date getDate(String columnLabel) throws SQLException { return getAccessor(columnLabel).getDate(localCalendar); }
public Date getDate(int columnIndex) throws SQLException { return getAccessor(columnIndex).getDate(localCalendar); }
public Date getDate(String columnLabel) throws SQLException { return getAccessor(columnLabel).getDate(localCalendar); }
public Date getDate(int columnIndex, Calendar cal) throws SQLException { return getAccessor(columnIndex).getDate(cal); }
public Date getDate(String columnLabel) throws SQLException { return getAccessor(columnLabel).getDate(localCalendar); }
public Date getDate(String columnLabel, Calendar cal) throws SQLException { return getAccessor(columnLabel).getDate(cal); }
public Date getDate(int columnIndex) throws SQLException { return getAccessor(columnIndex).getDate(localCalendar); }