File tree 2 files changed +9
-3
lines changed
spring-orm/src/main/java/org/springframework/orm/hibernate5
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ dependencies {
123
123
api(" org.glassfish.external:opendmk_jmxremote_optional_jar:1.0-b01-ea" )
124
124
api(" org.glassfish:jakarta.el:4.0.2" )
125
125
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 " )
128
128
api(" org.hibernate.validator:hibernate-validator:9.0.0.CR1" )
129
129
api(" org.hsqldb:hsqldb:2.7.4" )
130
130
api(" org.htmlunit:htmlunit:4.10.0" )
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -259,6 +259,12 @@ public B getBeanInstance() {
259
259
return this .beanInstance ;
260
260
}
261
261
262
+ @ Override
263
+ @ SuppressWarnings ("unchecked" )
264
+ public Class <B > getBeanClass () {
265
+ return (Class <B >) this .beanInstance .getClass ();
266
+ }
267
+
262
268
public void destroyIfNecessary () {
263
269
if (this .destructionCallback != null ) {
264
270
this .destructionCallback .accept (this .beanInstance );
You can’t perform that action at this time.
0 commit comments