120121122123124125126127128
{ value = (char)((ResultSet) rs).getInt(param); } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055002","char","" + param, column, e.getMessage()), e); } return value; }
133134135136137138139140
{ ((PreparedStatement) ps).setInt(param, value); } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055001","int","" + value, column, e.getMessage()), e); } }
155156157158159160161162163164
} } } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055002","int","" + param, column, e.getMessage()), e); } return value; }
169170171172173174175176
{ ((PreparedStatement) ps).setLong(param, value); } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055001","long","" + value, column, e.getMessage()), e); } }
191192193194195196197198199200
} } } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055002","long","" + param, column, e.getMessage()), e); } return value; }
237238239240241242243244
} } } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055001","Object","" + value, column, e.getMessage()), e); } }
267268269270271272273274275276
value = ((ResultSet) rs).wasNull() ? null : new Integer((int)i); } } catch (SQLException e) { throw new JPOXDataStoreException(LOCALISER.msg("055002","Object","" + param, column, e.getMessage()), e); } return value; }
27582759276027612762276327642765276627672768
throw new IllegalStateException(LOCALISER_RDBMS.msg("050039")); } } catch(SQLException e) { throw new JPOXDataStoreException("SQL exception: " + this, e); } // Add the tables for these additional classes addClassTables(classNames, clr); }
31243125312631273128312931303131313231333134
} catch (SQLException sqle) { String msg = LOCALISER_RDBMS.msg("050044", sqle); JPOXLogger.DATASTORE_SCHEMA.error(msg); throw new JPOXDataStoreException(msg, sqle); } catch (Exception e) { if (JPOXException.class.isAssignableFrom(e.getClass())) {
3495349634973498349935003501350235033504
JPOXLogger.DATASTORE.error(LOCALISER_RDBMS.msg("050044", exc)); } } if (!autoCreateWarnOnError) { throw new JPOXDataStoreException(LOCALISER_RDBMS.msg("050043"), (Throwable[])autoCreateErrors.toArray(new Throwable[autoCreateErrors.size()])); } } }