/** * Create a connected crud validating it against the specified connection. * The table name is derived from the jpa annotation or from the class name. * @param connection the connection * @return a new crud instance * @throws SQLException if an error occurred */ public Crud<T, K> to(Connection connection) throws SQLException { return table(connection, getTable(connection, target)); }
/** * Create a connected crud validating it against the specified connection. * The table name is derived from the jpa annotation or from the class name. * @param connection the connection * @return a new crud instance * @throws SQLException if an error occurred */ public Crud<T, K> to(Connection connection) throws SQLException { return table(connection, getTable(connection, target)); }