mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 03:38:16 +00:00
HHH-13666 Remove some dead code in tests related to transactions
This commit is contained in:
parent
81d5f5eb21
commit
8655d683e6
@ -98,10 +98,6 @@ public void testAfterCompletionCallbackExecutedAfterTransactionTimeout() throws
|
||||
}
|
||||
}
|
||||
|
||||
private void registerAfterCallbackCompletionHandler(Session session) {
|
||||
( (SessionImplementor) session ).getActionQueue().registerProcess( new AfterCallbackCompletionHandler() );
|
||||
}
|
||||
|
||||
public static class BeforeCallbackCompletionHandler implements BeforeTransactionCompletionProcess {
|
||||
@Override
|
||||
public void doBeforeTransactionCompletion(SessionImplementor session) {
|
||||
|
@ -118,10 +118,6 @@ private SimpleEntity newEntity(int id) {
|
||||
return new SimpleEntity( id, "key", "name" );
|
||||
}
|
||||
|
||||
private void runTest() {
|
||||
|
||||
}
|
||||
|
||||
@Entity(name = "SimpleEntity")
|
||||
public static class SimpleEntity {
|
||||
@Id
|
||||
|
Loading…
x
Reference in New Issue
Block a user