In WebSphere Liberty’s server.xml
, make sure your data source is set to non-transactional:
<dataSource id="myAppDatasource"
jndiName="jdbc/myAppDatasource"
transactional="false">
<jdbcDriver ... /> <!-- Add driver details here -->
<properties ... /> <!-- Add properties if needed -->
</dataSource>
Refer this document : https://openliberty.io/docs/latest/transaction-service.html