Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small QoL additions for running a SysML-v2 API server #109

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/jpa/manager/impl/HibernateManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public class HibernateManager implements JPAManager {
private final EntityManagerFactory entityManagerFactory;

public HibernateManager() {
entityManagerFactory = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME);
entityManagerFactory = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME,
System.getProperties());
}

@Override
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.9.
libraryDependencies += "com.fasterxml.jackson.datatype" % "jackson-datatype-hibernate5" % "2.9.8"
libraryDependencies += "io.swagger" % "swagger-play2_2.12" % "1.6.0"
libraryDependencies += "org.reflections" % "reflections" % "0.9.10"
libraryDependencies += "com.kohlschutter.junixsocket" % "junixsocket-native-common" % "2.8.3"

javacOptions ++= Seq("-s", "app")

Expand Down