Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ private void performTransformation(
List<Binding<JaxbEntityMappingsImpl>> transformedBindings = HbmXmlTransformer.transform(
hbmBindings,
(MetadataImplementor) metadataSources.buildMetadata(),
serviceRegistry,
UnsupportedFeatureHandling.ERROR
);
for (int i = 0; i < hbmBindings.size(); i++) {
Expand Down
22 changes: 11 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>47</version>
<version>48</version>
</parent>

<groupId>org.hibernate.tool</groupId>
Expand Down Expand Up @@ -86,27 +86,27 @@

<properties>

<ant.version>1.10.14</ant.version>
<antlr.version>4.13.1</antlr.version>
<ant.version>1.10.15</ant.version>
<antlr.version>4.13.2</antlr.version>
<commons-collections.version>4.4</commons-collections.version>
<freemarker.version>2.3.32</freemarker.version>
<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.Beta3</hibernate-orm.version>
<freemarker.version>2.3.34</freemarker.version>
<google-java-format.version>1.25.2</google-java-format.version>
<h2.version>2.3.232</h2.version>
<hibernate-commons-annotations.version>7.0.3.Final</hibernate-commons-annotations.version>
<hibernate-orm.version>7.0.0.Beta4</hibernate-orm.version>
<hsqldb.version>2.6.1</hsqldb.version>
<javaee-api.version>8.0.1</javaee-api.version>
<jboss-logging.version>3.6.1.Final</jboss-logging.version>
<junit-jupiter.version>5.10.1</junit-jupiter.version>
<junit-jupiter.version>5.12.1</junit-jupiter.version>
<mysql.version>8.0.22</mysql.version>
<oracle.version>19.3.0.0</oracle.version>
<sqlserver.version>9.2.1.jre8</sqlserver.version>
<jakarta.xml.bind-api.version>4.0.0</jakarta.xml.bind-api.version>
<jakarta.xml.bind-api.version>4.0.2</jakarta.xml.bind-api.version>

<!-- Plugins not managed by the JBoss parent POM: -->
<maven-wrapper-plugin.version>3.3.2</maven-wrapper-plugin.version>
<nexus-staging.plugin.version>1.7.0</nexus-staging.plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<flatten-maven-plugin.version>1.7.0</flatten-maven-plugin.version>

<!--
We don't want to publish or sign any modules by default.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@

import org.hibernate.CallbackException;
import org.hibernate.Session;
import org.hibernate.classic.Lifecycle;

public class Glarch implements GlarchProxy, Lifecycle, Serializable {
public class Glarch implements GlarchProxy, Serializable {

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

public boolean onDelete(Session s) throws CallbackException {
return NO_VETO;
}

public void onLoad(Session s, Serializable id) {
if ( ! ( ( (String) id ).length()==32 ) ) throw new RuntimeException("id problem");
}
Expand All @@ -122,21 +117,13 @@ public boolean onSave(Session s) throws CallbackException {
dynaBean.put("foo", "foo");
dynaBean.put("bar", Integer.valueOf(66));
immutable="never changes!";
return NO_VETO;
return false;
}

public boolean onUpdate(Session s) throws CallbackException {
return NO_VETO;
return false;
}

/*public Currency getCurrency() {
return currency;
}

public void setCurrency(Currency currency) {
this.currency = currency;
}*/

/**
* Returns the dynaBean.
* @return DynaBean
Expand Down
Loading