org.hibernate.annotations.NotFoundAction Java Examples

The following examples show how to use org.hibernate.annotations.NotFoundAction. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InterroleInterfaceEntity.java    From jeecg with Apache License 2.0 5 votes vote down vote up
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "interface_id")

@NotFound(action=NotFoundAction.IGNORE)

public TSInterfaceEntity getInterfaceEntity() {
	return this.interfaceEntity;
}
 
Example #2
Source File: TSDepartAuthgFunctionRelEntity.java    From jeecg with Apache License 2.0 5 votes vote down vote up
/**
 *方法: 取得java.lang.String
 *@return: java.lang.String  权限ID
 */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "auth_id")

@NotFound(action=NotFoundAction.IGNORE)

public TSFunction getTsFunction() {
	return tsFunction;
}
 
Example #3
Source File: ReportFilter.java    From youkefu with Apache License 2.0 4 votes vote down vote up
@ManyToOne(fetch = FetchType.EAGER)
   @JoinColumn(name="tableproperty")
@NotFound(action=NotFoundAction.IGNORE)
public TableProperties getTableproperty() {
	return tableproperty;
}
 
Example #4
Source File: CubeLevel.java    From youkefu with Apache License 2.0 4 votes vote down vote up
@ManyToOne(fetch = FetchType.EAGER)
   @JoinColumn(name="tableproperty")
@NotFound(action=NotFoundAction.IGNORE)
public TableProperties getTableproperty() {
	return tableproperty;
}