Skip to content

Commit

Permalink
HBX-2859: Update Hibernate ORM Dependency to Version 7.0.0.Alpha2
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Aers <[email protected]>
  • Loading branch information
koentsje committed Jul 10, 2024
1 parent 4a3177c commit 229c2c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

public class DaoHelper {

public static Iterable<NamedHqlQueryDefinition> getNamedHqlQueryDefinitions(Metadata metadata) {
List<NamedHqlQueryDefinition> result = new ArrayList<NamedHqlQueryDefinition>();
metadata.visitNamedHqlQueryDefinitions(new Consumer<NamedHqlQueryDefinition>() {
public static Iterable<NamedHqlQueryDefinition<?>> getNamedHqlQueryDefinitions(Metadata metadata) {
List<NamedHqlQueryDefinition<?>> result = new ArrayList<NamedHqlQueryDefinition<?>>();
metadata.visitNamedHqlQueryDefinitions(new Consumer<NamedHqlQueryDefinition<?>>() {
@Override
public void accept(NamedHqlQueryDefinition t) {
public void accept(NamedHqlQueryDefinition<?> t) {
result.add(t);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ public boolean isTemporalValue(Property property) {
}

public boolean isNamedQueries(Metadata md) {
final ArrayList<NamedHqlQueryDefinition> list = new ArrayList<NamedHqlQueryDefinition>();
Consumer<NamedHqlQueryDefinition> consumer = new Consumer<NamedHqlQueryDefinition>() {
final ArrayList<NamedHqlQueryDefinition<?>> list = new ArrayList<NamedHqlQueryDefinition<?>>();
Consumer<NamedHqlQueryDefinition<?>> consumer = new Consumer<NamedHqlQueryDefinition<?>>() {
@Override
public void accept(NamedHqlQueryDefinition namedHqlQueryDefinition) {
public void accept(NamedHqlQueryDefinition<?> namedHqlQueryDefinition) {
list.add(namedHqlQueryDefinition);
}
};
Expand All @@ -280,10 +280,10 @@ public void accept(NamedHqlQueryDefinition namedHqlQueryDefinition) {
}

public boolean isNamedSQLQueries(Metadata md) {
final ArrayList<NamedNativeQueryDefinition> list = new ArrayList<NamedNativeQueryDefinition>();
Consumer<NamedNativeQueryDefinition> consumer = new Consumer<NamedNativeQueryDefinition>() {
final ArrayList<NamedNativeQueryDefinition<?>> list = new ArrayList<NamedNativeQueryDefinition<?>>();
Consumer<NamedNativeQueryDefinition<?>> consumer = new Consumer<NamedNativeQueryDefinition<?>>() {
@Override
public void accept(NamedNativeQueryDefinition namedHqlQueryDefinition) {
public void accept(NamedNativeQueryDefinition<?> namedHqlQueryDefinition) {
list.add(namedHqlQueryDefinition);
}
};
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<google-java-format.version>1.19.1</google-java-format.version>
<h2.version>2.2.224</h2.version>
<hibernate-commons-annotations.version>6.0.6.Final</hibernate-commons-annotations.version>
<hibernate-orm.version>7.0.0.Alpha1</hibernate-orm.version>
<hibernate-orm.version>7.0.0.Alpha2</hibernate-orm.version>
<hsqldb.version>2.6.1</hsqldb.version>
<javaee-api.version>8.0.1</javaee-api.version>
<jboss-logging.version>3.5.3.Final</jboss-logging.version>
Expand Down

0 comments on commit 229c2c5

Please sign in to comment.