hibernate sql:表xx Id---映射表字段SerialID
经过测试
第一句SQL
from xx x where x.Id=? 能运行
第二句SQL
from xx where SerialID=? 能运行
第三句from xx s where s.SerialID=?报错
第二句可以运行 表示疑惑?有知道的原理的同志解答下
经过测试
第一句SQL
from xx x where x.Id=? 能运行
第二句SQL
from xx where SerialID=? 能运行
第三句from xx s where s.SerialID=?报错
第二句可以运行 表示疑惑?有知道的原理的同志解答下