private static void rejectPoolingOptions(Properties p) throws SQLFeatureNotSupportedException {
  if (p.containsKey(DataSourceFactory.JDBC_INITIAL_POOL_SIZE) || p.containsKey(DataSourceFactory.JDBC_MAX_IDLE_TIME) || p.containsKey(DataSourceFactory.JDBC_MAX_POOL_SIZE)|| p.containsKey(DataSourceFactory.JDBC_MAX_STATEMENTS)|| p.containsKey(DataSourceFactory.JDBC_MIN_POOL_SIZE)|| p.containsKey(DataSourceFactory.JDBC_PROPERTY_CYCLE)) {
    throw new SQLFeatureNotSupportedException("Pooling properties are not supported by H2");
  }
}

private static void rejectPoolingOptions ( Properties p ) throws SQLFeatureNotSupportedException { if ( p . containsKey ( DataSourceFactory . JDBC_INITIAL_POOL_SIZE ) || p . containsKey ( DataSourceFactory . JDBC_MAX_IDLE_TIME ) || p . containsKey ( DataSourceFactory . JDBC_MAX_POOL_SIZE ) || p . containsKey ( DataSourceFactory . JDBC_MAX_STATEMENTS ) || p . containsKey ( DataSourceFactory . JDBC_MIN_POOL_SIZE ) || p . containsKey ( DataSourceFactory . JDBC_PROPERTY_CYCLE ) ) { throw new SQLFeatureNotSupportedException ( "Pooling properties are not supported by H2" ) ; } }
checker method that will throw if any pooling related standard osgi options are present .
