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

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.

主站蜘蛛池模板: 宁陕县| 金平| 化隆| 合阳县| 鄂托克前旗| 儋州市| 深圳市| 治县。| 墨竹工卡县| 深泽县| 鸡东县| 神池县| 措美县| 崇明县| 河池市| 吴桥县| 五华县| 安西县| 绥德县| 溆浦县| 肇源县| 湖北省| 吐鲁番市| 启东市| 宁乡县| 惠东县| 沙湾县| 沁源县| 凌海市| 绥芬河市| 涟水县| 泉州市| 沙洋县| 新闻| 合作市| 岚皋县| 南和县| 清徐县| 贡嘎县| 清涧县| 民和|