Hello everyone,

I developed an example that uses JPA to persist some data.
Right know, here is the configuration of my datasource

<blueprint>
  [...]
<bean id="dataSource" class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
    <property name="url" value="jdbc:mysql://localhost:3306/user />
    <property name="user" value="root" />
    <property name="password" value="root" />
  </bean>
  [...]
</blueprint>

I'd like to dynamically set the different values (with a configuration service maybe ?) and I don't know how to do it.

Best regards,
Khadija

Reply via email to