File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
spring-orm/src/main/java/org/springframework/orm/hibernate5 Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ dependencies {
123123 api(" org.glassfish.external:opendmk_jmxremote_optional_jar:1.0-b01-ea" )
124124 api(" org.glassfish:jakarta.el:4.0.2" )
125125 api(" org.graalvm.sdk:graal-sdk:22.3.1" )
126- api(" org.hamcrest:hamcrest:2.2 " )
127- api(" org.hibernate.orm:hibernate-core:7.0.0.Beta3 " )
126+ api(" org.hamcrest:hamcrest:3.0 " )
127+ api(" org.hibernate.orm:hibernate-core:7.0.0.Beta4 " )
128128 api(" org.hibernate.validator:hibernate-validator:9.0.0.CR1" )
129129 api(" org.hsqldb:hsqldb:2.7.4" )
130130 api(" org.htmlunit:htmlunit:4.10.0" )
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2023 the original author or authors.
2+ * Copyright 2002-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -259,6 +259,12 @@ public B getBeanInstance() {
259259 return this .beanInstance ;
260260 }
261261
262+ @ Override
263+ @ SuppressWarnings ("unchecked" )
264+ public Class <B > getBeanClass () {
265+ return (Class <B >) this .beanInstance .getClass ();
266+ }
267+
262268 public void destroyIfNecessary () {
263269 if (this .destructionCallback != null ) {
264270 this .destructionCallback .accept (this .beanInstance );
You can’t perform that action at this time.
0 commit comments