gvenzl / oci-oracle-free

Build scripts for Oracle Database FREE container/docker images
Apache License 2.0
130 stars 35 forks source link

Package DBMS_LOCK not included #11

Closed geirsagberg closed 1 year ago

geirsagberg commented 1 year ago

Hello! I am attempting to use https://github.com/blagerweij/liquibase-sessionlock to avoid hanging locks with Liquibase. This package depends on DBMS_LOCK being present, but it does not seem to be included:

SELECT *
FROM ALL_OBJECTS
WHERE OBJECT_TYPE = 'PACKAGE'
  AND OBJECT_NAME = 'DBMS_LOCK';

Returns 0 results. This is both in the full and regular image.

Would it be possible to include this package?

loiclefevre commented 1 year ago

Hi @geirsagberg, which image are you using? which account did you use to run that query?

geirsagberg commented 1 year ago

My bad, I forgot to set ALTER SESSION SET CONTAINER = FREEPDB1.