是否有嵌入式数据库支持PL / SQL和Java API? [英] Is there embedded DB with PL/SQL support and Java API?
问题描述
我正在寻找带有Java API的嵌入式数据库用于测试目的。
我还需要pl / sql支持,因为我们在生产中使用oracle,迁移是用pl / sql编写的。
I'm looking for embedded db with Java API for testing purposes. Also i need pl/sql support because we use oracle in production and migrations are written in pl/sql.
我想测试我的DAO对象和我需要使用迁移脚本在单元测试过程中在内存中创建db。
I want to test my DAO objects and i need to create db in memory in process of unit test using migration scripts.
现在我们使用HSQLDB,但它不支持pl / sql。
Now we use HSQLDB but it does't support pl/sql.
你能推荐什么吗?
推荐答案
根据关于PL / SQL的维基百科页面,支持PL / SQL的数据库是Oracle和DB2:
According to the wikipedia page about PL/SQL, the databases supporting PL/SQL are Oracle and DB2:
- Embedded DB2
- Embedded Oracle
如果这些不适合你,那就别无其他了。 PL / SQL是Oracle的一个创建,所以它不会被广泛传播。
If these don't suit you, there's nothing else. PL/SQL is a creation of Oracle, so it's not expected to be widely spread.
这篇关于是否有嵌入式数据库支持PL / SQL和Java API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!