timesten 不支持两张表查询的绑定变量
select u.*, o.belong_org top_org
from gap_user u, gap_organize o
where u.belong_org = o.id
and u.code = ?
and u.is_deleted = 0
形式报错:ORA-01008: 并非所有变量都已绑定
然后
select u.*, o.belong_org top_org
from gap_user u, gap_organize o
where u.belong_org = o.id
and u.code = ?
就可以执行通过
如果一张表
select * from gap_user where id = 1 and code = ?
形式是没有问题的
这是怎么回事呢?