public static DB newEmbeddedDB ( DBConfiguration config ) throws ManagedProcessException { DB db = new DB ( config ) ; db . prepareDirectories ( ) ; db . unpackEmbeddedDb ( ) ; db . install ( ) ; return db ; }
This factory method is the mechanism for constructing a new embedded database for use . This method automatically installs the database and prepares it for use .