ObjectDB Database Search

101-150 of 200 results

Issue with compile time enhancement

(Migrator.java:486) ... 6 more com.objectdb.jpa.Provider META-INF/ orm . xml false paceap Joel Goldberger

Global way to set Lazy-loading fetch functionality for all the fields

Hi, for cascading persist, I have 3 choices: - Either locally (@OneToOne(cascade=CascadeType.PERSIST)) - Either at objectdb level ( ) - Either at JPA global level ( orm . xml ).   For defining fetch policy, I know the local way to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way

Show Sql/Jpql

/Jpql style not xml . I can only see select statements, but I also want to see insert, update ... (unlike ORM JPA implementation) does not use queries to implement Insert, Update and Delete

Integration

specified at org.springframework. orm .jpa.persistenceunit.SpringPersistenceUnitInfo.addTransformer ... build. i tried a class entry in my persistence. xml but that didnt seem to be working. i tried adding

ObjectDB and Hibernate in one JVM?

than Hibernate, so I want to try the it to deal with my application data, but I still need some ORM ... .persistence . You should specify the requested persistence provider in the persistence. xml file

JPA 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

JPA Query language support in OBjectDB / Sub query or nested Query

findByContextID(@Param("contextIdParam") String contextId);   org.springframework. orm .jpa ... ._PersistenceException: Unexpected query token 'SELECT' at org.springframework. orm .jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:321) at org.springframework. orm .jpa

Is ObjectDB the only object database that supports JPA?

as an API for Object Relational Mapping ( ORM ), so many JPA features cannot be supported by regular ... help. Please clear my doubt I know JPA is just a Specification and ORM Frameworks like Hibernate ... what is the reason behind it and what are advantages of JPA over Hibernate? Which ORM does Implements best

Problem with entities detection

Hi! I have some problems with ObjectDB. I need to have a persistence. xml with 2 persistence units ... is that ObjectDB seems to be ignoring the class fields on the persistence. xml file. Entities need to be in ... .persistence.TemporalType; import javax. xml .bind.annotation.XmlRootElement; import javax. xml .bind

Join query problem with new statetment

] DEBUG o.s. orm .jpa.JpaTransactionManager - Should roll back transaction but cannot - no transaction available 2011-07-05 06:40:34.847 ["http-bio-8080"-exec-3] DEBUG o.s. orm .jpa.JpaTransactionManager

Distinct Error

