Hi,

I'm using the below code to start embedded h2 server.

@Bean
  public Server embeddedH2Server() throws SQLException {
  
    String h2TcpPort = hibernateProperties.getPort();  
    h2TcpServer = Server.createTcpServer("-tcp", "-tcpAllowOthers",
"-tcpPort", h2TcpPort).start();
    LOGGER.info("embedded h2 server initialized with  port : {}",
h2TcpPort);
    return h2TcpServer;
  }

Yes mem option is for In-memory (named) db.

Should I configure any connection pooling mechanism here?




--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html

Reply via email to