parent
6e1c294ed7
commit
05d19d629d
@ -1,10 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
|
||||
<wb-module deploy-name="web_shared">
|
||||
|
||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||
|
||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/java"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/resources"/>
|
||||
|
||||
<property name="context-root" value="web_shared"/>
|
||||
|
||||
<property name="java-output-path" value="/web_shared/target/classes"/>
|
||||
|
||||
</wb-module>
|
||||
|
||||
</project-modules>
|
||||
|
||||
@ -0,0 +1,32 @@
|
||||
|
||||
<hibernate-configuration>
|
||||
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC-Verbindung -->
|
||||
<property name="hibernate.connection.driver_class">org.mariadb.jdbc.Driver</property>
|
||||
<property name="hibernate.connection.url">jdbc:mariadb://localhost:3306/mariadbnl</property>
|
||||
<property name="hibernate.connection.username">root</property>
|
||||
<property name="hibernate.connection.password">jhi1nPw.</property>
|
||||
|
||||
<!-- Hibernate Dialekt für MariaDB -->
|
||||
<property name="hibernate.dialect">org.hibernate.dialect.MariaDBDialect</property>
|
||||
|
||||
<!-- Optional: SQL-Ausgabe -->
|
||||
<property name="hibernate.show_sql">true</property>
|
||||
<property name="hibernate.format_sql">true</property>
|
||||
|
||||
<!-- Schema-Handling -->
|
||||
<property name="hibernate.hbm2ddl.auto">update</property>
|
||||
|
||||
<!-- Connection Pool (einfacher Hibernate-Pool) -->
|
||||
<property name="hibernate.connection.pool_size">5</property>
|
||||
|
||||
|
||||
<mapping class="de.tvo.database.tables.NLCONNECT.Nlconnect"/>
|
||||
<!--
|
||||
<mapping class="de.tvo.database.tables.NLPANEL.Nlpanel"/>
|
||||
-->
|
||||
</session-factory>
|
||||
|
||||
</hibernate-configuration>
|
||||
Loading…
Reference in new issue