diff options
author | 2025-02-13 11:16:44 +0000 | |
---|---|---|
committer | 2025-02-17 10:18:52 +0000 | |
commit | 25e2fab51edd290b0ca36f320fe0a4438667d318 (patch) | |
tree | 0d1e344d94c53f40e734a4d1c85709b6e91c8672 /cps-rest/pom.xml | |
parent | 544438c3110eebbdd8c8e0eb8fea0d8d1eb02967 (diff) |
Fix CpsSessionFactory for it to be used in prod code
- Injecting SessionFactory bean from the spring container instead of
manually creating it.
- Removing explicit addition of Annotated class as anyways the classes
are Entity classes and added to the metadata. So no need to add it
explicitly
- also removing the unused hibernate config file
Issue-ID: CPS-2629
Change-Id: Ife2ae3828d009893de70d9c755d6a07cef2f8d07
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-rest/pom.xml')
0 files changed, 0 insertions, 0 deletions