congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SimpleValueBinder.validate
Code IndexAdd Tabnine to your IDE (free)

How to use
validate
method
in
org.hibernate.cfg.annotations.SimpleValueBinder

Best Java code snippets using org.hibernate.cfg.annotations.SimpleValueBinder.validate (Showing top 5 results out of 315)

origin: hibernate/hibernate-orm

public SimpleValue make() {
  validate();
  LOG.debugf( "building SimpleValue for %s", propertyName );
  if ( table == null ) {
    table = columns[0].getTable();
  }
  simpleValue = new SimpleValue( buildingContext, table );
  if ( isVersion ) {
    simpleValue.makeVersion();
  }
  if ( isNationalized ) {
    simpleValue.makeNationalized();
  }
  if ( isLob ) {
    simpleValue.makeLob();
  }
  linkWithValue();
  boolean isInSecondPass = buildingContext.getMetadataCollector().isInSecondPass();
  if ( !isInSecondPass ) {
    //Defer this to the second pass
    buildingContext.getMetadataCollector().addSecondPass( new SetSimpleValueTypeSecondPass( this ) );
  }
  else {
    //We are already in second pass
    fillSimpleValue();
  }
  return simpleValue;
}
origin: org.hibernate/hibernate-annotations

public SimpleValue make() {
      
  validate();
  log.debug( "building SimpleValue for {}", propertyName );
  if ( table == null ) {
    table = columns[0].getTable();
  }
  simpleValue = new SimpleValue( table );
  linkWithValue();
  boolean isInSecondPass = mappings.isInSecondPass();
  SetSimpleValueTypeSecondPass secondPass = new SetSimpleValueTypeSecondPass(this);
  if (!isInSecondPass) {
    //Defer this to the second pass
    mappings.addSecondPass(secondPass);
  }
  else {
    //We are already in second pass
    fillSimpleValue();
  }
  return simpleValue;
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public SimpleValue make() {
  validate();
  log.debug( "building SimpleValue for " + propertyName );
  if (table == null) {
    table = columns[0].getTable();
  }
  SimpleValue simpleValue = new SimpleValue( table );
  return fillSimpleValue( simpleValue );
}
origin: org.hibernate/com.springsource.org.hibernate

public SimpleValue make() {
  validate();
  LOG.debugf( "building SimpleValue for %s", propertyName );
  if ( table == null ) {
    table = columns[0].getTable();
  }
  simpleValue = new SimpleValue( mappings, table );
  linkWithValue();
  boolean isInSecondPass = mappings.isInSecondPass();
  SetSimpleValueTypeSecondPass secondPass = new SetSimpleValueTypeSecondPass( this );
  if ( !isInSecondPass ) {
    //Defer this to the second pass
    mappings.addSecondPass( secondPass );
  }
  else {
    //We are already in second pass
    fillSimpleValue();
  }
  return simpleValue;
}
origin: org.hibernate/com.springsource.org.hibernate.core

public SimpleValue make() {
  validate();
  LOG.debugf( "building SimpleValue for %s", propertyName );
  if ( table == null ) {
    table = columns[0].getTable();
  }
  simpleValue = new SimpleValue( mappings, table );
  linkWithValue();
  boolean isInSecondPass = mappings.isInSecondPass();
  SetSimpleValueTypeSecondPass secondPass = new SetSimpleValueTypeSecondPass( this );
  if ( !isInSecondPass ) {
    //Defer this to the second pass
    mappings.addSecondPass( secondPass );
  }
  else {
    //We are already in second pass
    fillSimpleValue();
  }
  return simpleValue;
}
org.hibernate.cfg.annotationsSimpleValueBindervalidate

Popular methods of SimpleValueBinder

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • findViewById (Activity)
  • startActivity (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top PhpStorm plugins
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