improve H2 console
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ import org.springframework.context.annotation.Profile;
|
||||
*/
|
||||
@Configuration
|
||||
@Profile(Profiles.NOT_PRODUCTION)
|
||||
public class H2ConsoleStarter implements ServletContextInitializer {
|
||||
public class H2ConsoleConfiguration implements ServletContextInitializer {
|
||||
|
||||
@Override
|
||||
public void onStartup(ServletContext servletContext) throws ServletException {
|
||||
@@ -0,0 +1,8 @@
|
||||
#H2 Server Properties
|
||||
#Sun Nov 08 17:40:21 CST 2015
|
||||
0=Generic H2 (Server)|org.h2.Driver|jdbc\:h2\:tcp\://localhost/~/test|sa
|
||||
1=Generic H2 (Embedded)|org.h2.Driver|jdbc\:h2\:mem\:testdb|sa
|
||||
2=H2 Boot API DB|org.h2.Driver|jdbc\:h2\:file\:~/.h2/bootapi;AUTO_SERVER\=TRUE;DB_CLOSE_DELAY\=-1;|sa
|
||||
webAllowOthers=false
|
||||
webPort=8090
|
||||
webSSL=false
|
||||
@@ -36,6 +36,8 @@
|
||||
<argument>-webPort</argument>
|
||||
<argument>8090</argument>
|
||||
<argument>-browser</argument>
|
||||
<argument>-properties</argument>
|
||||
<argument>.</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user