Class OraclePersistenceManager

    • Constructor Detail

      • OraclePersistenceManager

        public OraclePersistenceManager()
        Creates a new oracle persistence manager
    • Method Detail

      • getTablespace

        public String getTablespace()
        Returns the configured Oracle tablespace for tables.
        Returns:
        the configured Oracle tablespace for tables.
      • setTablespace

        public void setTablespace​(String tablespaceName)
        Sets the Oracle tablespace for tables.
        Parameters:
        tablespaceName - the Oracle tablespace for tables.
      • getIndexTablespace

        public String getIndexTablespace()
        Returns the configured Oracle tablespace for indexes.
        Returns:
        the configured Oracle tablespace for indexes.
      • setIndexTablespace

        public void setIndexTablespace​(String tablespaceName)
        Sets the Oracle tablespace for indexes.
        Parameters:
        tablespaceName - the Oracle tablespace for indexes.
      • init

        public void init​(PMContext context)
                  throws Exception
        Description copied from class: BundleDbPersistenceManager
        Initializes the persistence manager. The persistence manager is permanently bound to the given context, and any required external resources are acquired.

        An appropriate exception is thrown if the persistence manager initialization fails for whatever reason. In this case the state of the persistence manager is undefined and the instance should be discarded. Initializes the internal structures of this abstract persistence manager.

        Specified by:
        init in interface PersistenceManager
        Overrides:
        init in class BundleDbPersistenceManager
        Parameters:
        context - persistence manager context
        Throws:
        Exception - if the persistence manager initialization failed