有三个类 a b c
a 里面包含了bc两个对象,分别是一对一的关系   变量名是b,c  
bc中都有属性name
如何过滤name这个值?
我写了下
select a from a 
where 1=1
and (
b.name=??
or c.name=??
)
但是得不到结果,为什么?