I have a problem with the sync between oracle database and my spring web application . I'm able to insert in the database from my application back-office but when i try to add a row in the database and then adding an insert from my application i get a constraint error because the id already exist .
So i think that's a caching problem
This is my application Context xml file
<bean id="dataSource" class="oracle.jdbc.pool.OracleDataSource" destroy-method="close">
<property name="URL" value="myurl" />
<property name="user" value="myuser"/>
<property name="password" value="mypass"/>
<property name="connectionCachingEnabled" value="true"/>
</bean>
Aucun commentaire:
Enregistrer un commentaire