ObjectDB Database Search

101-150 of 190 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

Complex Schema Upgrade not working

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

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

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

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

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

Connections pool

the persistence. xml file , for example to maximum 100 connections:      support Support Great! Thank you! zmirc Mircea Chirac

coonection pooling

database when quering the ObjectDB. can we use persistence. xml to define this connection

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid use of annotations. This is an example of what I'm trying: When the code is run I get the message:  No definition of generator 'audit_seq' (referenced by field com.spiffymap.sealog.model

recovery enabled="false", still creates tablename.odb$ files

default the configuration file is loaded from $objectdb/objectdb.conf. You can add an XML error

Adding objectdb-jee.jar to the maven repository

), dependency on JPA and JTA should be explicitly specified in the pom. xml file:     

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

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