About managed

191-200 of 200Refresh
JPA Doc
2

getCache()

Method javax.persistence.EntityManagerFactory Cache getCache() Access the cache that is associated with the entity manager factory (the "second level cache"). Returns: instance of the Cache interface Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0
JPA Doc
2

getCollection(name)

Method javax.persistence.metamodel.ManagedType CollectionAttribute getCollection(   String name ) Return the Collection-valued attribute of the managed type that corresponds to the specified ... of the given name Throws: IllegalArgumentException - if attribute of the given name is not present in the managed type Since: JPA 2.0
JPA Doc
2

getCollection(name, elementType)

Method javax.persistence.metamodel.ManagedType CollectionAttribute getCollection(   String name,   Class elementType ) Return the Collection-valued attribute of the managed type ... and type is not present in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredAttribute(name)

Method javax.persistence.metamodel.ManagedType Attribute getDeclaredAttribute(   String name ) Return the attribute declared by the managed type that corresponds to the specified name ... : IllegalArgumentException - if attribute of the given name is not declared in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredCollection(name)

Method javax.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection(   String name ) Return the Collection-valued attribute declared by the managed type that corresponds ... CollectionAttribute of the given name Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredCollection(name, elementType)

Method javax.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection(   String name,   Class elementType ) Return the Collection-valued attribute declared by the managed ... - if attribute of the given name and type is not declared in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredList(name)

Method javax.persistence.metamodel.ManagedType ListAttribute getDeclaredList(   String name ) Return the List-valued attribute declared by the managed type that corresponds to the specified name ... of the given name Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredList(name, elementType)

Method javax.persistence.metamodel.ManagedType ListAttribute getDeclaredList(   String name,   Class elementType ) Return the List-valued attribute declared by the managed type ... and type is not declared in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredMap(name)

Method javax.persistence.metamodel.ManagedType MapAttribute getDeclaredMap(   String name ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name ... of the given name Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type Since: JPA 2.0
JPA Doc
2

getDeclaredMap(name, keyType, valueType)

Method javax.persistence.metamodel.ManagedType MapAttribute getDeclaredMap(   String name,   Class keyType,   Class valueType ) Return the Map-valued attribute declared by the managed ... and value types Throws: IllegalArgumentException - if attribute of the given name and type is not declared in the managed type Since: JPA 2.0