Codota Logo
CopyIdentifierComponentSecondPass
Code IndexAdd Codota to your IDE (free)

How to use
CopyIdentifierComponentSecondPass
in
org.hibernate.cfg

Best Java code snippets using org.hibernate.cfg.CopyIdentifierComponentSecondPass (Showing top 13 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

Property referencedProperty = properties.next();
if ( referencedProperty.isComposite() ) {
  Property property = createComponentProperty( referencedPersistentClass, isExplicitReference, columnByReferencedName, index, referencedProperty );
  component.addProperty( property );
  Property property = createSimpleProperty( referencedPersistentClass, isExplicitReference, columnByReferencedName, index, referencedProperty );
  component.addProperty( property );
origin: hibernate/hibernate-orm

private void topologicalSort( List<CopyIdentifierComponentSecondPass> sorted, Set<CopyIdentifierComponentSecondPass> toSort ) {
  while (!toSort.isEmpty()) {
    CopyIdentifierComponentSecondPass independent = null;
    searchForIndependent:
    for ( CopyIdentifierComponentSecondPass secondPass : toSort ) {
      for ( CopyIdentifierComponentSecondPass other : toSort ) {
        if (secondPass.dependentUpon( other )) {
          continue searchForIndependent;
        }
      }
      independent = secondPass;
      break;
    }
    if (independent == null) {
      throw new MappingException( "cyclic dependency in derived identities" );
    }
    toSort.remove( independent );
    sorted.add( independent );
  }
}
origin: hibernate/hibernate-orm

value.addColumn( new Column( columnName ) );
if ( joinColumn != null ) {
  applyComponentColumnSizeValueToJoinColumn( column, joinColumn );
  joinColumn.linkWithValue( value );
origin: hibernate/hibernate-orm

if ( referencedEntityName != null ) {
  comp = createComponent( propertyHolder, inferredData, isComponentEmbedded, isIdentifierMapper, buildingContext );
  SecondPass sp = new CopyIdentifierComponentSecondPass(
      comp,
      referencedEntityName,
origin: org.hibernate.orm/hibernate-core

applyComponentColumnValuesToJoinColumn( column, joinColumn );
joinColumn.linkWithValue( value );
origin: org.hibernate/hibernate-annotations

if ( referencedEntityName != null ) {
  comp = createComponent( propertyHolder, inferredData, isComponentEmbedded, isIdentifierMapper );
  SecondPass sp = new CopyIdentifierComponentSecondPass(
      comp,
      referencedEntityName,
origin: org.hibernate.orm/hibernate-core

    buildingContext
);
SecondPass sp = new CopyIdentifierComponentSecondPass(
    comp,
    referencedEntityName,
origin: hibernate/hibernate-orm

Property componentProperty = createComponentProperty( referencedValue.getOwner(), isExplicitReference, columnByReferencedName, index, referencedComponentProperty );
value.addProperty( componentProperty );
Property componentProperty = createSimpleProperty( referencedValue.getOwner(), isExplicitReference, columnByReferencedName, index, referencedComponentProperty );
value.addProperty( componentProperty );
origin: org.hibernate.orm/hibernate-core

private void topologicalSort(
    List<CopyIdentifierComponentSecondPass> sorted,
    Set<CopyIdentifierComponentSecondPass> toSort) {
  while ( !toSort.isEmpty() ) {
    CopyIdentifierComponentSecondPass independent = null;
    searchForIndependent:
    for ( CopyIdentifierComponentSecondPass secondPass : toSort ) {
      for ( CopyIdentifierComponentSecondPass other : toSort ) {
        if ( secondPass.dependentUpon( other ) ) {
          continue searchForIndependent;
        }
      }
      independent = secondPass;
      break;
    }
    if ( independent == null ) {
      throw new MappingException( "cyclic dependency in derived identities" );
    }
    toSort.remove( independent );
    sorted.add( independent );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

if ( referencedEntityName != null ) {
  comp = createComponent( propertyHolder, inferredData, isComponentEmbedded, isIdentifierMapper, mappings );
  SecondPass sp = new CopyIdentifierComponentSecondPass(
      comp,
      referencedEntityName,
origin: org.hibernate.orm/hibernate-core

for(PersistentAttributeMapping referencedMapping : declaredPersistentAttributes){
  if ( referencedMapping instanceof Component ) {
    Property property = createComponentProperty(
        isExplicitReference,
        columnByReferencedName,
    Property property = createSimpleProperty(
        referencedPersistentClass,
        isExplicitReference,
origin: org.hibernate/com.springsource.org.hibernate.core

if ( referencedEntityName != null ) {
  comp = createComponent( propertyHolder, inferredData, isComponentEmbedded, isIdentifierMapper, mappings );
  SecondPass sp = new CopyIdentifierComponentSecondPass(
      comp,
      referencedEntityName,
origin: org.hibernate.orm/hibernate-core

for(PersistentAttributeMapping referencedComponentProperty : declaredPersistentAttributes){
  if ( referencedComponentProperty instanceof Component ) {
    Property componentProperty = createComponentProperty(
        isExplicitReference,
        columnByReferencedName,
    Property componentProperty = createSimpleProperty(
        referencedValue.getOwner(),
        isExplicitReference,
org.hibernate.cfgCopyIdentifierComponentSecondPass

Most used methods

  • <init>
  • createComponentProperty
  • createSimpleProperty
  • dependentUpon
  • applyComponentColumnSizeValueToJoinColumn
  • applyComponentColumnValuesToJoinColumn

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ImageIO (javax.imageio)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now