如何在 WSO2 数据服务上插入后提交事务

发布于 2025-01-10 23:22:00 字数 219 浏览 7 评论 0原文

我创建了一个查询以将数据插入 Oracle 数据库表 (12c),并且还在 WSO2 ESB DSS 上创建了一个操作以通过 WebServices 公开此查询。我从 WSO2 调用中得到以下响应:

{
    "REQUEST_STATUS": "SUCCESSFUL"
}

但是,当我查看数据库时,我的数据尚未插入。插入后如何进行提交以便将数据写入数据库?

I have created a query to insert data into an Oracle Database Table (12c), and I have also created an operation on WSO2 ESB DSS to expose this query via WebServices. I am getting back the following response from my WSO2 call:

{
    "REQUEST_STATUS": "SUCCESSFUL"
}

However, when I look in the database, my data has not been inserted. How do I do a commit after the insert so that the data is written to the database?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

喜你已久 2025-01-17 23:22:00

请在数据服务的配置中使用此属性。

<property name="autoCommit">true</property>

Please use this property in the configuration for the data service.

<property name="autoCommit">true</property>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文