ObjectDB Database Search
51-100 of 200 resultspersistence.xml classes not respected by ObjectDB Hi! I have the following persistence. xml . The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each | |
Compress ODB file with XML content is used by field value in entity class LogVolatileEntityImpl , which contains XML | |
setting 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 | |
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 | |
problem with lazy loading - unittest project attached. what am i doing wrong? chris Christoph Ernst It seems that a repository is missing in the pom. xml ... which is defined in my m2 settings. xml please add the spring milestone repo in the POM spring-maven ... .springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from | |
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.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.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.EntityGraph EntityGraph (an entity graph defined by means of the NamedEntityGraph annotation, XML descriptor | |
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.MappedSuperclass such subclasses by using the AttributeOverride and AssociationOverride annotations or corresponding XML | |
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.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.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.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.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 | |
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 | |
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 | |
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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.PrimaryKey of a secondary table. Corresponds to the xml element "primary-key". Since: JDO 2.1 Public Annotation | |
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 | |
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.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.Unique to avoid unique constraint violations. Corresponds to the xml element "unique". Since: JDO 2.1 Public | |
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.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 | |
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 | |
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 |