06/11/23 20:22:13
>>732
なんで切れ気味なんだよw
@Bean(table="a")
public class A{
private B b;
@Relation(relationNo=0, relationKey="bid")
public B getB(){ return b; }
public void setB(B b){ this.b = b; }
private C c;
@Relation(relationNo=2, relationKey="cid")
public C getC(){ return c; }
public void setC(C c){ thic.c = c; }
}
@S2Dao(bean=A.class)
public interface ADao{
@Query("c.visible=?")
public A getA(int sw);
}
こういうことじゃなくて?