-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from AMOSTeam1/msg-branches
msg-branches
- Loading branch information
Showing
9 changed files
with
63 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 6 additions & 9 deletions
15
nfabackend/src/main/java/com/msg/nfabackend/entities/NfaFactor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
nfabackend/src/main/java/com/msg/nfabackend/entities/Project.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 10 additions & 8 deletions
18
nfabackend/src/main/resources-filtered/META-INF/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
<persistence 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" version="2.1"> | ||
|
||
<persistence-unit name="msg-nfa" transaction-type="RESOURCE_LOCAL"> | ||
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> | ||
<class>com.msg.nfabackend.entities.Project</class> | ||
<class>com.msg.nfabackend.entities.Metric</class> | ||
<class>com.msg.nfabackend.entities.Nfa</class> | ||
<class>com.msg.nfabackend.entities.Type</class> | ||
<class>com.msg.nfabackend.entities.nfaCatalog</class> | ||
<class>com.msg.nfabackend.entities.NfaFactor</class> | ||
<class>com.msg.nfabackend.entities.NfaCriteria</class> | ||
<class>com.msg.nfabackend.entities.NfaFactor</class> | ||
<class>com.msg.nfabackend.entities.Project</class> | ||
<class>com.msg.nfabackend.entities.Stakeholder</class> | ||
<class>com.msg.nfabackend.entities.Type</class> | ||
<properties> | ||
<property name="javax.persistence.jdbc.user" value="${jdbc.user}"/> | ||
<property name="javax.persistence.jdbc.password" value="${jdbc.password}"/> | ||
<property name="javax.persistence.jdbc.url" value="${jdbc.url}"/> | ||
<property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver"/> | ||
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> | ||
<property name="hibernate.show_sql" value="true"/> | ||
<property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.SunOneJtaPlatform"/> | ||
<property name="javax.persistence.schema-generation.scripts.action" value="none"/> | ||
<property name="javax.persistence.jdbc.user" value="${jdbc.user}"/> | ||
<property name="javax.persistence.jdbc.password" value="${jdbc.password}"/> | ||
<property name="javax.persistence.jdbc.url" value="${jdbc.url}"/> | ||
<property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver"/> | ||
</properties> | ||
</persistence-unit> | ||
</persistence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters