Apache derby 中的存储过程
我们可以在 Eclipse 的 apache derby 数据库连接中创建带有选择、插入、更新(多个 SQL 语句)的存储过程吗?
我是android开发的初学者,所以请告诉我创建和使用存储过程的正确方法。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我们可以在 Eclipse 的 apache derby 数据库连接中创建带有选择、插入、更新(多个 SQL 语句)的存储过程吗?
我是android开发的初学者,所以请告诉我创建和使用存储过程的正确方法。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
需要澄清的是,这些并不是熟悉 Oracle 和 MS SQL Server 的人所认为的经典意义上的“存储过程”。
根据 @Bryan 答案中的 链接 以及线程 关于Derby 存储过程,这些“存储过程”是编译的Java 代码,而不是SQL。这就是所谓的 PSM,尽管谷歌搜索“Derby PSM”会出现一些有趣的结果,但它并没有看起来还没有完全烤熟。
Just to clarify, these are not "stored procedures" in the classic sense that people familiar with Oracle and MS SQL Server would think of them.
Per the link in @Bryan 's answer, as well as the thread Regarding Derby Stored Procedures, these "stored procedures" are compiled Java code, not SQL. That's called PSM and although googling for "Derby PSM" turns up some interesting results, it doesn't look fully-baked yet.
Apache Derby 当然有存储过程。从这里开始获取一些有用的信息:http://wiki.apache.org/db-derby/DerbySQLroutines< /a>
不过,我不确定“android 开发”部分。
Apache Derby certainly has stored procedures. Start here for some good information: http://wiki.apache.org/db-derby/DerbySQLroutines
I'm not sure about the "android development" part, though.
在 Derby 中创建存储过程是完全可能的。
为此,您:
这篇帖子提供了分步演练,准确描述了如何执行以上4步。
It is absolutely possible to create a stored procedure in Derby.
To do so, you:
This post provides a step by step walkthrough describing exactly how to perform the above 4 steps.