variables in hibernate.cfg.xml file
Does anybody know how can I refer a variable from hibernate.cfg.xml?
Code:
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">$value</property>
<property name="hibernate.connection.username">$value</property>
<property name="hibernate.dialect">$value</property>
<property name="hibernate.jdbc.batch_size">$value</property>
</session-factory>
</hibernate-configuration>