Class DerbyServerPropertiesMgr


  • public class DerbyServerPropertiesMgr
    extends java.lang.Object
    Server properties for embedded derby which is used in unit tests and server integration tests, equal to setting in derby.properties.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void setProperty​(java.sql.Statement s, java.lang.String name, java.lang.String value)  
      static void setServerProperties​(boolean isDebug)
      sets the properties in the system properties.
      static void setServerProperties​(boolean isDebug, java.sql.Connection conn)
      sets the server properties in
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setServerProperties

        public static void setServerProperties​(boolean isDebug)
        sets the properties in the system properties.
        Parameters:
        isDebug -
      • setServerProperties

        public static void setServerProperties​(boolean isDebug,
                                               java.sql.Connection conn)
                                        throws java.sql.SQLException
        sets the server properties in
        Parameters:
        isDebug -
        conn -
        Throws:
        java.sql.SQLException
      • setProperty

        public static void setProperty​(java.sql.Statement s,
                                       java.lang.String name,
                                       java.lang.String value)
                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException