ObjectDB Database Search

151-200 of 200 results

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

Database is erased after deploying a new web application version

; contextDestroyed  method should be invoked. On that example the listener is defined in a web. xml file (added

GlassFish 3.1.2.2/JBoss 7.1.1

;directory). Add to the persistence. xml file a request to load the ObjectDB module. Build 2.4.3 fixes

Puzzler: Not getting cascades on read from Spring context

. My best guess is that perhaps I have something misconfigured in my persistence. xml or my context. 

Spatial Support

library may be persisted, if defined as entity classes (e.g. in an orm. xml file) support Support

Entity Type is not found (error 301) in Query

a persistence. xml file for objectDB fixes the problem. In my case the fix was simple, for all other JPA impl

Low performance when getting grove roots

tsichevski Vladimir Tsichevski You can define indexes in an external XML file . More details

Guestbook Tutorial (Eclipse/Glassfish)

. support Support Once I updated the persistence. xml with a different database location everything worked

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence. xml was modified with: But after few benchmarks I don't really see any difference in performance. ODB

connection pooling

. xml file , for example to maximum 100 connections:      support Support I'll

Problem with distinct select, order by and equivalent alias/attribute path

etc.). Where would you recommend to set this property? I tried to set it in persistence. xml , directly

Import data from MySQL

Hi, I tried the objectdb in my research, find it very easy to handle without setting up xml files. However, I cannot find the import/export functions between other database, then how can I transfer mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases

Type xxx is not found (error 301)

to odb: 1) list in persistence. xml (and put this under META-INF) 2) em.fund (User.class, User.class

Adding indexes on existing entities.

index definition (either annotation in class or xml ), or run the Doctor with this available in

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

works fine. I added this code in build. xml .       galandor Orlov Sergey Thank

Issue with compile time enhancement

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

Changes in detach behaviour?

with a customized build. xml to enhance the classes. If you run the project you'll see the output "null

Server connection management

Side) You should be able to set the connection pool size by a property in persistence. xml :     

_PersistenceException: Failed to open file

Hello! I am experiencing a problem: JBWEB000309: type JBWEB000066: Exception report JBWEB000068: message com.objectdb.o._PersistenceException: Failed to open file '/Users/username/JBossSoftware/jboss-eap-6.2/bin/$objectdb:/localhost:8080/db/guests.odb' the path in persistence. xml

objectdb.conf Information

for server only right? Can we leave out non-required (for client and/or server) xml elements from

Cascading delete

Is there a configuration parameter to set this? dmoshal David Moshal You can set cascade delete using annotations (see also the Orphan Removal section). JDO defines similar annotations, and both JPA and JDO support this setting also in XML files, but no additional parameters exist in ObjectDB

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

?   binitbhaskar Binit Bhaskar ObjectDB 1.x and ObjectDB 2.x read the XML metadata differently

Failing in embedded mode, correct javax.persistance?

have reported. Answers I find invariably focus on the "persistence. xml

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

Unlimited JPA Persistable Types

the database it will not behave as expected. support Support The above link is for an XML

JDO PersistenceManager.getSequence() returns null sometimes

similarly to the XML metadata. Therefore, the name of a sequence that is defined by an annotation

ObjectDB 2.6.8

Added JPA XML validation schema files to Maven/JEE objectdb.jar. Added automatic release of pessimistic locks on client-server connection failure. Fixed an OptimisticLockException bug on commit after flushing a removed modified entity object. Fixed a  NullPointerExeption on new index building

File lock exception on odb$

:/localhost:8080/db/guests.odb'   the path in persistence. xml is :  

Memory leak in com.objectdb.o.CST

pool?   I found this in my persistence. xml That's a JDO setting, I'm using JPA, not sure

Inverse OneToMany Mapping and EmbeddedId

. xml file in the classpath 13:32:52.560 [main] DEBUG org.hibernate.jpa.HibernatePersistenceProvider