官术网_书友最值得收藏!

How it works...

As we can see, the application started just fine, but as we didn't add any functionality or configure any services, it existed straight away. From the startup log, however, we do see that the autoconfiguration did take place. Let's take a look at the following lines:

    Building JPA container EntityManagerFactory for persistence unit 
'default'
HHH000412: Hibernate Core {5.2.12.Final} HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

This information tells us that, because we added the jdbc and data-jpa starters, the JPA container was created and will use Hibernate 5.2.12.Final to manage the persistence using H2Dialect. This was possible because we had the right classes in the classpath.

主站蜘蛛池模板: 巴南区| 浙江省| 河东区| 望江县| 拜泉县| 怀安县| 西乡县| 湛江市| 漯河市| 沛县| 津南区| 齐齐哈尔市| 秦皇岛市| 桃源县| 万全县| 新建县| 莱芜市| 乌鲁木齐市| 元谋县| 循化| 新和县| 浮梁县| 长汀县| 肇庆市| 广东省| 堆龙德庆县| 潜山县| 莆田市| 衡阳市| 恭城| 定南县| 大渡口区| 偃师市| 新建县| 家居| 环江| 大田县| 娱乐| 玛多县| 泸定县| 淮滨县|