cristof commented on code in PR #144:
URL: https://github.com/apache/openjpa/pull/144#discussion_r3687193289


##########
openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerFactory.java:
##########
@@ -161,4 +162,41 @@ Broker newBroker(String user, String pass, boolean managed,
      * This method is invoked AFTER a BrokerFactory has been instantiated.
      */
     void postCreationCallback();
+
+    /**
+     * Creates the database schema and tables required by the persistence
+     * unit. Implements the {@code create} action of the JPA 3.2
+     * {@link jakarta.persistence.SchemaManager} contract.
+     *
+     * @since 4.2.0
+     */
+    void createPersistenceStructure(boolean createSchemas);
+
+    /**
+     * Drops the database schema and tables managed by the persistence
+     * unit. Implements the {@code drop} action of the JPA 3.2
+     * {@link jakarta.persistence.SchemaManager} contract.
+     *
+     * @since 4.2.0
+     */
+    void dropPersistenceStrucuture(boolean dropSchemas);

Review Comment:
   Fixed typos.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to