I'm initialising my spring beans in my spring XML.
<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>
Now I want to set that 3
in a variable in the xml somewhere. How can I do this?