congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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