I'm trying to set the name of the auto_pk_support table to be eo_pk_table 
instead.

Is it possible to do this in code, similar to below with the 
addModule/ServerModule section (which doesn't work because the key isn't 
correct). I don't see anything I can use here:
https://cayenne.apache.org/docs/4.1/cayenne-guide/#appendix-a-configuration-properties

Also, is it possible to do in the modeller as well?

thanks,
Rob


cayenneRuntime = ServerRuntime.builder()
        .addConfig("cayenne-project.xml")
        .addModule(binder ->
                ServerModule.contributeProperties(binder)
                        .put("cayenne.PkGenerator.GeneratedKeyTableName", 
"eo_pk_table"))
        .dataSource(DataSourceBuilder
                
.url("jdbc:mysql://127.0.0.1:3306/sms?useSSL=false&serverTimezone=UTC")
                .driver("com.mysql.cj.jdbc.Driver")
                .userName("sms")
                .password("").build())
                .build();



Reply via email to