summaryrefslogtreecommitdiffstats
path: root/spring-utils
diff options
context:
space:
mode:
Diffstat (limited to 'spring-utils')
-rw-r--r--spring-utils/pom.xml10
-rw-r--r--spring-utils/src/main/java/org/onap/policy/common/spring/utils/CustomImplicitNamingStrategy.java5
2 files changed, 7 insertions, 8 deletions
diff --git a/spring-utils/pom.xml b/spring-utils/pom.xml
index 37b73e19..f162629f 100644
--- a/spring-utils/pom.xml
+++ b/spring-utils/pom.xml
@@ -3,6 +3,7 @@
ONAP policy
================================================================================
Copyright (C) 2022 Bell Canada. All rights reserved.
+ Modifications Copyright (C) 2023 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -26,12 +27,12 @@
<parent>
<groupId>org.onap.policy.common</groupId>
<artifactId>common-modules</artifactId>
- <version>2.0.0-SNAPSHOT</version>
+ <version>2.0.1-SNAPSHOT</version>
</parent>
<artifactId>spring-utils</artifactId>
<name>spring-utils</name>
- <description>This artifact contains the common spring related utilitiy classes to be used by multiple policy framework components.</description>
+ <description>This artifact contains the common spring related utility classes to be used by multiple policy framework components.</description>
<dependencies>
<dependency>
@@ -44,11 +45,6 @@
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- </dependency>
</dependencies>
</project> \ No newline at end of file
diff --git a/spring-utils/src/main/java/org/onap/policy/common/spring/utils/CustomImplicitNamingStrategy.java b/spring-utils/src/main/java/org/onap/policy/common/spring/utils/CustomImplicitNamingStrategy.java
index 1a747a3c..d9a7e97c 100644
--- a/spring-utils/src/main/java/org/onap/policy/common/spring/utils/CustomImplicitNamingStrategy.java
+++ b/spring-utils/src/main/java/org/onap/policy/common/spring/utils/CustomImplicitNamingStrategy.java
@@ -1,6 +1,7 @@
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2022 Bell Canada. All rights reserved.
+ * Copyright (C) 2022 Bell Canada. All rights reserved.
+ * Modifications Copyright (C) 2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,12 +21,14 @@
package org.onap.policy.common.spring.utils;
+import java.io.Serial;
import org.hibernate.boot.model.naming.Identifier;
import org.hibernate.boot.model.naming.ImplicitJoinColumnNameSource;
import org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl;
public class CustomImplicitNamingStrategy extends ImplicitNamingStrategyJpaCompliantImpl {
+ @Serial
private static final long serialVersionUID = 8666774028328486896L;
@Override