Doesn't show H2 tables in browser
<p><strong>Hello,</strong> </p>

<p><em>I have a problem with displaying the h2 tables in browser I've created on Java Web Application ( Spring 4, Hibernate 5, Thymeleaf 3, H2database 1.4.192 , etc.).
It has Java-based configuration.</em></p>

<p><strong>My DataSource:</strong></p>

<pre><code>@Bean(name = "dataSource")
public DataSource getDataSource() {
    logger.info("Setting dataSource properties.");
    EmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder();
    EmbeddedDatabase embeddedDatabase = builder
            .continueOnError(true)
            .setType(EmbeddedDatabaseType.H2)
            .addScript(CREATE_SCRIPT)
            .addScript(INIT_SCRIPT)
            .build();
    return embeddedDatabase;
}
</code></pre>

<p><strong>My 'CREATE_SCRIPT':</strong></p>

<pre class="lang-html prettyprint-override"><code>CREATE TABLE CLIENTS
(
CLIENT_ID INT PRIMARY KEY AUTO_INCREMENT,
CLIENT_NAME VARCHAR(99) NOT NULL,
AGREEMENT BOOLEAN DEFAULT FALSE
);

CREATE TABLE ITEMS
(
  ITEM_ID INT PRIMARY KEY AUTO_INCREMENT,
  ITEM_NAME VARCHAR(99) NOT NULL,
  PRICE DECIMAL(10,2) NOT NULL
);

CREATE TABLE CLIENTS_ITEMS
(
  CLIENT_ID INT ,
  ITEM_ID INT NOT NULL,
  CONSTRAINT CLIENTS_CLIENT_ID_FK
  FOREIGN KEY (CLIENT_ID)
  REFERENCES CLIENTS(CLIENT_ID),
  CONSTRAINT ITEMS_ITEM_ID_FK
  FOREIGN KEY (ITEM_ID)
  REFERENCES ITEMS (ITEM_ID)
);
</code></pre>

<p><strong>My 'INIT_SCRIPT':</strong></p>

<pre class="lang-html prettyprint-override"><code>INSERT INTO ITEMS
(ITEM_NAME, PRICE) VALUES  ('Book', 5.50);
INSERT INTO ITEMS
(ITEM_NAME, PRICE) VALUES ('Hook', 15.00);
INSERT INTO ITEMS
(ITEM_NAME, PRICE) VALUES ('Nook', 199.9);
INSERT INTO ITEMS
(ITEM_NAME, PRICE) VALUES ('Snook', 1.9);
INSERT INTO ITEMS
(ITEM_NAME, PRICE) VALUES ('Stook', 0.99);
INSERT INTO ITEMS
(ITEM_NAME, PRICE) VALUES ('Mobile Phone', 10);
</code></pre>

<p><strong><em>The tables created 100% cuz I  can persist and fetch data.</em></strong></p>

<blockquote>
  <p>ноя 10, 2016 11:15:59 AM
  org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
  initDatabase</p>
  
  <p><strong>> INFO: Starting embedded database:
  url='jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false',
  username='sa'</strong></p>
  
  <p>ноя 10, 2016 11:15:59 AM
  org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript</p>
  
  <p>INFO: Executing SQL script from class path resource [create.sql]</p>
  
  <p>ноя 10, 2016 11:15:59 AM
  org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript</p>
  
  <p>INFO: Executed SQL script from class path resource [create.sql] in 479
  ms.</p>
  
  <p>ноя 10, 2016 11:15:59 AM
  org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript</p>
  
  <p>INFO: Executing SQL script from class path resource [test.sql]</p>
  
  <p>ноя 10, 2016 11:15:59 AM
  org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript</p>
  
  <p>INFO: Executed SQL script from class path resource [test.sql] in 11
  ms.</p>
  
  <p>ноя 10, 2016 11:16:09 AM
  org.springframework.orm.hibernate5.HibernateTransactionManager
  afterPropertiesSet</p>
  
  <p>INFO: Using DataSource
  [org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@162b3d47]
  of Hibernate SessionFactory for HibernateTransactionManager</p>
</blockquote>

<p>But when I open h2-console and connect to this database with current username and password I can find nothing.</p>

<p>It's very strange and I don't know what the problem is.
Help me please. <br> 
Thank you much.</p>