我正在使用我的Spring XML初始化我的spring bean。
<bean class = "com.some.class">
<property name = "sql" value ="select :id id, 3 weight from some.table"></property>
</bean>
<bean class = "com.some.class">
<property name = "sql" value = "select :id id, 3 weight from another.table"></property>
</bean>
现在我想在某个地方的xml变量中设置3
。我怎样才能做到这一点?