Provide a PersistenceContext accepting constructor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4785 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -48,7 +48,15 @@ public class NodeRepository extends DepotRepository
|
||||
public NodeRepository (ConnectionProvider conprov)
|
||||
throws PersistenceException
|
||||
{
|
||||
super(new PersistenceContext(NODE_DB_IDENT, conprov));
|
||||
this(new PersistenceContext(NODE_DB_IDENT, conprov));
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new repository with the specified persistence context.
|
||||
*/
|
||||
public NodeRepository (PersistenceContext ctx)
|
||||
{
|
||||
super(ctx);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user