Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ServerRuntime getCoreRuntime() {
- return ServerRuntime.builder()
- .addConfig("cayenne-project.xml")
- .jdbcDriver("oracle.jdbc.OracleDriver")
- .url("jdbc:oracle:thin:@localhost:1521:SID")
- .user("sysdba")
- .password("1")
- .maxConnections(4)
- .addModule(binder -> binder.bind(JdbcEventLogger.class)
- .to(FormattedSlf4jJdbcEventLogger.class))
- .build();
- }
Add Comment
Please, Sign In to add comment