@Test void testSetDefaultIsolationLevelName() throws Exception { TomcatJdbcDataSourceFactory tomcatJdbcDataSourceFactory = new TomcatJdbcDataSourceFactory(); tomcatJdbcDataSourceFactory.setDefaultTransactionIsolationName("READ_COMMITTED"); assertThat(tomcatJdbcDataSourceFactory.getDefaultTransactionIsolation()) .isEqualTo(Connection.TRANSACTION_READ_COMMITTED); }
public void setDefaultTransactionIsolationName(String constantName) { if (constantName == null) { throw new IllegalArgumentException("Isolation name must not be null"); } Constants constants = new Constants(Connection.class); setDefaultTransactionIsolation( constants.asNumber(PREFIX_ISOLATION + constantName).intValue()); }
TomcatJdbcDataSourceFactory extends PoolProperties implements DataSourceFactory { public void setDefaultTransactionIsolationName(String constantName) { if (constantName == null) { throw new IllegalArgumentException("Isolation name must not be null"); } Constants constants = new Constants(Connection.class); setDefaultTransactionIsolation( constants.asNumber(PREFIX_ISOLATION + constantName).intValue()); } }
TomcatJdbcDataSourceFactory extends PoolProperties implements DataSourceFactory { public void setDefaultTransactionIsolationName(String constantName) { if (constantName == null) { throw new IllegalArgumentException("Isolation name must not be null"); } Constants constants = new Constants(Connection.class); setDefaultTransactionIsolation( constants.asNumber(PREFIX_ISOLATION + constantName).intValue()); }  }
TomcatJdbcDataSourceFactory extends PoolProperties implements DataSourceFactory { public void setDefaultTransactionIsolationName(String constantName) { if (constantName == null) { throw new IllegalArgumentException("Isolation name must not be null"); } Constants constants = new Constants(Connection.class); setDefaultTransactionIsolation( constants.asNumber(PREFIX_ISOLATION + constantName).intValue()); }  @Override void setUsername(String username); @Override void setPassword(String password); @Override void setDriverClassName(String driverClassName); @Override void setUrl(String url); void setDefaultTransactionIsolationName(String constantName); void setDatabasePlatformSupport(
			DatabasePlatformSupport databasePlatformSupport); @Override org.apache.tomcat.jdbc.pool.DataSource createDataSource(
			DataSourceInformation dataSourceInformation); @Override void closeDataSource(DataSource dataSource); }
TomcatJdbcDataSourceFactory extends PoolProperties implements DataSourceFactory { public void setDefaultTransactionIsolationName(String constantName) { if (constantName == null) { throw new IllegalArgumentException("Isolation name must not be null"); } Constants constants = new Constants(Connection.class); setDefaultTransactionIsolation( constants.asNumber(PREFIX_ISOLATION + constantName).intValue()); }  @Override void setUsername(String username); @Override void setPassword(String password); @Override void setDriverClassName(String driverClassName); @Override void setUrl(String url); void setDefaultTransactionIsolationName(String constantName); void setDatabasePlatformSupport(
			DatabasePlatformSupport databasePlatformSupport); @Override org.apache.tomcat.jdbc.pool.DataSource createDataSource(
			DataSourceInformation dataSourceInformation); @Override void closeDataSource(DataSource dataSource);  }