[英]JDBC - Handle Oracle Complexity Stored Procedure
I have a task to send Sales Transaction Data in one go connection. 我有一项任务,可以通过一次连接发送销售交易数据 。 So I decided to use Oracle Stored Procedure with XMLtype data type as IN parameter.
因此,我决定使用XMLtype数据类型为IN参数的Oracle存储过程。 I wonder if it is bad practice?
我想知道这是不好的做法吗?
The Oracle Stored Procedure that I wrote have INSERT, UPDATE and DELETE with bunch of repetitions. 我编写的Oracle存储过程具有INSERT,UPDATE和DELETE,并具有大量重复。 I do that because the project sources is using Spring auto-commit and I can't change that configuration because of company reasons.
我这样做是因为项目源使用的是Spring自动提交,并且由于公司原因我无法更改该配置。
It seems like it is supported: 似乎受支持:
http://docs.oracle.com/cd/B10501_01/appdev.920/a96620/xdb04cre.htm http://docs.oracle.com/cd/B10501_01/appdev.920/a96620/xdb04cre.htm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.