ObjectDB Database Search

101-150 of 200 results

Maven and multiple JARs

the persistence. xml  in the dependee modules can't know what jar files will become available "later ... different persistence. xml (one for CoreEnt and one for SpecEnt) in the final build does not work (they clash giving deployment errors). Clumsy workaround is to not have 2 persistence. xml

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

InternalError on multiple AND and JOIN Query

.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/CONTEXTSPACE_workarea/objectdb_example/target/test-classes/logback. xml ] 09:30:08,827 |-INFO in ch.qos

the tutorial netbeans and javaee6 dont work,

; ,,,,,,,,,,,,,,,, but the web . xml it is ok. help me please .   i have sent the file of my project .     ... - it seems that you missed step 4 . There is an unnecessary web. xml file in WEB-INF . To fix the project you should: Fix the servlet following step 4 . Delete the  web. xml  file in  WEB-INF . Stop GlassFish

Running ObjectDB on a node that does not have internet connectivity

.validation.ValidatorImpl.validate(Unknown Source) at javax. xml .validation.Validator.validate(Unknown ... ) at javax. xml .validation.Validator.validate(Unknown Source) at com.objectdb.o.XMD.n(XMD.java:204) at com ... , but an attempt to access the Internet might still happen if the XML headers of the package.jdo files

Configuration and Activation Code in ObjectDB 2.x

Bhaskar If the configuration file is not found - ObjectDB looks for an internal XML resource at META-INF/objectdb.conf . You can extract the objectdb.jar file and see that it includes an XML ... objectdb.jar by adding the activation code line to that internal XML resource file). Alternatively

Log4j error

ObjectDB      [java] log4j:ERROR A "org.apache.log4j. xml .DOMConfigurator" object ... ] log4j:ERROR "org.apache.log4j. xml .DOMConfigurator" was loaded by [sun.misc.Launcher$AppClassLoader ... .log4j. xml .DOMConfigurator].      [java] log4j:WARN No appenders could be found

Pessimistic Lock Timeouts setting

the timeout settings, just follow the JPA2 spec - so you can do it per query, or global using persistence. xml ... . There was nothing wrong with my timeout settings. My timeout is 4000 in persistence. xml

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence. xml . I a NamedQuery I use the unqualified class name ... ") everything works fine.   The persistence. xml is         com.objectdb.jpa

Double persist of Entity field with Cascade.ALL

to Book_dberror_Libs and Objectdb.jar to Book_dberror_ejb. In persistence. xml , I had to use ObjectDB ... . You can un-comment the property for stand-alone mode in the persistence. xml to use it. I created

Explorer in 2.3

, but I cannot get them to work.) b. XML - Select some objects and serialize them to XML (using ids

How to Use a SF with extended Persistence Context?

service thread 1-16) JBAS011401: Read persistence. xml for guest-pu 13:52:02,863 INFO  [org ... :03,019 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence. xml

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

. xml   com.objectdb.jpa.Provider              Spring xml

General Performance Issues Illustrated with a Specific Method

(String address) { this.address = address; } } Persistence. xml file cHIMS com.objectdb.jpa.Provider ... ;              MOH-SL Ministry of Health Sri Lanka The log XML

newbie - lots of exeptions

(ASURLClassLoader.java:179) and our persistence. xml file looks like com.objectdb.jpa.Provider com.prohire ... automatically. Apparently, you can disable this process by specifying in the persistence. xml : com

disabling JDO in objectdb embedded mode

external XML files in addition to annotations. Therefore, ObjectDB must check if such XML files exist

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB ... " attribute in the package.jdo XML ? If yes, how to handle this ? 3. Should the @Embedded annotations work

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

OutofMemory error with Object DB 2.0

