Hi Michael, Andrus and Savva. Thanks a lot for all the help with this :). The arguments to the ServerRuntimeBuilder are exactly what I wanted :).
One thing though: Setting the SchemaUpdateStrategy in code (in the ServerRuntimeBuilder) doesn’t work for me. Works great if I set it in the cayenne modeler, but if the modeler has the default “SkipSchemaUpdateStrategy” selected, changing it in the ServerRuntimeBuilder doesn’t seem to do anything. Any ideas? This is how I’m currently initializing my server runtime public static ServerRuntime serverRuntime() { if (_serverRuntime == null) { _serverRuntime = new ServerRuntimeBuilder() .addConfig("cayenne-project.xml") .addModule(binder -> binder.bind(SchemaUpdateStrategy.class).to(CreateIfNoSchemaStrategy.class)) .jdbcDriver("org.h2.Driver") .url("jdbc:h2:~/h2-testing") .build(); } return _serverRuntime; } Cheers, - hugi