You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the hapi-fhir-jpaserver-starter POM, change the parent version to 7.7.17-SNAPSHOT
Build and test hapi-fhir-jpaserver-starter by running mvn clean install
This will result in errors when attempting to run the integration tests. The console error logs will contain numerous exceptions, similar to the following:
Caused by: org.hibernate.MappingException: Foreign key (FK_TRMCODESYSTEM_CURVER:trm_codesystem [current_version_pid,current_version_partition_id])) must have same number of columns as the referenced primary key (trm_codesystem_ver [pid])
at org.hibernate.mapping.ForeignKey.alignColumns(ForeignKey.java:136)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.secondPassCompileForeignKeys(InFlightMetadataCollectorImpl.java:1986)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.secondPassCompileForeignKeys(InFlightMetadataCollectorImpl.java:1959)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1806)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.buildMetadataInstance(InFlightMetadataCollectorImpl.java:2084)
...
Expected behavior
hapi-fhir-jpaserver-starter should build, and pass all tests.
Environment (please complete the following information):
HAPI FHIR (master branch)
MacOS 15.2
Additional context
In attempting to debug, the following change appears to have impacted the tables/keys mentioned in the exception above (See FK_TRMCODESYSTEM_CURVER in TermCodeSystem):
NOTE: Before filing a ticket, please see the following URL:
https://github.com/hapifhir/hapi-fhir/wiki/Getting-Help
Describe the bug
The downstream hapi-fhir-jpaserver-starter project can no longer initialize tests after changes to HAPI-FHIR
To Reproduce
7.7.17-SNAPSHOT
at present time)7.7.17-SNAPSHOT
mvn clean install
This will result in errors when attempting to run the integration tests. The console error logs will contain numerous exceptions, similar to the following:
Expected behavior
hapi-fhir-jpaserver-starter should build, and pass all tests.
Environment (please complete the following information):
Additional context
In attempting to debug, the following change appears to have impacted the tables/keys mentioned in the exception above (See FK_TRMCODESYSTEM_CURVER in TermCodeSystem):
5c4aae0
The text was updated successfully, but these errors were encountered: