Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there embedded DB with PL/SQL support and Java API?

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.

I want to test my DAO objects and i need to create db in memory in process of unit test using migration scripts.

Now we use HSQLDB but it does't support pl/sql.

Can you recommend anything?

like image 265
Chuprin Avatar asked Nov 19 '10 15:11

Chuprin


People also ask

Can we call REST API from PL SQL?

So you need to call a third party REST API from PL/SQL? You'll need to setup your database access control lists (ACLs) to allow it to make external calls first. Then you can call the endpiont using utl_http. You just need to know the URI of the API and it's parameters.

Is PL SQL embedded?

PL/SQL is an embedded language. PL/SQL was not designed to be used as a “standalone” language, but instead to be invoked from within a “host” environment. So, for example, you can run PL/SQL programs from within the database (through, say, the SQL*Plus interface).

Does Oracle Database include Java?

The OracleJVM embeds the standard Java namespace in RDBMS schemas. This feature lets Java programs access Java objects stored in Oracle databases and application servers across the enterprise.

What is PL SQL API?

Overview of PL/SQL APIs APIs are stored procedures that enable you to insert and update data in Oracle Applications. Additionally, you can use PL/SQL APIs to retrieve data. For example, by using PL/SQL APIs, you can insert a customer record in Oracle Applications.


1 Answers

According to the wikipedia page about PL/SQL, the databases supporting PL/SQL are Oracle and DB2:

  • Embedded DB2
  • Embedded 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.

like image 173
Bozho Avatar answered Oct 23 '22 09:10

Bozho