Methods Summary |
---|
protected void | assertDeleteCount(int expected)
int deletes = ( int ) getSessions().getStatistics().getEntityDeleteCount();
assertEquals( "unexpected delete counts", expected, deletes );
|
protected void | assertInsertCount(int expected)
int inserts = ( int ) getSessions().getStatistics().getEntityInsertCount();
assertEquals( "unexpected insert count", expected, inserts );
|
protected void | assertUpdateCount(int expected)
int updates = ( int ) getSessions().getStatistics().getEntityUpdateCount();
assertEquals( "unexpected update counts", expected, updates );
|
protected void | clearCounts()
getSessions().getStatistics().clear();
|
public void | configure(org.hibernate.cfg.Configuration cfg)
cfg.setProperty( Environment.GENERATE_STATISTICS, "true");
cfg.setProperty( Environment.STATEMENT_BATCH_SIZE, "0" );
|
public java.lang.String | getCacheConcurrencyStrategy()
return null;
|
public java.lang.String[] | getMappings()
return new String[] { "ops/Node.hbm.xml", "ops/Employer.hbm.xml", "ops/OptLockEntity.hbm.xml", "ops/OneToOne.hbm.xml", "ops/Competition.hbm.xml" };
|