org.hibernate.junit
Annotation Type RequiresDialect


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface RequiresDialect

Annotation used to indicate that a test should be run only when run against the indicated dialects.

Author:
Hardy Ferentschik

Required Element Summary
 java.lang.Class<? extends Dialect>[] value
          The dialects against which to run the test
 
Optional Element Summary
 boolean strictMatching
          Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).
 

Element Detail

value

public abstract java.lang.Class<? extends Dialect>[] value
The dialects against which to run the test

Returns:
The dialects

strictMatching

public abstract boolean strictMatching
Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).

Returns:
Should strict matching be used?
Default:
false


Copyright © 2010. All Rights Reserved.