Esqueleto de proyecto inicial.
This commit is contained in:
13
1.sources/MyHealth/src/META-INF/application.xml
Normal file
13
1.sources/MyHealth/src/META-INF/application.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<application>
|
||||
<display-name>MyHealth</display-name>
|
||||
<module>
|
||||
<web>
|
||||
<web-uri>MyHealth.war</web-uri>
|
||||
<context-root>/MyHealth</context-root>
|
||||
</web>
|
||||
</module>
|
||||
<module>
|
||||
<ejb>MyHealth.jar</ejb>
|
||||
</module>
|
||||
</application>
|
||||
|
||||
15
1.sources/MyHealth/src/META-INF/persistence.xml
Normal file
15
1.sources/MyHealth/src/META-INF/persistence.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
|
||||
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
|
||||
version="1.0">
|
||||
<persistence-unit name="MyHealth">
|
||||
<provider>org.hibernate.ejb.HibernatePersistence</provider>
|
||||
<jta-data-source>java:jboss/postgresDS</jta-data-source>
|
||||
<properties>
|
||||
<property name="hibernate.dialect"
|
||||
value="org.hibernate.dialect.PostgreSQL94Dialect" />
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
Reference in New Issue
Block a user