size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new ... one by one and commits the transaction for every 200 records (reads from xml

Visibility of changes in Transaction is not visible to a JPA QL Query

. xml        com.objectdb.jpa.Provider      objdbTest ... , and the persistence. xml is located where it is used in the EJB project ( this was the only way I

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I got: C:\...\NetBeansProjects\JavaWebAppODB\nbproject\build-impl. xml :686: The module ... the entire error output?  What is the target on build-impl. xml :686 ? That might be a big

Is there an update on running ObjectDB purely in-memory?

. xml .sax.SAXParseException; lineNumber: 22; columnNumber: 52; cvc-complex-type.2.4.a: Invalid ... to validate xml file D:\ObjectDB\objectdb-2.7.3_06\objectdb.conf line 22: cvc-complex-type.2.4

How to connect to an embedded ObjectDB in a JPA/JEE application?

It is easy to change the properties in persistence. xml file to connect to an ObjectDB server. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence. xml file. Can any one please help ? buddhika75 M H B Ariyaratne Just replace

package.jdo validation error (Connection timed out)

.objectdb.o._JdoUserException: Failed to validate xml file \RTDLogger.jar#package.jdo: Connection ... to remove the following line: otherwise the XML parser may try accessing that url (and it will probably fail if you are behind a firewall). support Support

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

Objectdb Server Mode set up with glassfish

my project ? How do I configure my persitence. xml file ? Do I need to set up something in Glassfish ... . The only difference is the database connection url . If specified in the persistence. xml a client-server

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build. xml for a NetBeans web app. My adapted build. xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking

How to Persist a Map of beans to collections of beans?

at a loss for how to format the xml in the .jdo file for this object.  How does one persist this in package.jdo xml ?  Thanks in advance for your help. -A cvtsc Dev Team In the package.jdo file

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

. This must be something to do with the Ant build. xml and build-impl. xml (a problem for another day

How to deploy an Objectdb project with Jboss AS 7?

objectdb-jee.jar instead of objectdb.jar I used persistence. xml with the sentence  java:/DefaultDS ... : Read persistence. xml for GuestbookPU 04:56:02,973 INFO [org.jboss.as.ejb3.deployment.processors

Package name for persisted entities

specify full name with package in persistence. xml and set "exclude-unlisted-classes" for true, ODB ... -package-for-entities' in persistence. xml so I can set where ODB should look first for entity

Class fields selection to store

are persistent by default. Therefore you don't need an XML element for the persistent field ... @NonPersistent  (starting JDO 2.1 you can use annotations instead of XML metadata). support Support

Spring Transactions (@Transactional) within ObjectDB

how to FlushModeType.AUTO in ORM. xml we are not doing any annotations over our entity. Thanks in advance ... persistence. xml in my case and I am not able to find out the exact name in case of ObjectDB IN case

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

placing persistence. xml in one of the conventional places. It is much easier to specify the location as ... LocalEntityManagerFactoryBean with a jar/META-INF/persistence. xml works fine. Its only when I use

PersistenceException: Failed to locate field

only on the XML agent=true flag, and no command line or programmatic enhancement, complains about schema evolution. Or, at least there should be a note that enhancement based only on the XML setting

Groovy JPA example

using a persistence. xml file. Any Groovy library that supports JPA should also work with ObjectDB ... ), and it will be ignored, as long as the connection to ObjectDB is properly set in a persistence. xml

lockfiles in client/server mode

is defined in src/main/webapp/META-INF/persistence. xml with a jdbc URL that looks to me as ... the one that is in use. Try inserting a deliberate XML error to the file, if the client starts

Spring MVC configuration files

Hi!! how are you guys? I have been working with Spring MVC framework and it is really helpful, but now I have a question, as you know Spring MVC framework create by default the xml configuration ... instead of xml . I will be waiting for your help!! saudiaz Saúl Ísai Díaz Vásquez It would be better

Failover from Master to Slave

environment without restarting the app? (where all data is taken on app deployment from persistence. xml ) zmirc ... while it was down. One possible solution: when we configure persistence units in persistence. xml , we give 2 urls for each

Spring LTW Problem

. xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded ... some class i can restrict it in aop. xml . Maybe it would be a good idea to add something similar

The project does not contain a persistence unit

. xml file to your project, in order to remove this NetBeans warning. support Support The warning doesn't seem to go away after placing persistence. xml into META-INF and cleaning and building? ThreaT

system exception occurred during an invocation on EJB GuestDao

. xml file. If you cannot find the problem try download and run the Maven version of the tutorial. support Support I checked again the tutorial steps, especially persistence. xml : same error. I downloaded

Deploy ObjectDB in WildFly 10

Hi, I'm currently evaluating ObjectDB and try to deploy my project in WildFly 10. I've installed ObjectDB in the modules directory and added a persistence. xml file:        ... ; [org.jboss.as.jpa] WFLYJPA0002: Read persistence. xml for TestPU 2017-10-23 09:23:31,722 ERROR [org

objectdb:2.8.4 - Error occurred during initialization of boot layer

\JavaApps\CommonThirdParty\Vtd- Xml \dist\vtd- xml .jar;D:\Projects\Anritsu\Perforce\ws_alexander

migration path from JPA / Hibernate

persistence units ( persistence. xml ) unsupported features / annotations in ObjectDB that need special ... and set ObjectDB as the provider in the persistence. xml file . About the data, currently

Problem to use find method on an abstract Class: AbstractMethodError is thrown

[org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence. xml for guest-pu 08:17:23,103 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence. xml for paltzefomat

Complex Schema Upgrade not working

? quasado Alexander Adam The configuration XML is not synchronized with the example (in package names

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these methods are static, i.e. the metadata has to be provided

ObjectDB 2.6.0

Added support of JPA 2.1 persistence. xml and orm. xml formats. Added implementation of equals to JPA Metamodel attributes. Fixed ObjectDB OSGi bundle to support enhanced classes. Fixed handling class loader switch (avoiding automatic database close and reopen). Fixed a NullPointerException

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

is pretty straight forward, I think. Data is read from an XML file, entities are created in memory based on the XML data and persisted to a new ObjectDB file. We regularly commit transactions (e.g. after 1000