A bare-bones transaction test.
Seems to be working...
This commit is contained in:
@@ -115,6 +115,14 @@ public abstract class DepotRepository
|
||||
CONTENTS
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the persistence context used by this repository.
|
||||
*/
|
||||
public PersistenceContext ctx ()
|
||||
{
|
||||
return _ctx;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the persistent object that matches the specified primary key.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user