本文整理了Java中org.hibernate.mapping.Property.setPropertyAccessorName()
方法的一些代码示例,展示了Property.setPropertyAccessorName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Property.setPropertyAccessorName()
方法的具体详情如下:
包路径:org.hibernate.mapping.Property
类名称:Property
方法名:setPropertyAccessorName
暂无
代码示例来源:origin: hibernate/hibernate-orm
synthProp.setInsertable( false );
synthProp.setValue( embeddedComp );
synthProp.setPropertyAccessorName( "embedded" );
ownerEntity.addProperty( synthProp );
代码示例来源:origin: hibernate/hibernate-orm
property.setPropertyAccessorName( referencedProperty.getPropertyAccessorName() );
SimpleValue value = new SimpleValue( buildingContext, component.getTable() );
property.setValue( value );
代码示例来源:origin: hibernate/hibernate-orm
property.setPropertyAccessorName(
StringHelper.isNotEmpty( propertySource.getPropertyAccessorName() )
? propertySource.getPropertyAccessorName()
代码示例来源:origin: hibernate/hibernate-orm
property.setPropertyAccessorName( referencedProperty.getPropertyAccessorName() );
Component value = new Component( buildingContext, component.getOwner() );
代码示例来源:origin: hibernate/hibernate-orm
prop.setLazyGroup( lazyGroup );
prop.setCascade( cascade );
prop.setPropertyAccessorName( accessType.getType() );
prop.setPropertyAccessorName( accessor.value() );
代码示例来源:origin: hibernate/hibernate-orm
property.setInsertable( false );
property.setValue( mapper );
property.setPropertyAccessorName( "embedded" );
persistentClass.addProperty( property );
entityBinder.setIgnoreIdAnnotations( true );
代码示例来源:origin: hibernate/hibernate-orm
/**
* create a property copy reusing the same value
*/
public static Property shallowCopy(Property property) {
Property clone = new Property();
clone.setCascade( property.getCascade() );
clone.setInsertable( property.isInsertable() );
clone.setLazy( property.isLazy() );
clone.setName( property.getName() );
clone.setNaturalIdentifier( property.isNaturalIdentifier() );
clone.setOptimisticLocked( property.isOptimisticLocked() );
clone.setOptional( property.isOptional() );
clone.setPersistentClass( property.getPersistentClass() );
clone.setPropertyAccessorName( property.getPropertyAccessorName() );
clone.setSelectable( property.isSelectable() );
clone.setUpdateable( property.isUpdateable() );
clone.setValue( property.getValue() );
return clone;
}
代码示例来源:origin: hibernate/hibernate-orm
newProperty.setPropertyAccessorName( current.getPropertyAccessorName() );
newProperty.setSelectable( current.isSelectable() );
newProperty.setValue(
代码示例来源:origin: hibernate/hibernate-orm
property.setInsertable( false );
property.setValue( mapper );
property.setPropertyAccessorName( "embedded" );
rootEntityDescriptor.addProperty( property );
代码示例来源:origin: org.hibernate/hibernate-annotations
synthProp.setInsertable( false );
synthProp.setValue( embeddedComp );
synthProp.setPropertyAccessorName( "embedded" );
ownerEntity.addProperty( synthProp );
代码示例来源:origin: org.hibernate/hibernate-annotations
newProperty.setPropertyAccessorName( current.getPropertyAccessorName() );
newProperty.setSelectable( current.isSelectable() );
newProperty.setValue( createFormulatedValue( current.getValue(), collection, targetPropertyName,
代码示例来源:origin: org.hibernate/hibernate-annotations
property.setPropertyAccessorName( referencedProperty.getPropertyAccessorName() );
SimpleValue value = new SimpleValue( component.getTable() );
property.setValue( value );
代码示例来源:origin: org.jspresso.framework/jspresso-hibernate
@SuppressWarnings("unchecked")
private void fixPropertyAccessors(PersistentClass mappedEntity) {
Iterator<Property> properties = mappedEntity
.getPropertyIterator();
while (properties.hasNext()) {
properties.next().setPropertyAccessorName(
EntityPropertyAccessor.class.getName());
}
}
代码示例来源:origin: org.hibernate/hibernate-annotations
prop.setLazy( lazy );
prop.setCascade( cascade );
prop.setPropertyAccessorName( accessType.getType() );
Generated ann = property != null ?
property.getAnnotation( Generated.class ) :
代码示例来源:origin: org.hibernate/hibernate-annotations
property.setInsertable( false );
property.setValue( mapper );
property.setPropertyAccessorName( "embedded" );
persistentClass.addProperty( property );
entityBinder.setIgnoreIdAnnotations( true );
代码示例来源:origin: org.hibernate/hibernate-annotations
/**
* create a property copy reusing the same value
*/
public static Property shallowCopy(Property property) {
Property clone = new Property();
clone.setCascade( property.getCascade() );
clone.setInsertable( property.isInsertable() );
clone.setLazy( property.isLazy() );
clone.setName( property.getName() );
clone.setNodeName( property.getNodeName() );
clone.setNaturalIdentifier( property.isNaturalIdentifier() );
clone.setOptimisticLocked( property.isOptimisticLocked() );
clone.setOptional( property.isOptional() );
clone.setPersistentClass( property.getPersistentClass() );
clone.setPropertyAccessorName( property.getPropertyAccessorName() );
clone.setSelectable( property.isSelectable() );
clone.setUpdateable( property.isUpdateable() );
clone.setValue( property.getValue() );
return clone;
}
代码示例来源:origin: org.hibernate.orm/hibernate-core
public Property shallowCopy() {
Property clone = new Property( context );
clone.setCascade( getCascade() );
clone.setInsertable( isInsertable() );
clone.setLazy( isLazy() );
clone.setName( getName() );
clone.setNaturalIdentifier( isNaturalIdentifier() );
clone.setOptimisticLocked( isOptimisticLocked() );
clone.setOptional( isOptional() );
clone.setPersistentClass( (PersistentClass) getEntity() );
clone.setPropertyAccessorName( getPropertyAccessorName() );
clone.setSelectable( isSelectable() );
clone.setUpdateable( isUpdateable() );
clone.setValue( getValue() );
return clone;
}
}
代码示例来源:origin: jboss.jboss-embeddable-ejb3/hibernate-all
/**
* create a property copy reusing the same value
*/
public static Property shallowCopy(Property property) {
Property clone = new Property();
clone.setCascade( property.getCascade() );
clone.setInsertable( property.isInsertable() );
clone.setLazy( property.isLazy() );
clone.setName( property.getName() );
clone.setNaturalIdentifier( property.isNaturalIdentifier() );
clone.setOptimisticLocked( property.isOptimisticLocked() );
clone.setOptional( property.isOptional() );
clone.setPersistentClass( property.getPersistentClass() );
clone.setPropertyAccessorName( property.getPropertyAccessorName() );
clone.setSelectable( property.isSelectable() );
clone.setUpdateable( property.isUpdateable() );
clone.setValue( property.getValue() );
return clone;
}
代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core
/**
* create a property copy reusing the same value
*/
public static Property shallowCopy(Property property) {
Property clone = new Property();
clone.setCascade( property.getCascade() );
clone.setInsertable( property.isInsertable() );
clone.setLazy( property.isLazy() );
clone.setName( property.getName() );
clone.setNodeName( property.getNodeName() );
clone.setNaturalIdentifier( property.isNaturalIdentifier() );
clone.setOptimisticLocked( property.isOptimisticLocked() );
clone.setOptional( property.isOptional() );
clone.setPersistentClass( property.getPersistentClass() );
clone.setPropertyAccessorName( property.getPropertyAccessorName() );
clone.setSelectable( property.isSelectable() );
clone.setUpdateable( property.isUpdateable() );
clone.setValue( property.getValue() );
return clone;
}
代码示例来源:origin: org.hibernate/com.springsource.org.hibernate
/**
* create a property copy reusing the same value
*/
public static Property shallowCopy(Property property) {
Property clone = new Property();
clone.setCascade( property.getCascade() );
clone.setInsertable( property.isInsertable() );
clone.setLazy( property.isLazy() );
clone.setName( property.getName() );
clone.setNodeName( property.getNodeName() );
clone.setNaturalIdentifier( property.isNaturalIdentifier() );
clone.setOptimisticLocked( property.isOptimisticLocked() );
clone.setOptional( property.isOptional() );
clone.setPersistentClass( property.getPersistentClass() );
clone.setPropertyAccessorName( property.getPropertyAccessorName() );
clone.setSelectable( property.isSelectable() );
clone.setUpdateable( property.isUpdateable() );
clone.setValue( property.getValue() );
return clone;
}
内容来源于网络,如有侵权,请联系作者删除!