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 | |
Maven driven compile time ehnancement classes during compile time. Just add the following to your pom . xml :   ... project . Replace the pom . xml file with the attached file. Run the project from the console - using ... the pom . xml you supplied with the minor change in it. I think I need some help figuring out the 361 error | |
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 added the in the pom . xml when building the war org.apache.maven.plugins   ... ; The pom . xml is modified accordingly so that no objectdb lib is packaged within the war   ... persistence. xml for GuestbookPU 09:40:30,655 INFO [org.jboss.as.ejb3.deployment.processors | |
Missing atificat for ObjectDB? sure that ObjectDB Maven repository is specified in your pom . xml : objectdb ObjectDB Repository http ... Hello! I am testing the Spring MVC and JPA tutorial, and always got an error in the POM file: com ... and says missing aritificat com.objectdb.objectdb.jar. After I remove this section, the POM file is ok. I | |
JBoss 7 startup fails.zip (the maven project) and imported it into eclipse but I now get the following error in pom . xml ... (execution: enhance, phase: process-classes) pom . xml /Guestbook line 59 Maven Project Build ... -INF dir contains: context. xml persistence. xml com.objectdb.jpa.Provider java:/DefaultDS | |
Spring MVC Errors: enhance, phase: process-classes) pom . xml /Guestbook line 91 Maven Project Build Lifecycle Mapping ... still get error in Eclipse that points to pom . xml part (execution line): org.codehaus.mojo exec-maven ... .codehaus.mojo:exec-maven-plugin:1.2:java (execution: enhance, phase: process-classes) pom . xml /mces line | |
Spring 4 setup the tutorial with ObjectDB you will have to add the following: In the pom . xml file ... ; 2.5.6 In the pom . xml file ... Spring Boot too. I have 2 questions for the answer. 1. I have to add h2 dependency to my pom file | |
Eclipse - Maven - Dependencies not getting automatically reflected XP. I am able to create a Maven project but when trying to add Dependencies (select pom . xml ... (http://repo.maven.apache.org/maven2). In case, if I manually put required artifcatID in pom . xml ... . xml ) Can you please advise, what setting I need to do so that inputted artifact's can be added using | |
Modifying something with Explorer -> app JPQL with Enum doesn't work anymore with many exceptions that indicate that ObjectDB is not found. Looking at the pom . xml file ... (not Tomcat). Anyway, just add it in pom . xml . I look forward for news after you reproduce the problem | |
can't get HashMap out of the database ObjectDB versions in both the pom . xml and the .classpath files. support Support I've tried ... ; new String[] { "spring-servlet. xml " });   ... ; new String[] { "spring-servlet. xml " }); guestDao = context.getBean | |
InternalError on multiple AND and JOIN Query Please check the Pom in the version of test I gave you. I have now run it with 2.28_07 ... .classic.LoggerContext[default] - Could NOT find resource [logback-test. xml ] 09:30:08,687 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback. xml ] at [file:/home/pedwards | |
Problem on JPA Merge Entity. at least on my computer. Please verify that you switched the server and the client (in pom . xml ) to 2.0.5 | |
How to resolve 404 errors with Eclipse/Maven Spring MVC by following the tutorial step by step, but updating the pom . xml file to use newer versions | |
Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project more kasavbere kasav Please check if changing the ObjectDB version in the pom . xml file from 2.2.5 to 2.4 | |
problems using the explorer changing your pom . xml file, in order to use version 2.5.5 also by your application: com | |
Glassfish 3.1.2.1 and ObjectDB 2.4.3 the project objectdb-2.4.3\tutorials\guestbook-jee6 In the pom . xml file change 2.4.0 to 2.4.3 (but 2 | |
ObjectDB and Spring Boot - sharing a simple working example.properties and/or in pom . xml I added the following beans: @Bean @ConfigurationProperties ("app | |
How to use ObjectDB properly in spring boot application? (embedded) Maven Uses annotation based configuration (no xml file) A dummy entity class (e.g: Customer(id ... it, there two projects, I opened "complete" subfolder in intellijidea modified pom modified Application.java | |
Problem using Maven Repository - Enitiy Class will be ignored.2_02 / 2.6.3), dependency on JPA and JTA should be explicitly specified in the pom . xml file:   | |
problems with OEM license/enhancing we did add this section to our maven pom . xml (from within Eclipse): ... ... org.codehaus.mojo exec-maven-plugin 1.2 enhance process-classes java com.objectdb.Enhancer com.agile.hummingbird.Document com.agile.hummingbird.ObjectType com.agile.hummingbird.ObjectNode com.agile.hummingbird | |
BeanCreationException in spring data JPA with objectDB. Actually there are some conflicts with jar files. I have given the proper dependencies with pom . xml and able to integrating the spring data JPA with objectDB. rajasekhar1242 rajasekhar | |
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 | |
Adding objectdb-jee.jar to the maven repository), dependency on JPA and JTA should be explicitly specified in the pom . xml file:   | |
Problemss during maven build Hey out there! Anybody experiencing this problem during a maven build while downloading from objectdb repository? This now occurs without any changes to a previously working pom . xml . [WARNING] Checksum validation failed, expected | |
ObjectDB 2.2.6 ). Fixed an error message for invalid query parameter ( issue @320 ). Fixed pom . xml files in the Maven tutorials to use Java 1.5 / 1.6. | |
Issue with cascade delete & add/remove Hi, Please see the attached sample project (important: classes need to be enhanced as done in the pom . xml file). What happens: We have two entities Address & Contact. Contact keeps a collection of Address which cascades deletes (orphanRemoval=true) to its children which is what we want | |
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.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 |