Top Description Methods
org.hibernate.annotations

public @Interface ParamDef

extends Annotation
Annotations
@Target
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

Details about a parameter declared in a FilterDef.

Mainly used to support cases where the proper type cannot be deduced by Hibernate.

Authors
Steve Ebersole, Emmanuel Bernard
See Also
FilterDef#parameters()

Method Summary

Modifier and TypeMethod and Description
public String
name()

The name of the parameter.

public Class<?>
type()

The type to use when binding the parameter value.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

The name of the parameter.

typeback to summary
public Class<?> type()

The type to use when binding the parameter value.

Generally deduced from the bind value. Allows to specify a specific type to use.

The supplied Class can be one of the following: