* BAEL-1216: improve tests * BAEL-1448: Update Spring 5 articles to use the release version * Setting up the Maven Wrapper on a maven project * Add Maven Wrapper on spring-boot module * simple add * BAEL-976: Update spring version * BAEL-1273: Display RSS feed with spring mvc (AbstractRssFeedView) * Move RSS feed with Spring MVC from spring-boot to spring-mvc-simple * BAEL-1285: Update Jackson articles * BAEL-1273: implement both MVC and Rest approach to serve RSS content * RSS(XML & Json) with a custom model * BAEL-1273: remove a resource * BAEL-1519: Guide to scribejava * BAEL-1273: improve xml representation * Fix pom
21 lines
1.2 KiB
XML
21 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
|
|
<persistence-unit name="punit">
|
|
<class>org.baeldung.persistence.model.Foo</class>
|
|
<class>org.baeldung.persistence.model.Bar</class>
|
|
<properties>
|
|
<property name="javax.persistence.jdbc.user" value="root"/>
|
|
<property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
|
|
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/HIBERTEST"/>
|
|
<property name="javax.persistence.ddl-generation" value="drop-and-create-tables"/>
|
|
<property name="javax.persistence.logging.level" value="INFO"/>
|
|
<property name="hibernate.show_sql" value="true"/>
|
|
<property name="hibernate.cache.use_second_level_cache" value="false"/>
|
|
<property name="hibernate.cache.use_query_cache" value="false"/>
|
|
</properties>
|
|
|
|
</persistence-unit>
|
|
</persistence>
|