I would prefer -D option to set the property directly but what would be the property name?
Are you perhaps confusing the two XSDs? You seem to be looking for this one (root element "settings"):
public void doGet(HttpServletRequest req, HttpServletResponse resp) {I believe tried this jooq-settings.xml
HashMap<String, ArrayList<String>> pmap = getParameterMap(req);
try (Connection conn = getDbConn(req, pmap) ){
DSLContext dsl = DSL.using(conn, SQLDialect.POSTGRES);
/* NO Further DSL configuration */
<annotation xmlns="http://www.jooq.org/xsd/jooq-runtime-3.14.0.xsd">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?
<all>
<executeLogging value="false"/>
</all>
</annotation>
AND
<annotation xmlns="http://www.jooq.org/xsd/jooq-runtime-3.14.0.xsd">
<executeLogging value="false"/>
</annotation>
But you used this one (root element "configuration"):
On Mon, Mar 29, 2021 at 9:56 PM Rob Sargent <robjs...@gmail.com> 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 jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO5oDYj8tGLuZOzficTqgKxf8Gz725EeHciSZQh%3DndYavQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/6ee6b9b6-a185-e700-9fd0-9d8e8a3388c3%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO7UfvZfszehRr-Mf2%3DJrmPHBq5eKG46XprB6NWWx0FrFw%40mail.gmail.com.