private static PreparedStatement createStatementForUpdate(final Connection connection,
                                                             final Introspected introspected,
                                                             final FieldColumnInfo[] fieldColumnInfos,
                                                             final Set<String> excludedColumns) throws SQLException
   {
      final String sql = createSqlForUpdate(introspected, fieldColumnInfos, excludedColumns);
      return connection.prepareStatement(sql);
   }
private static PreparedStatement createStatementForUpdate ( final Connection connection , final Introspected introspected , final FieldColumnInfo [ ] fieldColumnInfos , final Set < String > excludedColumns ) throws SQLException { final String sql = createSqlForUpdate ( introspected , fieldColumnInfos , excludedColumns ) ; return connection . prepareStatement ( sql ) ; }
To exclude columns situative. Does not cache the statement.