None of these constructors actually throw a PersistenceException, so we'll go
ahead and not declare that they do. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2272 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -22,7 +22,6 @@ package com.samskivert.jdbc.depot.clause;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import com.samskivert.io.PersistenceException;
|
||||
import com.samskivert.jdbc.depot.PersistentRecord;
|
||||
import com.samskivert.jdbc.depot.expression.ColumnExp;
|
||||
import com.samskivert.jdbc.depot.expression.ExpressionVisitor;
|
||||
@@ -39,14 +38,12 @@ public class Join extends QueryClause
|
||||
|
||||
public Join (Class<? extends PersistentRecord> pClass, String pCol,
|
||||
Class<? extends PersistentRecord> joinClass, String jCol)
|
||||
throws PersistenceException
|
||||
{
|
||||
_joinClass = joinClass;
|
||||
_joinCondition = new Equals(new ColumnExp(joinClass, jCol), new ColumnExp(pClass, pCol));
|
||||
}
|
||||
|
||||
public Join (ColumnExp primary, ColumnExp join)
|
||||
throws PersistenceException
|
||||
{
|
||||
_joinClass = join.getPersistentClass();
|
||||
_joinCondition = new Equals(primary, join);
|
||||
|
||||
Reference in New Issue
Block a user