Internal Website Search
51-100 of 200 resultssetting activation code in persistence.xml or env file or system properties Wondering if it's possible to add the activation code either: - in persistence. xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb | |
Compress ODB file with XML content is used by field value in entity class LogVolatileEntityImpl , which contains XML | |
Is named-query supported in orm.xml I prefer to keep custom JPQL named queries in an external file, e.g. orm. xml , rather than in the entity classes, for example: delete from DataValue d where d.capabilityId = :capabilityId and d.creationtime | |
Dependency from enhanced classes to the objectDB library as OSGi component. But then the persistence unit is not found (defined in persistence. xml ... .impl.ModelElementImpl is not enhanced” Exception. 3) Run the enhanced –map. xml , of project com.btc.ep ... OSGi component. But then the persistence unit is not found (defined in persistence. xml | |
Configure ObjectDB in spring context is to configure entire ObjectDB (optionally objectdb.conf too) in springs context. xml file so that I'd ... creating persistance. xml file. My previous database. xml (which is included in application-context. xml ... ") } ) @ImportResource({ "classpath:currencies. xml ", "classpath:market-types. xml ", "classpath:exchanges. xml | |
ObjectDB without javax.persistence we get a “com.objectdb.o._PersistenceException:” with the message “Failed to validate xml file bundleresource://134.fwk2011579990:2/META-INF/persistence. xml ” Caused by: com.objectdb.o._PersistenceException: Failed to validate xml file bundleresource://134.fwk2011579990:2/META-INF/persistence. xml | |
javax.persistence.Converter except for attributes for which conversion is overridden by means of the Convert annotation (or XML ... such via XML ) will not be converted. Note that if autoApply is true , the Convert annotation may be used ... , only those attributes of the target type for which the Convert annotation (or corresponding XML element | |
javax.persistence.PersistenceUnit defined in the persistence. xml file. If specified, the persistence unit for the entity manager | |
javax.persistence.PersistenceUnit.unitName JPA Annotation Attribute in javax.persistence.PersistenceUnit String unitName default "" (Optional) The name of the persistence unit as defined in the persistence. xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name. Since: JPA 1.0 | |
javax.persistence.Cacheable JPA Annotation Cacheable Target: TYPE Implemented Interfaces: Annotation Specifies whether an entity should be cached if caching is enabled when the value of the persistence. xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE . The value of the Cacheable annotation is inherited by | |
javax.persistence.SharedCacheMode JPA Enum SharedCacheMode java.lang.Object ∟ java.lang.Enum ∟ javax.persistence.SharedCacheMode Specifies how the provider must use a second-level cache for the persistence unit. Corresponds to the value of the persistence. xml shared-cache-mode element, and returned as the result | |
javax.persistence.PersistenceContext of the persistence unit as defined in the persistence. xml file. If the unitName element is specified | |
javax.persistence.PersistenceContext.unitName JPA Annotation Attribute in javax.persistence.PersistenceContext String unitName default "" (Optional) The name of the persistence unit as defined in the persistence. xml file. If the unitName element is specified, the persistence unit for the entity manager that is accessible in JNDI must have the same name. Since: JPA 1.0 | |
javax.persistence.Convert JPA Annotation Convert Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Specifies the conversion of a Basic field or property. It is not necessary to use the Basic annotation or corresponding XML element to specify the Basic type. The Convert annotation should not be used to specify | |
javax.persistence.MappedSuperclass such subclasses by using the AttributeOverride and AssociationOverride annotations or corresponding XML | |
EntityGraph.getName() - JPA Method JPA Method in javax.persistence.EntityGraph String getName () Return the name of a named EntityGraph (an entity graph defined by means of the NamedEntityGraph annotation, XML descriptor element, or added by means of the addNamedEntityGraph method. Returns null if the EntityGraph is not a named EntityGraph. Since: JPA 2.1 | |
javax.persistence.EntityGraph EntityGraph (an entity graph defined by means of the NamedEntityGraph annotation, XML descriptor | |
javax.jdo.JDOHelper resource "META-INF/jdoconfig. xml ", using the current thread's context class loader to locate ... configuration file resource "META-INF/jdoconfig. xml ", using the given class loader. Parameters: pmfClassLoader | |
javax.jdo.spi.JDOImplHelper instance for use in parsing the resource(s) META-INF/jdoconfig. xml . The default is governed by ... an ErrorHandler instance for use in parsing the resource(s) META-INF/jdoconfig. xml . The default | |
javax.jdo.annotations.Value JDO Annotation Value Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the value of a map relation. Corresponds to the xml element "value". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column to store the value in | |
javax.jdo.annotations.Transactional JDO Annotation Transactional Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to indicate that a member (field or property) is transactional but not persistent. This corresponds to xml attribute persistence-modifier="transactional" of "field | |
javax.jdo.annotations.Serialized JDO Annotation Serialized Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation on a member (field or property) to indicate that the member is stored serialized. Such a member cannot be queried using JDOQL. Corresponds to xml attribute "serialized" in "field | |
javax.jdo.annotations.Unique to avoid unique constraint violations. Corresponds to the xml element "unique". Since: JDO 2.1 Public | |
JDOImplHelper.registerDocumentBuilderFactory(factory) - JDO Method JDO Method in javax.jdo.spi.JDOImplHelper void registerDocumentBuilderFactory ( DocumentBuilderFactory factory ) Register a DocumentBuilderFactory instance for use in parsing the resource(s) META-INF/jdoconfig. xml . The default is governed by the semantics of DocumentBuilderFactory | |
javax.jdo.annotations.PrimaryKey of a secondary table. Corresponds to the xml element "primary-key". Since: JDO 2.1 Public Annotation | |
JDOImplHelper.registerErrorHandler(handler) - JDO Method JDO Method in javax.jdo.spi.JDOImplHelper void registerErrorHandler ( ErrorHandler handler ) Register an ErrorHandler instance for use in parsing the resource(s) META-INF/jdoconfig. xml . The default is an ErrorHandler that throws on error or fatalError and ignores warnings | |
javax.jdo.annotations.PersistenceAware JDO Annotation PersistenceAware Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation to specify that the class is persistence-aware. If used, this is the only JDO annotation allowed on the class. This corresponds to the xml attribute persistence-modifier="persistence-aware | |
javax.jdo.annotations.Order JDO Annotation Order Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the ordering component of an ordered container member, such as Java Collections Framework Array and List types and Java native array types. Corresponds to the xml element "order | |
javax.jdo.annotations.NotPersistent JDO Annotation NotPersistent Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to specify that the member is not persistent. If used, this is the only JDO annotation allowed on a member. This corresponds to the xml attribute persistence-modifier | |
javax.jdo.annotations.Persistent JDO Annotation Persistent Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for defining the persistence of a member. This corresponds to the xml elements "field" and "property". Since: JDO 2.1 Public Annotation Attributes String cacheable default "true | |
javax.jdo.annotations.Key JDO Annotation Key Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the key of a map relation. Corresponds to the xml element "key". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column to store the key in | |
javax.jdo.annotations.Version JDO Annotation Version Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the versioning of the class. Corresponds to the xml element "version" of the "class" and "property" elements. Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column | |
JDOHelper.getPersistenceManagerFactory(pmfClassLoader) - JDO Static Method JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory ( ClassLoader pmfClassLoader ) Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig. xml ", using the given class loader | |
JDOHelper.getPersistenceManagerFactory() - JDO Static Method JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory () Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig. xml ", using the current thread's context class loader to locate | |
javax.jdo.annotations.Column JDO Annotation Column Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for a column in the database. Corresponds to the xml element "column". Since: JDO 2.1 Public Annotation Attributes String allowsNull default "" Whether the column allows null values | |
javax.jdo.annotations.Cacheable JDO Annotation Cacheable Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to specify that this class/field/property is cacheable in a Level 2 cache. This corresponds to the xml attribute "cacheable" of the "class", "field" and "property | |
javax.jdo.annotations.Discriminator JDO Annotation Discriminator Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the discriminator of the class. Corresponds to the xml element "discriminator" of the "inheritance" element. Since: JDO 2.1 Public Annotation Attributes String column default "" Name | |
javax.jdo.annotations.DatastoreIdentity JDO Annotation DatastoreIdentity Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the datastore identity of the class. Corresponds to the xml element "datastore-identity" of the "class" element. Since: JDO 2.1 Public Annotation Attributes String column default "" Name | |
javax.jdo.FetchGroup. This category includes members defined in the default fetch group in xml or annotations. Redefining | |
javax.jdo.FetchGroup.DEFAULT JDO Static Field in javax.jdo.FetchGroup DEFAULT For use with addCategory and removeCategory calls. This category includes members defined in the default fetch group in xml or annotations. Redefining the default fetch group via the API does not affect the members defined by this category. Using | |
javax.jdo.annotations.Inheritance JDO Annotation Inheritance Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the inheritance of the class. Corresponds to the xml element "inheritance" of the "class" and "interface" elements. Since: JDO 2.1 Public Annotation Attributes String customStrategy default | |
javax.jdo.annotations.Index JDO Annotation Index Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index". Since: JDO 2.1 Public Annotation Attributes Column | |
javax.jdo.annotations.Join JDO Annotation Join Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the join of a relation. Corresponds to the xml element "join". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column in the join | |
javax.jdo.annotations.FetchGroup JDO Annotation FetchGroup Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the fetch group of a class. Corresponds to the xml element "fetch-group". Since: JDO 2.1 Public Annotation Attributes String[] fetchGroups default {} Fetch groups to be nested (included) in | |
javax.jdo.annotations.Extension JDO Annotation Extension Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for a JDO vendor extension. Corresponds to the xml element "extension". Since: JDO 2.1 Public Annotation Attributes String key default null The key | |
javax.jdo.annotations.ForeignKey JDO Annotation ForeignKey Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for a database foreign-key. Corresponds to the xml element "foreign-key". Since: JDO 2.1 Public Annotation Attributes Column [] columns default {} Columns | |
javax.jdo.annotations.FetchPlan JDO Annotation FetchPlan Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the fetch plan of a persistence manager, query, or extent. Corresponds to the xml element "fetch-plan". Since: JDO 2.1 Public Annotation Attributes String[] fetchGroups default {} The fetch groups | |
javax.jdo.annotations.Element JDO Annotation Element Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the element of a collection/array relation. Corresponds to the xml element "element". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column | |
javax.jdo.annotations.Embedded JDO Annotation Embedded Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to define that the object is embedded into the table of the owning object. Corresponds to the xml element "embedded". Since: JDO 2.1 Public Annotation Attributes Persistent | |
javax.jdo.annotations.Query JDO Annotation Query Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for a named query. Corresponds to the xml element "query". Since: JDO 2.1 Public Annotation Attributes Extension [] extensions default {} Vendor extensions. Since: JDO 2.1 String fetchPlan default |