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

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

Best Java code snippets using org.hibernate.cfg.PropertyContainer.getProperties (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

/**
 * @param elements List of {@code ProperyData} instances
 * @param propertyContainer Metadata about a class and its properties
 *
 * @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,
    PropertyContainer propertyContainer,
    MetadataBuildingContext context) {
  int idPropertyCounter = 0;
  Collection<XProperty> properties = propertyContainer.getProperties();
  for ( XProperty p : properties ) {
    final int currentIdPropertyCounter = addProperty(
        propertyContainer,
        p,
        elements,
        context
    );
    idPropertyCounter += currentIdPropertyCounter;
  }
  return idPropertyCounter;
}
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

/**
 * @param elements List of {@code ProperyData} instances
 * @param propertyContainer Metadata about a class and its properties
 *
 * @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,
    PropertyContainer propertyContainer,
    MetadataBuildingContext context) {
  int idPropertyCounter = 0;
  Collection<XProperty> properties = propertyContainer.getProperties();
  for ( XProperty p : properties ) {
    final int currentIdPropertyCounter = addProperty(
        propertyContainer,
        p,
        elements,
        context
    );
    idPropertyCounter += currentIdPropertyCounter;
  }
  return idPropertyCounter;
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * @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,
    Mappings mappings) {
  int idPropertyCounter = 0;
  AccessType accessType = defaultAccessType;
  if ( propertyContainer.hasExplicitAccessStrategy() ) {
    accessType = propertyContainer.getExplicitAccessStrategy();
  }
  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/com.springsource.org.hibernate.core

/**
 * @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,
    Mappings mappings) {
  int idPropertyCounter = 0;
  AccessType accessType = defaultAccessType;
  if ( propertyContainer.hasExplicitAccessStrategy() ) {
    accessType = propertyContainer.getExplicitAccessStrategy();
  }
  Collection<XProperty> properties = propertyContainer.getProperties( accessType );
  for ( XProperty p : properties ) {
    final int currentIdPropertyCounter = addProperty(
        propertyContainer, p, elements, accessType.getType(), mappings
    );
    idPropertyCounter += currentIdPropertyCounter;
  }
  return idPropertyCounter;
}
org.hibernate.cfgPropertyContainergetProperties

Popular methods of PropertyContainer

  • <init>
  • assertTypesAreResolvable
  • discoverTypeWithoutReflection
  • getDeclaringClass
  • getEntityAtStake
  • 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
  • setContentView (Activity)
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
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