You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2022/03/07 16:43:37 UTC

[empire-db] branch master updated: EMPIREDB-362 simple fix

This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 25c69a4  EMPIREDB-362 simple fix
25c69a4 is described below

commit 25c69a49b22012df20d651973cc5aacfa7042c4b
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Mon Mar 7 17:43:35 2022 +0100

    EMPIREDB-362 simple fix
---
 .../src/main/java/org/apache/empire/samples/springboot/SampleApp.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/empire-db-examples/empire-db-example-spring-boot/src/main/java/org/apache/empire/samples/springboot/SampleApp.java b/empire-db-examples/empire-db-example-spring-boot/src/main/java/org/apache/empire/samples/springboot/SampleApp.java
index 24981ae..58d0994 100644
--- a/empire-db-examples/empire-db-example-spring-boot/src/main/java/org/apache/empire/samples/springboot/SampleApp.java
+++ b/empire-db-examples/empire-db-example-spring-boot/src/main/java/org/apache/empire/samples/springboot/SampleApp.java
@@ -135,7 +135,7 @@ public class SampleApp implements ApplicationRunner {
       // Special cases
       if (dbms instanceof DBMSHandlerPostgreSQL) {
         // Create the reverse function that is needed by this sample
-        ((DBMSHandlerPostgreSQL) dbms).createReverseFunction(conn);
+        ((DBMSHandlerPostgreSQL) dbms).getDDLGenerator().setCreateReverseFunction(true);
       }
 
       // done