repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/CacheKeysFactoryTest.java | package org.infinispan.test.hibernate.cache.commons;
import static org.infinispan.test.hibernate.cache.commons.util.TxUtil.withTxSession;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Iterator;
import org.hibernate.SessionFactory;
import org.hibernate.cache.... | 3,946 | 40.547368 | 123 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/AbstractRegionAccessStrategyTest.java | package org.infinispan.test.hibernate.cache.commons;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatcher... | 29,167 | 40.549858 | 140 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/TestsModule.java | package org.infinispan.test.hibernate.cache.commons;
import org.infinispan.factories.annotations.InfinispanModule;
/**
* {@code InfinispanModule} annotation is required for component annotation processing
*/
@InfinispanModule(name = "hibernate-commons-tests")
public class TestsModule implements org.infinispan.lifec... | 345 | 30.454545 | 86 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/NodeEnvironment.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons;
import java.util.HashMap;
imp... | 4,139 | 31.857143 | 99 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/InfinispanRegionFactoryTestCase.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons;
import static org.infinispan.... | 29,176 | 46.988487 | 148 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/AbstractRegionImplTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons;
import org.infinispan.hiberna... | 733 | 30.913043 | 108 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/AbstractEntityCollectionRegionTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons;
import java.util.Properties;
... | 1,687 | 34.166667 | 105 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/AbstractExtraAPITest.java | package org.infinispan.test.hibernate.cache.commons;
import org.hibernate.cache.spi.access.SoftLock;
import org.infinispan.test.hibernate.cache.commons.util.TestSessionAccess;
import org.infinispan.test.hibernate.cache.commons.util.TestSessionAccess.TestRegionAccessStrategy;
import org.infinispan.test.hibernate.cache... | 2,141 | 30.043478 | 108 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/CacheKeySerializationTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons;
import static org.junit.Asser... | 5,629 | 37.29932 | 128 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/stress/CorrectnessTestCase.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.stress;
import java.io.Buffer... | 48,496 | 39.856782 | 215 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/stress/PutFromLoadStressTestCase.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.stress;
import static org.infi... | 9,107 | 35.142857 | 124 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/stress/SecondLevelCacheStressTestCase.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.stress;
import static org.inf... | 21,848 | 34.469156 | 128 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/stress/entities/Family.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.stress.entities;
import java.... | 3,243 | 22.852941 | 97 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/stress/entities/Person.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.stress.entities;
import java.... | 4,252 | 24.620482 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/stress/entities/Address.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.stress.entities;
import java.... | 5,439 | 25.930693 | 103 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/entity/EntityRegionExtraAPITest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.entity;
import org.hibernate.c... | 1,758 | 33.490196 | 136 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/entity/EntityRegionAccessStrategyTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.entity;
import static org.juni... | 13,972 | 36.360963 | 135 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/entity/EntityRegionImplTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.entity;
import java.util.Prope... | 1,708 | 36.152174 | 98 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/collection/CollectionRegionAccessExtraAPITest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.collection;
import org.infinis... | 687 | 31.761905 | 117 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/collection/CollectionRegionImplTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.collection;
import java.util.P... | 1,700 | 38.55814 | 99 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/collection/CollectionRegionAccessStrategyTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.collection;
import static org.... | 5,768 | 37.97973 | 132 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestingKeyFactory.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.util;
import java.io.Serializa... | 1,463 | 20.850746 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/BatchModeJtaPlatform.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.util;
import org.hibernate.Hib... | 1,978 | 29.446154 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestSessionAccess.java | package org.infinispan.test.hibernate.cache.commons.util;
import java.util.Collection;
import java.util.List;
import java.util.ServiceLoader;
import org.hibernate.Transaction;
import org.hibernate.cache.CacheException;
import org.hibernate.cache.spi.RegionFactory;
import org.hibernate.cache.spi.access.AccessType;
imp... | 3,434 | 34.412371 | 152 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/JdbcResourceTransactionMock.java | package org.infinispan.test.hibernate.cache.commons.util;
import org.hibernate.resource.transaction.backend.jdbc.spi.JdbcResourceTransaction;
import org.hibernate.resource.transaction.spi.TransactionStatus;
import static org.junit.Assert.assertEquals;
/**
* @author Radim Vansa <rvansa@redhat.com>
*/
public c... | 871 | 23.222222 | 83 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/InfinispanTestingSetup.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.util;
import org.infinispan.co... | 2,108 | 33.016129 | 128 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/CacheTestUtil.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.util;
import java.lang.reflect... | 5,119 | 32.464052 | 130 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestingUtil.java | package org.infinispan.test.hibernate.cache.commons.util;
import java.util.concurrent.Callable;
import jakarta.transaction.Status;
import jakarta.transaction.TransactionManager;
public class TestingUtil {
private TestingUtil() {
}
/**
* Call an operation within a transaction. This method guarantees tha... | 1,746 | 33.254902 | 121 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestRegionFactory.java | package org.infinispan.test.hibernate.cache.commons.util;
import java.util.Properties;
import org.hibernate.cache.spi.RegionFactory;
import org.hibernate.cache.spi.access.AccessType;
import org.hibernate.service.ServiceRegistry;
import org.infinispan.configuration.cache.Configuration;
import org.infinispan.hibernate.... | 1,728 | 34.285714 | 88 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/ExpectingInterceptor.java | package org.infinispan.test.hibernate.cache.commons.util;
import org.infinispan.AdvancedCache;
import org.infinispan.commands.VisitableCommand;
import org.infinispan.context.InvocationContext;
import org.infinispan.interceptors.BaseCustomAsyncInterceptor;
import org.infinispan.interceptors.InvocationFinallyAction;
imp... | 5,474 | 37.286713 | 133 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TxUtil.java | package org.infinispan.test.hibernate.cache.commons.util;
import java.util.concurrent.Callable;
import org.hibernate.Session;
import org.hibernate.SessionBuilder;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform;
import org.hib... | 4,849 | 31.77027 | 164 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestRegionFactoryProvider.java | package org.infinispan.test.hibernate.cache.commons.util;
import java.util.Properties;
import java.util.ServiceLoader;
import org.hibernate.Cache;
import org.hibernate.cache.spi.RegionFactory;
import org.infinispan.hibernate.cache.commons.InfinispanBaseRegion;
public interface TestRegionFactoryProvider {
TestRegi... | 881 | 27.451613 | 110 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/CacheTestSupport.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.util;
import java.util.HashSet... | 2,826 | 25.669811 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestSynchronization.java | package org.infinispan.test.hibernate.cache.commons.util;
import org.hibernate.cache.spi.access.SoftLock;
import org.infinispan.test.hibernate.cache.commons.util.TestSessionAccess.TestRegionAccessStrategy;
/**
* @author Radim Vansa <rvansa@redhat.com>
*/
public abstract class TestSynchronization implements ja... | 2,089 | 27.630137 | 130 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/TestConfigurationHook.java | package org.infinispan.test.hibernate.cache.commons.util;
import static org.infinispan.hibernate.cache.spi.InfinispanProperties.DEF_PENDING_PUTS_RESOURCE;
import static org.infinispan.hibernate.cache.spi.InfinispanProperties.DEF_TIMESTAMPS_RESOURCE;
import java.util.Map;
import java.util.Properties;
import org.infin... | 3,264 | 47.014706 | 140 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/util/ClassLoaderAwareCache.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.util;
import static org.infini... | 6,974 | 39.789474 | 125 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/timestamp/TimestampsRegionImplTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.timestamp;
import java.util.Pr... | 5,331 | 39.70229 | 108 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/access/PutFromLoadValidatorUnitTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.access;
import static org.infi... | 17,677 | 31.919926 | 110 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/tm/XaTransactionImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.tm;
import java.sql.Connection... | 10,016 | 30.8 | 119 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/tm/NarayanaStandaloneJtaPlatform.java | package org.infinispan.test.hibernate.cache.commons.tm;
import org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
import jakarta.transaction.TransactionManager;
import jakarta.transaction.UserTransaction;
public ... | 1,060 | 30.205882 | 111 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/tm/JtaPlatformImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.tm;
import org.hibernate.Trans... | 1,753 | 29.241379 | 102 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/tm/JBossStandaloneJtaExampleTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.tm;
import static org.junit.As... | 10,521 | 37.683824 | 160 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/tm/XaTransactionManagerImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.tm;
import jakarta.transaction.... | 3,462 | 36.236559 | 108 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/tm/XaConnectionProvider.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.tm;
import java.sql.Connection... | 3,234 | 30.407767 | 123 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/query/QueryStalenessTest.java | package org.infinispan.test.hibernate.cache.commons.query;
import java.util.Properties;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.Environment;
import org.hibernate.testing.AfterClassOnce;
import org.hibernate.testing.BeforeClassOnce;
import org.hibernate.tes... | 4,001 | 39.836735 | 158 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/query/QueryRegionImplTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.query;
import java.util.ArrayL... | 14,620 | 30.993435 | 132 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/NonTxQueryTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import java.util.List;
import java.util.Map;
import org.hibernate.Session;
import org.hibernate.query.Query;
import org.hibernate.stat.Statistics;
import org.infinispan.test.hibernate.cache.commons.functional... | 2,254 | 28.285714 | 91 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/SingleNodeTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.concurrent.Callable;
import org.hibernate.Session;
import org.hibernate.SessionBuilder;
import org.hibernate.engine.spi.SessionFactoryImplementor... | 2,682 | 40.276923 | 133 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/MultiTenancyTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.hibernate.boot.SessionFactoryBuilder;
import org.hibernate.boot.registry.Sta... | 4,418 | 36.769231 | 104 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/CustomConfigTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.cfg.Available... | 2,425 | 32.694444 | 116 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/AbstractFunctionalTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional;
import static org.... | 14,634 | 45.60828 | 244 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/EqualityTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import org.hibernate.stat.Statistics;
import org.infinispan.test.hibernate.cache.commons.functional.entities.Name;
import org.infinispan.test.hibernate.cache.commons.functional.entities.Person;
import org.junit.Test;
import java.util.List;
import static... | 2,064 | 29.820896 | 85 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/ReadOnlyTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional;
import static org.... | 3,354 | 32.55 | 114 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/QualifierTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.hibernate.cfg.AvailableSettings;
import org.infinispan.hibernate.cache.commons.I... | 1,833 | 38.021277 | 120 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/ReadWriteTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional;
import static org.... | 24,138 | 32.90309 | 112 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/TombstoneTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.infinispan.test.TestingUtil.extractInterceptorChain;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
imp... | 12,987 | 36.537572 | 204 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/LocalCacheTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.infinispan.hibernate.cache.spi.InfinispanProperties.INFINISPAN_CONFIG_LOCAL_RESOURCE;
import static org.infinispan.hibernate.cache.spi.InfinispanProperties.INFINISPAN_CONFIG_RESOURCE_PROP;
import static org.junit.Assert.assertEquals;
im... | 2,209 | 36.457627 | 158 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/JndiRegionFactoryTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional;
import static org.... | 6,374 | 35.849711 | 123 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/NoTenancyTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.Collections;
import java.util.List;
import org.infinispan.AdvancedCache;
import org.infinispan.context.Flag;
import org.infinispan.hibernate.cach... | 1,322 | 30.5 | 104 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/VersionedTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.f... | 13,603 | 35.767568 | 139 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/InvalidationTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.infinispan.test.TestingUtil.extractInterceptorChain;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import... | 10,162 | 35.557554 | 115 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/AbstractNonInvalidationTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.lang.invoke.MethodHandles;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
imp... | 8,788 | 37.548246 | 184 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/EntitiesAndCollectionsInSameRegionTest.java | package org.infinispan.test.hibernate.cache.commons.functional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.hibernate.Hibernate;
import org.hibernate.annotations.Cache;... | 7,297 | 30.868996 | 96 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/BulkOperationsTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional;
import static org.... | 9,445 | 33.985185 | 134 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/ConcurrentWriteTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional;
import static org.... | 13,661 | 30.551963 | 121 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/NaturalIdOnManyToOne.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import or... | 1,205 | 18.451613 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/WithSimpleId.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import ja... | 656 | 25.28 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/WithEmbeddedId.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import ja... | 683 | 26.36 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/AccountHolder.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import jav... | 1,956 | 20.744444 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/OtherItem.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import ja... | 1,350 | 18.028169 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Citizen.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
//$Id$
package org.infinispan.test.hibernate.cache.commons.functional.entities;
i... | 1,587 | 17.045455 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Person.java | package org.infinispan.test.hibernate.cache.commons.functional.entities;
import java.io.Serializable;
import jakarta.persistence.Cacheable;
import jakarta.persistence.EmbeddedId;
import jakarta.persistence.Entity;
import jakarta.persistence.Transient;
/**
* Test class using EmbeddedId
*
* @author Radim Vansa <... | 1,045 | 17.350877 | 72 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Contact.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import jav... | 1,615 | 18.238095 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Account.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import ja... | 2,479 | 20.196581 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/VersionedItem.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
/**
* @... | 1,006 | 18.365385 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/PK.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import ja... | 1,010 | 20.0625 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Age.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import ja... | 976 | 20.711111 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Customer.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import jav... | 1,101 | 17.366667 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Name.java | package org.infinispan.test.hibernate.cache.commons.functional.entities;
import java.io.Serializable;
import jakarta.persistence.Embeddable;
/**
* Test class with incorrectly defined equals and hashCode.
*
* @author Radim Vansa <rvansa@redhat.com>
*/
@Embeddable
public class Name implements Serializable {
... | 981 | 18.64 | 72 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/Item.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.entities;
import jav... | 2,425 | 18.723577 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/entities/State.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
//$Id$
package org.infinispan.test.hibernate.cache.commons.functional.entities;
im... | 955 | 17.745098 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/classloader/SelectedClassnameClassLoader.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.classloader;
import... | 8,151 | 38.004785 | 131 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/PartialFutureUpdateTest.java | package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import org.infinispan.commands.functional.ReadWriteKeyCommand;
import org.infinispan.context.InvocationContext;
import org.infinispan.hibernate.cache.commons.util.FutureUpdate;
import org.infinispan.hibernate.cache.commons.util.InfinispanMessageLo... | 2,107 | 35.344828 | 123 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/EntityCollectionInvalidationTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import sta... | 20,787 | 36.055258 | 134 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/AccountDAO.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import sta... | 5,713 | 31.101124 | 118 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/DualNodeJtaTransactionManagerImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import jav... | 4,947 | 33.361111 | 135 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/NaturalIdInvalidationTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import sta... | 10,275 | 33.483221 | 131 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/DualNodeTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import ja... | 5,057 | 30.030675 | 142 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/AbstractPartialUpdateTest.java | package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.stat.Statistics;
import org.infinispan.AdvancedCache;
import org.infinispan.commands.functional.ReadWriteKeyCommand;
import org.infinispan.hibernate.cache.commons.util... | 4,969 | 36.368421 | 119 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/ClusterAware.java | package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import java.util.Hashtable;
import org.infinispan.manager.EmbeddedCacheManager;
public class ClusterAware {
public static final Hashtable<String, Embedd... | 766 | 29.68 | 125 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/DualNodeConnectionProviderImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import jav... | 3,280 | 31.81 | 116 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/SessionRefreshTest.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import sta... | 4,204 | 33.467213 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/DualNodeJtaTransactionImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import jav... | 9,634 | 30.486928 | 128 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/DualNodeJtaPlatformImpl.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import jav... | 2,206 | 28.426667 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/test/java/org/infinispan/test/hibernate/cache/commons/functional/cluster/PartialTombstoneTest.java | package org.infinispan.test.hibernate.cache.commons.functional.cluster;
import org.infinispan.commands.functional.ReadWriteKeyCommand;
import org.infinispan.context.InvocationContext;
import org.infinispan.hibernate.cache.commons.util.InfinispanMessageLogger;
import org.infinispan.hibernate.cache.commons.util.Tombston... | 2,748 | 34.701299 | 147 | java |
null | infinispan-main/hibernate/cache-commons/src/main/java/org/infinispan/hibernate/cache/commons/package-info.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
/**
* Defines the integration with Infinispan as a second-level cache service.
*... | 370 | 29.916667 | 94 | java |
null | infinispan-main/hibernate/cache-commons/src/main/java/org/infinispan/hibernate/cache/commons/TimeSource.java | package org.infinispan.hibernate.cache.commons;
public interface TimeSource {
long nextTimestamp();
}
| 106 | 16.833333 | 47 | java |
null | infinispan-main/hibernate/cache-commons/src/main/java/org/infinispan/hibernate/cache/commons/InfinispanBaseRegion.java | package org.infinispan.hibernate.cache.commons;
import org.infinispan.AdvancedCache;
/**
* Any region using {@link AdvancedCache} for the underlying storage.
*/
public interface InfinispanBaseRegion extends TimeSource {
AdvancedCache getCache();
String getName();
default void invalidateRegion() {
b... | 550 | 17.366667 | 69 | java |
null | infinispan-main/hibernate/cache-commons/src/main/java/org/infinispan/hibernate/cache/commons/JndiCacheManagerProvider.java | package org.infinispan.hibernate.cache.commons;
import java.util.Map;
import java.util.Properties;
import java.util.stream.Collectors;
import org.hibernate.cfg.Environment;
import org.hibernate.engine.jndi.internal.JndiServiceInitiator;
import org.hibernate.engine.jndi.spi.JndiService;
import org.infinispan.hibernate... | 2,283 | 41.296296 | 128 | java |
null | infinispan-main/hibernate/cache-commons/src/main/java/org/infinispan/hibernate/cache/commons/DataType.java | package org.infinispan.hibernate.cache.commons;
import java.util.function.Consumer;
import org.infinispan.configuration.cache.Configuration;
import org.infinispan.hibernate.cache.commons.util.InfinispanMessageLogger;
import org.infinispan.hibernate.cache.spi.InfinispanProperties;
public enum DataType {
ENTITY(Inf... | 2,489 | 39.16129 | 125 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.