On 3/29/21 2:22 PM, Lukas Eder wrote:
Are you perhaps confusing the two XSDs? You seem to be looking for this one (root element "settings"): https://www.jooq.org/xsd/jooq-runtime-3.14.0.xsd <https://www.jooq.org/xsd/jooq-runtime-3.14.0.xsd>

My usage is as follows:

      public void doGet(HttpServletRequest req, HttpServletResponse resp) {
        HashMap<String, ArrayList<String>> pmap = getParameterMap(req);
        try (Connection conn = getDbConn(req, pmap) ){
          DSLContext dsl = DSL.using(conn, SQLDialect.POSTGRES);
          /* NO Further DSL configuration */

I believe tried this jooq-settings.xml

   <annotation xmlns="http://www.jooq.org/xsd/jooq-runtime-3.14.0.xsd";>
      <all>
        <executeLogging value="false"/>
      </all>
   </annotation>
   AND
   <annotation xmlns="http://www.jooq.org/xsd/jooq-runtime-3.14.0.xsd";>
        <executeLogging value="false"/>
   </annotation>

in WEB-INF/classes/jooq-settings.xml, WEB-INF/lib/jooq-settings.xml (since the database is called from servlets in an embedded tomcat).  And also -Dorg.jooq.settings=<filename>, CLASSPATH for the java command line but I'm still getting jooq debug output.  Where oh where have I gone wrong?


Thanks,
rjs


But you used this one (root element "configuration"):
https://www.jooq.org/xsd/jooq-codegen-3.14.0.xsd <https://www.jooq.org/xsd/jooq-codegen-3.14.0.xsd>

On Mon, Mar 29, 2021 at 9:56 PM Rob Sargent <[email protected] <mailto:[email protected]>> wrote:

    I would prefer -D option to set the property directly but what
    would be the property name?


There is none.
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO5oDYj8tGLuZOzficTqgKxf8Gz725EeHciSZQh%3DndYavQ%40mail.gmail.com <https://groups.google.com/d/msgid/jooq-user/CAB4ELO5oDYj8tGLuZOzficTqgKxf8Gz725EeHciSZQh%3DndYavQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "jOOQ User 
Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/6ee6b9b6-a185-e700-9fd0-9d8e8a3388c3%40gmail.com.

Reply via email to