org.hibernate.mapping.Join.getPersistentClass()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(144)

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

Join.getPersistentClass介绍

暂无

代码示例

代码示例来源:origin: hibernate/hibernate-orm

/**
 * @deprecated User {@link Component#Component(MetadataBuildingContext, Join)} instead.
 */
@Deprecated
public Component(MetadataImplementor metadata, Join join) throws MappingException {
  this( metadata, join.getTable(), join.getPersistentClass() );
}

代码示例来源:origin: hibernate/hibernate-orm

@Override
public void addProperty(Property prop) {
  properties.add(prop);
  declaredProperties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}

代码示例来源:origin: hibernate/hibernate-orm

public void addMappedsuperclassProperty(Property prop) {
  properties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}

代码示例来源:origin: hibernate/hibernate-orm

public Component(MetadataBuildingContext metadata, Join join) throws MappingException {
  this( metadata, join.getTable(), join.getPersistentClass() );
}

代码示例来源:origin: hibernate/hibernate-orm

Join secondaryTableJoin,
  final EntityTableXref entityTableXref) {
final PersistentClass persistentClass = secondaryTableJoin.getPersistentClass();

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

public void addProperty(Property prop) {
  properties.add(prop);
  declaredProperties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}
public void addMappedsuperclassProperty(Property prop) {

代码示例来源:origin: hibernate/hibernate

public void addProperty(Property prop) {
  properties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}
public boolean containsProperty(Property prop) {

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

public void addProperty(Property prop) {
  properties.add(prop);
  declaredProperties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}
public void addMappedsuperclassProperty(Property prop) {

代码示例来源:origin: jboss.jboss-embeddable-ejb3/hibernate-all

public void addProperty(Property prop) {
  properties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}
public boolean containsProperty(Property prop) {

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

public void addMappedsuperclassProperty(Property prop) {
  properties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}

代码示例来源:origin: hibernate/hibernate

public Component(Join join) throws MappingException {
  super( join.getTable() );
  this.owner = join.getPersistentClass();
}

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

public Component(Mappings mappings, Join join) throws MappingException {
  super( mappings, join.getTable() );
  this.owner = join.getPersistentClass();
}

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

public void addMappedsuperclassProperty(Property prop) {
  properties.add(prop);
  prop.setPersistentClass( getPersistentClass() );
}

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

public Component(Mappings mappings, Join join) throws MappingException {
  super( mappings, join.getTable() );
  this.owner = join.getPersistentClass();
}

代码示例来源:origin: org.hibernate.orm/hibernate-core

public Component(MetadataBuildingContext metadata, Join join) throws MappingException {
  this( metadata, join.getMappedTable(), join.getPersistentClass() );
}

代码示例来源:origin: org.hibernate.orm/hibernate-core

public void addMappedsuperclassProperty(Property prop) {
  if ( declaredAttributeMappings == null ) {
    declaredAttributeMappings = new TreeMap<>(  );
  }
  attributeMappings.put( prop.getName(), prop );
  prop.setPersistentClass( getPersistentClass() );
}

代码示例来源:origin: org.hibernate.orm/hibernate-core

@Override
public void addProperty(Property prop) {
  if(attributeMappings == null){
    attributeMappings = new TreeMap<>(  );
  }
  if ( declaredAttributeMappings == null ) {
    declaredAttributeMappings = new TreeMap<>(  );
  }
  attributeMappings.putIfAbsent( prop.getName(), prop );
  declaredAttributeMappings.putIfAbsent( prop.getName(), prop );
  prop.setPersistentClass( getPersistentClass() );
}

代码示例来源:origin: hibernate/hibernate

private static void bindJoin(Element node, Join join, Mappings mappings,
    java.util.Map inheritedMetas) throws MappingException {
  PersistentClass persistentClass = join.getPersistentClass();
  String path = persistentClass.getEntityName();
        subnode,
        (Component) value,
        join.getPersistentClass().getClassName(),
        propertyName,
        subpath,

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

private static void bindJoin(Element node, Join join, Mappings mappings,
    java.util.Map inheritedMetas) throws MappingException {
  PersistentClass persistentClass = join.getPersistentClass();
  String path = persistentClass.getEntityName();
          subnode,
          (Component) value,
          join.getPersistentClass().getClassName(),
          propertyName,
          subpath,

代码示例来源:origin: org.hibernate.orm/hibernate-core

Join secondaryTableJoin,
  final EntityTableXref entityTableXref) {
final PersistentClass persistentClass = secondaryTableJoin.getPersistentClass();

相关文章