Internal Website Search
101-150 of 200 resultsJPA vs JDO - which is more efficient for OneToMany queries? ObjectDB Vector orders; } @Entity class Order { } It is true, however, that in ORM -based ... ORM -based implementations. By the way, if you define the reference in Order , you can use an inverse ... above, which is less efficient in ORM -based implementation and requires a JOIN table and a query for navigation | |
Problem upgrading.springframework. orm .jpa.JpaSystemException: Failed to set reference value of field property at.co.pjm.tracker ... .channelConfigurationSets using reflection at org.springframework. orm .jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418) ~[spring- orm -4.2.3.RELEASE.jar | |
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 | |
JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception persistence. xml for GuestbookPU 09:40:30,655 INFO [org.jboss.as.ejb3.deployment.processors ... in the deployment is to add into the persistence. xml file and declared objectdb-jee as a module into ... added the in the pom. xml when building the war org.apache.maven.plugins   | |
JBoss 7 startup fails-INF dir contains: context. xml persistence. xml com.objectdb.jpa.Provider java:/DefaultDS The WebContent/WEB-INF/lib dir contains: objectdb-jee.jar The WebContent/WEB-INF/web. xml ... .zip (the maven project) and imported it into eclipse but I now get the following error in pom. xml | |
EntityManager getMetamodel() causes crash also with a new empty database? support Support Working code. Note I am using a persistence. xml ... toString() { return name; } } The persistence XML : : com.objectdb.jpa.Provider test.MyEntity Nota Bene: Getting the entity list works if I do not use a persistence XML . The code works as | |
ObjectDB within a resource adapter module and Java EE Connector Architecture turn leverage the persistence. xml , which is automatically used via: @PersistenceContext private EntityManager em; The 2 web apps end up using the same persistence. xml , and thus the same ObjectDB ... that: 'JPA requires the definition of a persistence unit in an XML file in order to be able to generate | |
using DbUnit with ObjectDb testing and / or loading test data to objectDb from xml files? freddieFishCake Jonathan Lister ... code. It shouldn't be difficult to add to ObjectDB basic support of loading data from XML . Can you provide a sample object model and XML file in the format of your existing XML data | |
Spring Data JPA.reflect.Method.invoke(Method.java:601) at org.springframework. orm .jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:376) at org.springframework. orm .jpa ... .lang.reflect.Method.invoke(Method.java:601) at org.springframework. orm .jpa | |
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 | |
combined index not used a specific required text in its XML representation: query. setHint ("objectdb ... ;"ObjectNode[set]" element (included in the query plan XML representation). In the case ... the list and the XML representation of the query plan (to help using the text hint). Query hints | |
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 |