You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/StatelessSessionLazyDelegator.java
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -502,4 +502,9 @@ public CacheMode getCacheMode() {
Copy file name to clipboardExpand all lines: extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/session/TransactionScopedStatelessSession.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -875,4 +875,15 @@ public void setCacheMode(CacheMode cacheMode) {
875
875
emr.statelessSession.setCacheMode(cacheMode);
876
876
}
877
877
}
878
+
879
+
@Override
880
+
public <T> Tunwrap(Class<T> type) {
881
+
if (type.isAssignableFrom(StatelessSession.class)) {
Copy file name to clipboardExpand all lines: integration-tests/hibernate-orm-data/src/main/java/io/quarkus/it/hibernate/jpamodelgen/data/MyEntityResource.java
Copy file name to clipboardExpand all lines: integration-tests/hibernate-orm-data/src/main/java/io/quarkus/it/hibernate/jpamodelgen/data/MyRepository.java
Copy file name to clipboardExpand all lines: integration-tests/hibernate-orm-data/src/test/java/io/quarkus/it/hibernate/jpamodelgen/data/HibernateOrmDataTest.java
0 commit comments