daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Jun 30th, 2018 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public ServerRuntime getCoreRuntime() {
  2.         return ServerRuntime.builder()
  3.                 .addConfig("cayenne-project.xml")
  4.                 .jdbcDriver("oracle.jdbc.OracleDriver")
  5.                 .url("jdbc:oracle:thin:@localhost:1521:SID")
  6.                 .user("sysdba")
  7.                 .password("1")
  8.                 .maxConnections(4)
  9.                 .addModule(binder -> binder.bind(JdbcEventLogger.class)
  10.                         .to(FormattedSlf4jJdbcEventLogger.class))
  11.                 .build();
  12.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top