Codota Logo
PropertyContainer.assertTypesAreResolvable
Code IndexAdd Codota to your IDE (free)

How to use
assertTypesAreResolvable
method
in
org.hibernate.cfg.PropertyContainer

Best Java code snippets using org.hibernate.cfg.PropertyContainer.assertTypesAreResolvable (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

public Collection<XProperty> getProperties() {
  assertTypesAreResolvable();
  return Collections.unmodifiableCollection( persistentAttributeMap.values() );
}
origin: org.hibernate/hibernate-annotations

/**
 * @param elements List of {@code ProperyData} instances
 * @param defaultAccessType The default value access strategy which has to be used in case no explicit local access
 * strategy is used
 * @param propertyContainer Metadata about a class and its properties
 * @param mappings Mapping meta data
 *
 * @return the number of id properties found while iterating the elements of {@code annotatedClass} using
 *         the determined access strategy, {@code false} otherwise.
 */
static int addElementsOfClass(
    List<PropertyData> elements, AccessType defaultAccessType, PropertyContainer propertyContainer, ExtendedMappings mappings
) {
  int idPropertyCounter = 0;
  AccessType accessType = defaultAccessType;
  if ( propertyContainer.hasExplicitAccessStrategy() ) {
    accessType = propertyContainer.getExplicitAccessStrategy();
  }
  propertyContainer.assertTypesAreResolvable( accessType );
  Collection<XProperty> properties = propertyContainer.getProperties( accessType );
  for ( XProperty p : properties ) {
    final int currentIdPropertyCounter = addProperty(
        propertyContainer, p, elements, accessType.getType(), mappings
    );
    idPropertyCounter += currentIdPropertyCounter;
  }
  return idPropertyCounter;
}
origin: org.hibernate.orm/hibernate-core

public Collection<XProperty> getProperties() {
  assertTypesAreResolvable();
  return Collections.unmodifiableCollection( persistentAttributeMap.values() );
}
origin: org.hibernate/com.springsource.org.hibernate.core

public Collection<XProperty> getProperties(AccessType accessType) {
  assertTypesAreResolvable( accessType );
  if ( AccessType.DEFAULT == accessType || AccessType.PROPERTY == accessType ) {
    return Collections.unmodifiableCollection( propertyAccessMap.values() );
  }
  else {
    return Collections.unmodifiableCollection( fieldAccessMap.values() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

public Collection<XProperty> getProperties(AccessType accessType) {
  assertTypesAreResolvable( accessType );
  if ( AccessType.DEFAULT == accessType || AccessType.PROPERTY == accessType ) {
    return Collections.unmodifiableCollection( propertyAccessMap.values() );
  }
  else {
    return Collections.unmodifiableCollection( fieldAccessMap.values() );
  }
}
org.hibernate.cfgPropertyContainerassertTypesAreResolvable

Popular methods of PropertyContainer

  • <init>
  • discoverTypeWithoutReflection
  • getDeclaringClass
  • getEntityAtStake
  • getProperties
  • mustBeSkipped
  • determineClassDefinedAccessStrategy
  • getExplicitAccessStrategy
  • hasExplicitAccessStrategy
  • initProperties
    Retrieves all properties from the xClass with the specified access type. This method does not take a
  • collectPersistentAttributesUsingClassLevelAccessType
  • collectPersistentAttributesUsingLocalAccessType
  • collectPersistentAttributesUsingClassLevelAccessType,
  • collectPersistentAttributesUsingLocalAccessType,
  • considerExplicitFieldAndPropertyAccess,
  • determineLocalClassDefinedAccessStrategy,
  • getClassLevelAccessType,
  • preFilter,
  • checkForJpaAccess

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • startActivity (Activity)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • 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