-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WINDUPRULE-381: hibernate 5.1-5.3 migration, RegionFactory class usag… (
#366) * WINDUPRULE-381: hibernate 5.1-5.3 migration, RegionFactory class usage review * Update rules-reviewed/eap7/eap71/hibernate51-53.windup.xml Co-Authored-By: m-brophy <36955467+m-brophy@users.noreply.github.com> * Update rules-reviewed/eap7/eap71/hibernate51-53.windup.xml Co-Authored-By: m-brophy <36955467+m-brophy@users.noreply.github.com> * Update rules-reviewed/eap7/eap71/tests/hibernate51-53.windup.test.xml Co-Authored-By: m-brophy <36955467+m-brophy@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
rules-reviewed/eap7/eap71/tests/data/data-hibernate51-53/Hibernate515300500.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import org.hibernate.cache.RegionFactory; | ||
import org.hibernate.cache.spi.RegionFactory; | ||
import org.hibernate.cache.spi.AbstractRegionFactory; | ||
import org.hibernate.testing.cache.CachingRegionFactory; | ||
import org.hibernate.cache.spi.support.RegionFactoryTemplate; | ||
import org.hibernate.cache.ehcache.EhCacheRegionFactory; | ||
import org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory; | ||
import org.hibernate.cache.infinispan.InfinispanRegionFactory | ||
import org.hibernate.cache.infinispan.JndiInfinispanRegionFactory; | ||
import org.hibernate.cache.internal.NoCachingRegionFactory; | ||
|
||
public class Hibernate515300500 { | ||
|
||
public void aMethod(String queryString) { | ||
queryString.toLowerCase(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters