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

net.java.ao.test.jdbc.Jdbc Maven / Gradle / Ivy

There is a newer version: 6.1.1
Show newest version
package net.java.ao.test.jdbc;

import net.java.ao.EntityManager;
import net.java.ao.test.junit.ActiveObjectsJUnitRunner;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Use with {@link ActiveObjectsJUnitRunner} to specify the JDBC configuration for the
 * {@link EntityManager} used in unit tests.  This can be either one of the
 * database-specific implementations of {@link JdbcConfiguration}, such as {@link Postgres},
 * or {@link DynamicJdbcConfiguration}. The default is {@link Hsql}.
 */
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Inherited
public @interface Jdbc {
    Class value() default DynamicJdbcConfiguration.class;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy