gpt4 book ai didi

org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.isMappingMode()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 11:39:40 25 4
gpt4 key购买 nike

本文整理了Java中org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.isMappingMode()方法的一些代码示例,展示了XMLPersistenceMetaDataParser.isMappingMode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLPersistenceMetaDataParser.isMappingMode()方法的具体详情如下:
包路径:org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
类名称:XMLPersistenceMetaDataParser
方法名:isMappingMode

XMLPersistenceMetaDataParser.isMappingMode介绍

[英]Convenience method for interpreting #getMode.
[中]解释#getMode的便捷方法。

代码示例

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Returns true if we're in mapping mode or in metadata mode with
 * mapping override enabled.
 */
protected boolean isMappingOverrideMode() {
  return isMappingMode() || (_override && isMetaDataMode());
}

代码示例来源:origin: org.apache.openjpa/openjpa-persistence

/**
 * Returns true if we're in mapping mode or in metadata mode with
 * mapping override enabled.
 */
protected boolean isMappingOverrideMode() {
  return isMappingMode() || (_override && isMetaDataMode());
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

/**
 * Returns true if we're in mapping mode or in metadata mode with
 * mapping override enabled.
 */
protected boolean isMappingOverrideMode() {
  return isMappingMode() || (_override && isMetaDataMode());
}

代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence

/**
 * Returns true if we're in mapping mode or in metadata mode with
 * mapping override enabled.
 */
protected boolean isMappingOverrideMode() {
  return isMappingMode() || (_override && isMetaDataMode());
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

/**
 * Returns true if we're in mapping mode or in metadata mode with
 * mapping override enabled.
 */
protected boolean isMappingOverrideMode() {
  return isMappingMode() || (_override && isMetaDataMode());
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

if (meta != null
  && ((isMetaDataMode() && (meta.getSourceMode() & MODE_META) != 0)
  || (isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0)))
    meta.setIdentityType(meta.ID_UNKNOWN);
if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING, true);
if (isMappingOverrideMode())

代码示例来源:origin: org.apache.openjpa/openjpa-all

else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openejb.patch/openjpa

else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openjpa/openjpa-persistence

if (isMetaDataMode())
  meta.setSourceMode(MODE_META);
else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence

if (isMetaDataMode())
  meta.setSourceMode(MODE_META);
else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openjpa/openjpa-persistence

else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence

else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openejb.patch/openjpa

if (meta != null
  && ((isMetaDataMode() && (meta.getSourceMode() & MODE_META) != 0)
  || (isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0)))
if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING, true);
if (isMappingOverrideMode())

代码示例来源:origin: org.apache.openjpa/openjpa-all

if (isMetaDataMode())
  meta.setSourceMode(MODE_META);
else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openejb.patch/openjpa

if (isMetaDataMode())
  meta.setSourceMode(MODE_META);
else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence

if (meta != null
  && ((isMetaDataMode() && (meta.getSourceMode() & MODE_META) != 0)
  || (isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0)))
if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING, true);
if (isMappingOverrideMode())

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

if (isMetaDataMode())
  meta.setSourceMode(MODE_META);
else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

代码示例来源:origin: org.apache.openjpa/openjpa-persistence

if (meta != null
  && ((isMetaDataMode() && (meta.getSourceMode() & MODE_META) != 0)
  || (isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0)))
if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING, true);
if (isMappingOverrideMode())

代码示例来源:origin: org.apache.openjpa/openjpa-all

if (meta != null
  && ((isMetaDataMode() && (meta.getSourceMode() & MODE_META) != 0)
  || (isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0)))
if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING, true);
if (isMappingOverrideMode())

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

if (isMetaDataMode())
  meta.setSourceMode(MODE_META);
else if (isMappingMode())
  meta.setSourceMode(MODE_MAPPING);
else

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com