这是一个创建于 1735 天前的主题,其中的信息可能已经有所发展或是发生改变。
例子:
<sql id="userColumns"> ${alias}.id,${alias}.username,${alias}.password </sql>
<select id="selectUsers" resultType="map">
select
<include refid="userColumns"><property name="alias" value="t1"/></include>,
<include refid="userColumns"><property name="alias" value="t2"/></include>
from some_table t1
cross join some_table t2
</select>
我代码中一使用<property>这个就一直循环报 Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.去除<property >,把<sql>里内容写死,就不会,这是什么原因?版本 mybatis-3.2.8;