Skip to content

[Enhancement]: Let database name be configurable in OracleContainer #7190

@aalmiray

Description

@aalmiray

Module

Oracle-XE

Proposal

When using the oracle-xe images the default database name is XEPDB1.
When using the oracle-free images the default database name should be FREEPDB1.

At the moment XEPDB1 is always assumed which means oracle-free images can't be used with default values. One must configure a random database name for the correct value to be picked up.

Add an option to define the default database name, opting for XEPDB1 or FREEPDB1 if none selected. A test on the image name could be applied to determine which default database name should be chosen, that is, if it matches/contains gvenzl/oci-oracle-free then FREEPDB1 is chosen, otherwise default to XEPDB1.

Follow up to spring-projects/spring-data-relational#1528

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions