Tabnine Logo
SimpleValueBinder.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.hibernate.cfg.annotations.SimpleValueBinder
constructor

Best Java code snippets using org.hibernate.cfg.annotations.SimpleValueBinder.<init> (Showing top 20 results out of 315)

origin: hibernate/hibernate-orm

private Property makePropertyAndValue() {
  validateBind();
  LOG.debugf( "MetadataSourceProcessor property %s with lazy=%s", name, lazy );
  final String containerClassName = holder.getClassName();
  holder.startingProperty( property );
  simpleValueBinder = new SimpleValueBinder();
  simpleValueBinder.setBuildingContext( buildingContext );
  simpleValueBinder.setPropertyName( name );
  simpleValueBinder.setReturnedClassName( returnedClassName );
  simpleValueBinder.setColumns( columns );
  simpleValueBinder.setPersistentClassName( containerClassName );
  simpleValueBinder.setType(
      property,
      returnedClass,
      containerClassName,
      holder.resolveAttributeConverterDescriptor( property )
  );
  simpleValueBinder.setReferencedEntityName( referencedEntityName );
  simpleValueBinder.setAccessType( accessType );
  SimpleValue propertyValue = simpleValueBinder.make();
  setValue( propertyValue );
  return makeProperty();
}
origin: hibernate/hibernate-orm

CollectionId collectionIdAnn = property.getAnnotation( CollectionId.class );
if ( collectionIdAnn != null ) {
  SimpleValueBinder simpleValue = new SimpleValueBinder();
origin: hibernate/hibernate-orm

SimpleValueBinder elementBinder = new SimpleValueBinder();
elementBinder.setBuildingContext( buildingContext );
elementBinder.setReturnedClassName( mapKeyType );
origin: hibernate/hibernate-orm

if ( !list.isOneToMany() ) indexColumn.forceNotNull();
indexColumn.setPropertyHolder( valueHolder );
SimpleValueBinder value = new SimpleValueBinder();
value.setColumns( new Ejb3Column[] { indexColumn } );
value.setExplicitType( "integer" );
origin: hibernate/hibernate-orm

SimpleValueBinder value = new SimpleValueBinder();
value.setPropertyName( propertyName );
value.setReturnedClassName( inferredData.getTypeName() );
origin: hibernate/hibernate-orm

holder.prepare( property );
SimpleValueBinder elementBinder = new SimpleValueBinder();
elementBinder.setBuildingContext( buildingContext );
elementBinder.setReturnedClassName( collType.getName() );
origin: org.hibernate/hibernate-annotations

private Property makePropertyAndValue() {
  validateBind();
  log.debug( "binding property {} with lazy={}", name, lazy );
  String containerClassName = holder == null ?
      null :
      holder.getClassName();
  simpleValueBinder = new SimpleValueBinder();
  simpleValueBinder.setMappings( mappings );
  simpleValueBinder.setPropertyName( name );
  simpleValueBinder.setReturnedClassName( returnedClassName );
  simpleValueBinder.setColumns( columns );
  simpleValueBinder.setPersistentClassName( containerClassName );
  simpleValueBinder.setType( property, returnedClass );
  simpleValueBinder.setMappings( mappings );
  simpleValueBinder.setReferencedEntityName( referencedEntityName );
  SimpleValue propertyValue = simpleValueBinder.make();
  setValue( propertyValue );
  return makeProperty();
}
origin: org.hibernate/hibernate-annotations

CollectionId collectionIdAnn = property.getAnnotation( CollectionId.class );
if ( collectionIdAnn != null ) {
  SimpleValueBinder simpleValue = new SimpleValueBinder();
origin: org.hibernate/hibernate-annotations

SimpleValueBinder elementBinder = new SimpleValueBinder();
elementBinder.setMappings( mappings );
elementBinder.setReturnedClassName( collType.getName() );
origin: org.hibernate/hibernate-annotations

SimpleValueBinder elementBinder = new SimpleValueBinder();
elementBinder.setMappings( mappings );
elementBinder.setReturnedClassName( mapKeyType );
origin: org.hibernate/hibernate-annotations

SimpleValueBinder value = new SimpleValueBinder();
value.setPropertyName( propertyName );
value.setReturnedClassName( inferredData.getTypeName() );
origin: org.hibernate/hibernate-annotations

if ( !list.isOneToMany() ) indexColumn.forceNotNull();
indexColumn.setPropertyHolder( valueHolder );
SimpleValueBinder value = new SimpleValueBinder();
value.setColumns( new Ejb3Column[] { indexColumn } );
value.setExplicitType( "integer" );
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public Property bind() {
  validateBind();
  if ( log.isDebugEnabled() ) {
    log.debug( "binding property " + name + " with lazy=" + lazy );
  }
  String containerClassName = holder == null ? null : holder.getClassName();
  SimpleValueBinder value = new SimpleValueBinder();
  value.setMappings( mappings );
  value.setPropertyName( name );
  value.setReturnedClassName( returnedClassName );
  value.setColumns( columns );
  value.setPersistentClassName( containerClassName );
  value.setType( property, returnedClass );
  value.setMappings( mappings );
  SimpleValue propertyValue = value.make();
  setValue( propertyValue );
  Property prop = make();
  holder.addProperty( prop, columns );
  return prop;
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

SimpleValueBinder value = new SimpleValueBinder();
value.setPropertyName( inferredData.getPropertyName() );
value.setReturnedClassName( inferredData.getTypeName() );
origin: org.hibernate/com.springsource.org.hibernate

CollectionId collectionIdAnn = property.getAnnotation( CollectionId.class );
if ( collectionIdAnn != null ) {
  SimpleValueBinder simpleValue = new SimpleValueBinder();
origin: org.hibernate/com.springsource.org.hibernate

private Property makePropertyAndValue() {
  validateBind();
  LOG.debugf( "MetadataSourceProcessor property %s with lazy=%s", name, lazy );
  String containerClassName = holder == null ?
      null :
      holder.getClassName();
  simpleValueBinder = new SimpleValueBinder();
  simpleValueBinder.setMappings( mappings );
  simpleValueBinder.setPropertyName( name );
  simpleValueBinder.setReturnedClassName( returnedClassName );
  simpleValueBinder.setColumns( columns );
  simpleValueBinder.setPersistentClassName( containerClassName );
  simpleValueBinder.setType( property, returnedClass );
  simpleValueBinder.setMappings( mappings );
  simpleValueBinder.setReferencedEntityName( referencedEntityName );
  SimpleValue propertyValue = simpleValueBinder.make();
  setValue( propertyValue );
  return makeProperty();
}
origin: org.hibernate/com.springsource.org.hibernate.core

private Property makePropertyAndValue() {
  validateBind();
  LOG.debugf( "MetadataSourceProcessor property %s with lazy=%s", name, lazy );
  String containerClassName = holder == null ?
      null :
      holder.getClassName();
  simpleValueBinder = new SimpleValueBinder();
  simpleValueBinder.setMappings( mappings );
  simpleValueBinder.setPropertyName( name );
  simpleValueBinder.setReturnedClassName( returnedClassName );
  simpleValueBinder.setColumns( columns );
  simpleValueBinder.setPersistentClassName( containerClassName );
  simpleValueBinder.setType( property, returnedClass );
  simpleValueBinder.setMappings( mappings );
  simpleValueBinder.setReferencedEntityName( referencedEntityName );
  SimpleValue propertyValue = simpleValueBinder.make();
  setValue( propertyValue );
  return makeProperty();
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

if ( ! list.isOneToMany() ) indexColumn.forceNotNull();
indexColumn.setPropertyHolder( valueHolder );
SimpleValueBinder value = new SimpleValueBinder();
value.setColumns( new Ejb3Column[]{indexColumn} );
value.setExplicitType( "integer" );
origin: org.hibernate/com.springsource.org.hibernate

if ( !list.isOneToMany() ) indexColumn.forceNotNull();
indexColumn.setPropertyHolder( valueHolder );
SimpleValueBinder value = new SimpleValueBinder();
value.setColumns( new Ejb3Column[] { indexColumn } );
value.setExplicitType( "integer" );
origin: org.hibernate/com.springsource.org.hibernate.core

if ( !list.isOneToMany() ) indexColumn.forceNotNull();
indexColumn.setPropertyHolder( valueHolder );
SimpleValueBinder value = new SimpleValueBinder();
value.setColumns( new Ejb3Column[] { indexColumn } );
value.setExplicitType( "integer" );
org.hibernate.cfg.annotationsSimpleValueBinder<init>

Popular methods of SimpleValueBinder

  • fillSimpleValue
  • make
  • setColumns
  • setExplicitType
  • setPersistentClassName
  • setPropertyName
  • setReturnedClassName
  • setType
  • validate
  • getTemporalType
  • isVersion
  • linkWithValue
  • isVersion,
  • linkWithValue,
  • setKey,
  • setMappings,
  • setReferencedEntityName,
  • setTable,
  • setVersion,
  • getEnumType,
  • setTimestampVersionType

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JFrame (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now