@Test public void shouldAlwaysReturnFalseForIsDefinitelyWritable() { for (int i = 0; i != columnNames.length; ++i) { assertThat(metadata.isDefinitelyWritable(i + 1), is(false)); assertThat(extMetadata.isDefinitelyWritable(i + 1), is(false)); } }
@Override public boolean isDefinitelyWritable( int column ) { return false; }
JcrResultSetMetaData implements ResultSetMetaData { @Override public boolean isDefinitelyWritable( int column ) { return false; } }
JcrResultSetMetaData implements ResultSetMetaData { @Override public boolean isDefinitelyWritable( int column ) { return false; } protected  JcrResultSetMetaData( JcrConnection connection,
                                    QueryResult results ); }
JcrResultSetMetaData implements ResultSetMetaData { @Override public boolean isDefinitelyWritable( int column ) { return false; } protected  JcrResultSetMetaData( JcrConnection connection,
                                    QueryResult results ); @Override String getCatalogName( int column ); @Override String getColumnClassName( int column ); @Override int getColumnCount(); @Override int getColumnDisplaySize( int column ); @Override String getColumnLabel( int column ); @Override String getColumnName( int column ); @Override int getColumnType( int column ); @Override String getColumnTypeName( int column ); @Override int getPrecision( int column ); @Override int getScale( int column ); @Override String getSchemaName( int column ); @Override String getTableName( int column ); @Override boolean isAutoIncrement( int column ); @Override boolean isCaseSensitive( int column ); @Override boolean isCurrency( int column ); @Override boolean isDefinitelyWritable( int column ); @Override int isNullable( int column ); @Override boolean isReadOnly( int column ); @Override boolean isSearchable( int column ); @Override boolean isSigned( int column ); @Override boolean isWritable( int column ); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface ); }
JcrResultSetMetaData implements ResultSetMetaData { @Override public boolean isDefinitelyWritable( int column ) { return false; } protected  JcrResultSetMetaData( JcrConnection connection,
                                    QueryResult results ); @Override String getCatalogName( int column ); @Override String getColumnClassName( int column ); @Override int getColumnCount(); @Override int getColumnDisplaySize( int column ); @Override String getColumnLabel( int column ); @Override String getColumnName( int column ); @Override int getColumnType( int column ); @Override String getColumnTypeName( int column ); @Override int getPrecision( int column ); @Override int getScale( int column ); @Override String getSchemaName( int column ); @Override String getTableName( int column ); @Override boolean isAutoIncrement( int column ); @Override boolean isCaseSensitive( int column ); @Override boolean isCurrency( int column ); @Override boolean isDefinitelyWritable( int column ); @Override int isNullable( int column ); @Override boolean isReadOnly( int column ); @Override boolean isSearchable( int column ); @Override boolean isSigned( int column ); @Override boolean isWritable( int column ); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface );  }