View content of H2 or HSQLDB in-memory database

后端 未结 11 1367
失恋的感觉
失恋的感觉 2020-12-02 05:27

Is there a way to browse the content of an H2 or an HSQLDB in-memory database for viewing? For example, during a debugging session with Hibernate in order to check when the

11条回答
  •  难免孤独
    2020-12-02 05:54

    I don't know why is it working fine at yours machines, but I had to spend a day in order to get it is working.

    The server works with Intellij Idea U via url "jdbc:h2:tcp://localhost:9092/~/default".

    "localhost:8082" in the browser alse works fine.

    I added this into the mvc-dispatcher-servlet.xml

    
        
        
        
        
    
    
    
        
            
                -tcp
                -tcpAllowOthers
                -tcpPort
                9092
            
        
    
    
    
        
            
                -web
                -webAllowOthers
                -webPort
                8082
            
        
    
    

提交回复
热议问题