Skip to content

Commit 38e3dd7

Browse files
committed
HBX-2974: Update dependency on Hibernate ORM to version 7.0.0.Beta4
Signed-off-by: Koen Aers <[email protected]>
1 parent 942cd0e commit 38e3dd7

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

maven/src/main/java/org/hibernate/tool/maven/TransformHbmMojo.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ private void performTransformation(
7070
List<Binding<JaxbEntityMappingsImpl>> transformedBindings = HbmXmlTransformer.transform(
7171
hbmBindings,
7272
(MetadataImplementor) metadataSources.buildMetadata(),
73-
serviceRegistry,
7473
UnsupportedFeatureHandling.ERROR
7574
);
7675
for (int i = 0; i < hbmBindings.size(); i++) {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<google-java-format.version>1.19.1</google-java-format.version>
9494
<h2.version>2.2.224</h2.version>
9595
<hibernate-commons-annotations.version>6.0.6.Final</hibernate-commons-annotations.version>
96-
<hibernate-orm.version>7.0.0.Beta3</hibernate-orm.version>
96+
<hibernate-orm.version>7.0.0.Beta4</hibernate-orm.version>
9797
<hsqldb.version>2.6.1</hsqldb.version>
9898
<javaee-api.version>8.0.1</javaee-api.version>
9999
<jboss-logging.version>3.6.1.Final</jboss-logging.version>

test/nodb/src/test/java/org/hibernate/tool/hbm2x/hbm2hbmxml/ListArrayTest/Glarch.java

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@
2828

2929
import org.hibernate.CallbackException;
3030
import org.hibernate.Session;
31-
import org.hibernate.classic.Lifecycle;
3231

33-
public class Glarch implements GlarchProxy, Lifecycle, Serializable {
32+
public class Glarch implements GlarchProxy, Serializable {
3433

3534
private static final long serialVersionUID =
3635
ObjectStreamClass.lookup(Glarch.class).getSerialVersionUID();
@@ -109,10 +108,6 @@ public void setProxyArray(GlarchProxy[] proxyArray) {
109108
this.proxyArray = proxyArray;
110109
}
111110

112-
public boolean onDelete(Session s) throws CallbackException {
113-
return NO_VETO;
114-
}
115-
116111
public void onLoad(Session s, Serializable id) {
117112
if ( ! ( ( (String) id ).length()==32 ) ) throw new RuntimeException("id problem");
118113
}
@@ -122,21 +117,13 @@ public boolean onSave(Session s) throws CallbackException {
122117
dynaBean.put("foo", "foo");
123118
dynaBean.put("bar", Integer.valueOf(66));
124119
immutable="never changes!";
125-
return NO_VETO;
120+
return false;
126121
}
127122

128123
public boolean onUpdate(Session s) throws CallbackException {
129-
return NO_VETO;
124+
return false;
130125
}
131126

132-
/*public Currency getCurrency() {
133-
return currency;
134-
}
135-
136-
public void setCurrency(Currency currency) {
137-
this.currency = currency;
138-
}*/
139-
140127
/**
141128
* Returns the dynaBean.
142129
* @return DynaBean

0 commit comments

Comments
 (0)