All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.testing.junit5.DatabaseAgnostic Maven / Gradle / Ivy

/*
 * 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.hibernate.testing.junit5;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Meant to mark tests that should only be run on the default
 * testing database.  Generally indicates the test does not
 * use JDBC at all.
 *
 * todo (6.0) : add JUnit extension to skip these on database runs other than the default one?
 *
 * @author Steve Ebersole
 */
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface DatabaseAgnostic {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy