作者:手机用户2602918323 | 来源:互联网 | 2023-09-02 11:35
本文整理了Java中org.ofbiz.core.entity.GenericValue.getRelatedOneCache()
方法的一些代码示例,展示了GenericValue.getRelatedOneCache()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GenericValue.getRelatedOneCache()
方法的具体详情如下:
包路径:org.ofbiz.core.entity.GenericValue
类名称:GenericValue
方法名:getRelatedOneCache
[英]Get the named Related Entity for the GenericValue from the persistent store, looking first in the global generic cache (for the moment this isn't true, is same as EmbeddedCache variant)
[中]从持久性存储中获取GenericValue的命名相关实体,首先查看全局通用缓存(目前情况并非如此,与EmbeddedCache variant相同)
代码示例
代码示例来源:origin: com.atlassian.ofbiz/entityengine
private static GenericValue getParentType(GenericValue typeValue) {
// assumes Parent relation is "Parent"
try {
return typeValue.getRelatedOneCache("Parent" + typeValue.getEntityName());
} catch (GenericEntityException e) {
Debug.logWarning(e);
return null;
}
}
代码示例来源:origin: com.atlassian.ofbiz/atlassian-ofbiz-entity
private static GenericValue getParentType(GenericValue typeValue) {
// assumes Parent relation is "Parent"
try {
return typeValue.getRelatedOneCache("Parent" + typeValue.getEntityName());
} catch (GenericEntityException e) {
Debug.logWarning(e);
return null;
}
}
代码示例来源:origin: org.ofbiz/ofbcore-jira-entity
private static GenericValue getParentType(GenericValue typeValue) {
// assumes Parent relation is "Parent"
try {
return typeValue.getRelatedOneCache("Parent" + typeValue.getEntityName());
} catch (GenericEntityException e) {
Debug.logWarning(e);
return null;
}
}