📄 package-info.java
字号:
/** * Test package for metatata facilities * It contains an example of filter metadata */@FilterDefs( { @FilterDef( name = "betweenLength", defaultCondition = ":minLength <= length and :maxLength >= length", parameters = { @ParamDef(name = "minLength", type = "integer"), @ParamDef(name = "maxLength", type = "integer") } ) })@TypeDefs( { @TypeDef( name = "caster", typeClass = CasterStringType.class, parameters = { @Parameter(name = "cast", value = "lower") } ) }) package org.hibernate.test.annotations.entity;import org.hibernate.annotations.FilterDef;import org.hibernate.annotations.FilterDefs;import org.hibernate.annotations.ParamDef;import org.hibernate.annotations.Parameter;import org.hibernate.annotations.TypeDef;import org.hibernate.annotations.TypeDefs;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -