Use a PersistenceContext to initialize the RatingRepository.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@380 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -27,8 +27,8 @@ import java.util.Set;
|
||||
|
||||
import com.samskivert.io.PersistenceException;
|
||||
|
||||
import com.samskivert.jdbc.ConnectionProvider;
|
||||
import com.samskivert.jdbc.depot.DepotRepository;
|
||||
import com.samskivert.jdbc.depot.PersistenceContext;
|
||||
import com.samskivert.jdbc.depot.PersistentRecord;
|
||||
import com.samskivert.jdbc.depot.clause.Where;
|
||||
import com.samskivert.jdbc.depot.operator.Conditionals.*;
|
||||
@@ -42,9 +42,9 @@ public class RatingRepository extends DepotRepository
|
||||
/**
|
||||
* Initialize the {@link RatingRepository}.
|
||||
*/
|
||||
public RatingRepository(ConnectionProvider conprov)
|
||||
public RatingRepository (PersistenceContext ctx)
|
||||
{
|
||||
super(conprov);
|
||||
super(ctx);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user