.invoke(Method.java:597) ~[na:1.6.0_20] at org.springframework. orm .jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310) ~[spring- orm -3.0.5.RELEASE

ObjectDB License Error I got

; import org.springframework. orm .jpa.JpaTransactionManager; import org.springframework. orm .jpa

Fetching Collections Puzzle

persistence solution for my project for quite some time now. I have tried every combination of ORM ... one. (I am talking about hibernate and other orm , I have not tried this through ObejectDB, it might work

@Convert is not supported?

support of JPA 2.1 is not complete yet. Particularly, this feature seems to be useful mainly in ORM ... an ORM feature, if it is found to be useful with ObjectDB. support Support I'll explain current

JDBC Driver name

;but mostly relevant also for ORM JPA implementations, such as Hibernate (and HQL), EclipseLink, TopLink, OpenJPA and DataNucleus. ObjectDB is not an ORM JPA implementation but an Object Database (ODBMS

Java 9 support

? What are the expected implications of an empty org.springframework. orm .jpa.vendor.AbstractJpaVendorAdapter ... " to see), etc.  Since "org.springframework. orm .jpa vendor.AbstractJpaVendorAdapter" is a requirement by ObjectDB

Too many persistable types (>10) - exceeds evaluation limit

have to persistence units? Here is my persistence. xml : com.objectdb.jdo.Provider de.itemis ... with other technologies using  persistence. xml as well, these file were somehow read in as well (even if they were in ... only with objectdb it seems to work. Is it possible to specify the persistence. xml explicity, preventing

Connect to objectdb database

Jakarta. My persistance. xml file looks like this: xmlns = "https://jakarta.ee/ xml /ns/persistence" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "https://jakarta.ee/ xml /ns/persistence https://jakarta.ee/ xml /ns/persistence/persistence_3_0.xsd" version = "3.0" name

Exception while accessing the Persistence unit ...?

the persistence. xml file has an error or maybe it is located in the wrong directory ... over the turorial few times. Here is my persistence. xml and attached please find the eclipse project layout: (Note ... . Arumainayagam There are 2 problems with your persistence. xml file: It has a wrong name

How force always recreate database on redeployment.

. Is there a system property, persistence. xml property, or config file property I can use to set ... container and persistence. xml in client-server mode ? webel Dr Darren Kelly Also at http://www ... application container and persistence. xml in client-server mode ? You may add the drop parameter

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

. xml and spring context xml is pretty much the same as in the spring mvc jpa example. i'm i doing ... LocalContainerEntityManagerFactoryBean and everything looks fine, the persistence. xml file is parsed and objectdb set as provider. i also added my entity class name in a element of the persistence. xml , which didn't help

JDO support vs JPA

to 2. However I found that there is no complete description or guide how the XML metadata should look ... (to which XML element is the given annotation equivalent). So my questions to this are: 1. Is there some description of XML metadata for ObjectDB ver2 using JDO which I did not find? 2. Is the combined

The server cannot start in CentOS

: Failed to validate xml file /opt/objectdb-2.2.5/objectdb.conf line 41: cvc-datatype-valid.1.2.1: '10.63 ... :66) Caused by: org. xml .sax.SAXParseException: cvc-datatype-valid.1.2.1: '10.63.0.0-10.63.0.255,127.0 ... get: com.objectdb.o.UserException: Failed to validate xml file E:\projects\jpaBench\jpa\ObjectDB

Is persistence version 2.1 supported?

Using the current version of persistence. xml leads to an error: com.objectdb.jpa.Provider org. xml ... .validate(ValidatorImpl.java:116) at javax. xml .validation.Validator.validate(Validator.java:124 ... for persistence. xml  was added in build 2.5.7_05. The url to java.sun.com doesn't exist, so the correct

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

to change my web. xml servlet mapping in web. xml ? I've been experimenting with and nothing seems to work. Thanks Siegfried Here is my web. xml fragment:     spring       ... .springframework.web.bind.annotation.RequestMethod.GET,    headers = {"Accept=text/ xml

Replication error - parsing objectdb config

.objectdb.o.UserException: Failed to validate xml file T:\felix_grid_services\ext\objectdb\2-2-1 ... ) ... 96 more Caused by: org. xml .sax.SAXParseException: cvc-complex-type.4: Attribute 'username ... .ValidatorImpl.validate(ValidatorImpl.java:159) at javax. xml .validation.Validator.validate(Validator.java:82

is JDO field attribute "indexed" supported?

I prefer to use the package.jdo XML metadata rather than annotations, but you don't ... that it corresponds to the XML element which is one way to specify indexes in XML metadata ... whether objectdb supports this? spiffy Jonathan Harley JDO XML metadata, although not documented in ObjectDB 2

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

OEM Enhancer causing Jenkins job to freeze

the Internet may happen during xml validation by the Java XML parser, if external XML schema is specified in XML files. Please try to generate a Java thread dump that will show where exactly the process

Pre-detach loading: retrieval by navigation not working in if statement

enhancement is that the later only enhances persistable classes My project's build. xml file Ant script ... files, rather than .class files, to the NetBeans cache, and side-steps any build. xml commands) I ... classes', I always use explicit accessors. I wrote:  My project's build. xml file Ant script

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

: loader (instance of ) previously initiated loading for a different type with name "org/ xml /sax ... .apache.logging.log4j.core.config. xml .XmlConfiguration.(XmlConfiguration.java:97) In the build. xml Ant

Eclipse4 RCP - No Persistence provider for EntityManager

with JPA included. I have another question regarding the persistence. xml . I put it in my /META-INF folder ... ) it may be because resources that are needed by  createEntityManagerFactory (e.g. persistence. xml ) are not ... and all works like a charm! Persistence. xml is now found and ClassLoader problems are gone... thats a suitable solution for now! paddy Patrick Gerhardt

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: com.objectdb.jpa ... a basic test project, NO spring involved. Same persistance xml in my META-INF, startup using: emf ... the persistance. xml or is something in the spring is doing something I don't understand? Or have I missed

can't get HashMap out of the database

;       new String[] { "spring-servlet. xml " });     ... ; new String[] { "spring-servlet. xml " });     guestDao = context.getBean ... ObjectDB versions in both the  pom. xml and the .classpath files. support Support I've tried

JDO PersistenceManager.getSequence() returns null sometimes

When using JDO without annotations, database sequences are normally defined in the ORM file. Following discussion on the forum I was told that ObjectDB supports sequences if specified in the JDO ... similarly to the XML metadata. Therefore, the name of a sequence that is defined by an annotation

ObjectDB 2.3.3

). Added support of @Column(unique="true") and equivalent ORM XML ( issue #550 ). Fixed @PrePersist

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

written to db-files/greendesk/greendesk.odb (see persistence. xml ), copy of odb output attached. Sorry ... getOwner() { return owner; } (For completeness I've left the old ORM annotations in

ObjectDB 2 JDO Manual

and the definition of the XML file describing those classes that are to be enhanced, that and the use of JDOQL ... that would make it inadequate to do what I want, I just see it as an ORM tool used to awkwardly map

NullpointerException when execute a commit

;     } } orm . xml :   ...              

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

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

and eliminates the need for another dependency to an ORM , such as Hibernate, since it implements the JPA ... to avoid coupling it to a specific database. By adding ObjectDB as a database and ORM in a project