ObjectDB Database Search

101-150 of 179 results

Time Sequence Object Command DB

; The database can be branched (and forms a tree with the root at the top and leaves at the bottom); the user selects a leaf to load which is linked up to the root and then the DB is loaded from the root

JPA does not seem to be db agnostic

.class); Root root = query.from(Friendship.class); Path path = root . get("username"); query

Get list of database files

;  File root = Utilities.getServerFileSystem(         ... , password, false); This will return the root directory, which then can be explored further using ... root = Utilities.getServerFileSystem(           

Query results are not up to date for entities, not primitives

detail all the code of generic functions, but a piece of logic is this: private void root (Class type) {   Root root = criteriaQuery.from(type); } private void select(Object object) {  

OR not working with isNull

Given the following: Predicate isOwnedByUser = cb.equal( root .get("owner").get("id"), userId); Predicate ownerIsNull = cb.isNull( root .get("owner")); Predicate ownerMatchesOrIsNull = cb.or(ownerIsNull ... OR o.id = :userId Notice that the navigation  root .get("owner").get("id") is implemented as

Replaying recorded requests...

the root directory of my web project and now it is being read. So, I think for now I can live with it in 2 locations: project root for development, and WEB-INF/objectdb.conf for deployment. The question

Fetching Collections Puzzle

that every Node in my graph is at some level descendant of the root Node. I have been looking for an optimum ... Paul Kant Thanks Erick, I was messing up with the EntityManagers, which was the root of the problem. Have a beautiful day ! paulk Paul Kant

Storing objects problem

a list of other devices which are also type Device. My root device information are saved properly as ... = interfaceMy;   } } } kiki Kristijan Your code persists only the root object. If you want to cascade

TYPE Expression

;       Root e = cq.from(A.class);        ... error: private void applyFilters( Root from, CriteriaQuery query, CriteriaBuilder builder) { query

Need disk usage and delete some old files

file system root by: File root = com.objectdb.Utilities.getServerFileSystem(     

Attempt to begin a new transaction when a transaction is active

._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause

Like fails if both underscore and percent are used

.criteria. Root ; import java.util.List; import static org.junit.Assert.*; public class LikeTest { @Entity ... (); CriteriaQuery query = builder.createQuery(StringHolder.class); Root c = query.from(StringHolder

How to use JFXTreeTableView?

How to show in JFXTreeTableView a country like Root with its cities and the city with its communities? I have three classes, Countries, Cities and Communities. The Countries class relates ... the localities. My question?. How to show in JFXTreeTableView a country like Root with its cities and the city

Failed to synchronize replicated database

: The replicated databases on the slave server are automatically generated under a special root directory,  $replication , under the server data root directory. Starting a new replication of an existing master

ObjectDB is opening too many sockets

of  SSLSocketImpl and similar classes (in the 3 hprof files). However, trying to find the GC roots ... hprof files). However, trying to find the GC roots that hold these instances (using Java Virtual VM

Memory Leak in EntityManagerFactory ?

and of course running garbage collector) 5. the gc root of all those objects is our single ... is, that there are 248 com.objectdb.jdo.PMImpl Objects left, and the root gc is as well the EntityManagerFactory

EM close causes an exception

case, you have 2 distinct tmp directories for the 2 JVMs (if possible, empty the root tmp directory ... that the tmp directory has not been created due to no permission? Can you try running the test with a root user

evictAll() behavior

/persistent-nontransactional   i've checked state of root object, objects are persisted correctly

Criteria query error: Unexpected query token

= criteriaBuilder.createQuery(aClass);      Root entityRoot = q.from(aClass);    

osx menu item about window

osx menu item (for starting/stopping server, viewing config files, data roots , etc) is extremely useful. However, currently the about box doesn't show the current jar version of the server (and with rapid updates, it's difficult to know which version of the server is currently running, and track

Is there a way to set EAGER fetch on all "ToMany" collection relationships

if all the objects are reachable from some root that you load. support Support

find() cost unreasonable time!

Hi, I make a full binary tree of 4095 node, I check the first 9 node, but the root cost 24 seconds, why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type:Nodes, sons:2 child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes

Searching lists within objects

;    Root cdi = q.from(CDI.class);          

Type ... is not defined as an entity (@Entity is missing) (error 302)

in a libs directory on the root of the eclipse project and then add it to the classpath runtime

How to package orm.xml when using EJB in WAR?

and Maven correctly copies META-INF and all contents into the root of jar file when the (EJB) project

Problem with Criteria Querys

. Root ; public final class MyTestCase {     public static void main(String[] args) 

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

= owner;     }   } } The root cause is: com.objectdb.o.UserException: Attempt

Calendar in Criteria Querys

;   CriteriaQuery query1 = cb.createQuery();         Root e

lockfiles in client/server mode

. for example, /usr/local/share/objectdb: lrwxrwxrwx 1 root staff 24 Apr 5 16:44 work - /var/local/objectdb

Restrict by class in query

have a class hierarchy in which both Link and Folder are subclasses of a common root Entry

mapping file is not being loaded

itself is running in client-server mode using configuration contained in the default location (objectdb root

Replication issue, Replayer failing due to NullPointerException.

the path etc. which isn't correct as it was running as root , I just had this suspicious feeling

newbie - lots of exeptions

? Are there additional stack trace lines in the log (the root cause is missing)? support Support

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com

NPE at com.objectdb.jpa.JpaQuery.getResultList

{ CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery query = cb.createQuery(); Root fromMomentPayload ... ();             Root fromMomentPayload 

Issue with TYPE expression in Criteria API

.persistence.criteria. Root ; public class T605 {     public static void main(String[] args ... ;       Root e = cq.from(Customer.class);      

Weird issue with variable naming

us without ordering. The issue is that the name of the root variable is $1 as well as the name ... .criteria. Root ; public final class F329 { public static void main(String[] args) {  

ArrayIndexOutOfBounds with Critera API and function call

with CriteraBuilder.function("$1.getAge", Integer.class) ($1 is a valid path we've goot from our root selector). NOTE ... goot from our root selector) I cannot create yet another sample as creating samples takes quite some

stress test -> com.objectdb.o.InternalException: null

] with root cause [ObjectDB 2.5.5] Unexpected exception (Error 990) Generated by Java HotSpot(TM ... ] with root cause com.objectdb.o.UserException: Mismatch client-server protocol prefix at com.objectdb

Use temporary files to enable very large transactions

well as paths to these objects from root objects (to see why they are reachable and cannot be garbage ... root objects. Before the flush has been executed, the test persisted 10.000 entities.   btc_es

huge heap usage

about the roots and paths that keep these objects in memory (particularly roots and paths

JPQL support for Maps (JPA 2.0)

;  private Map data; } Error : Stacktrace:] with root cause com.objectdb.o.UserException

Server out of memory exceptions

databases. (If you think this is the root of the problem then I can switch it off across the board

Resource leaking via a rogue Shutdown Hook

to a garbage collection root after stopping is via the hook. Lachezar Lachezar Dobrev Thank

Out of Memory - Slow leak?

most of these instances (i.e. a path to the root ) may help. support Support Ok, I've uploaded the 3rd heap dump now

ObjectDB 2.3.3

of more than one class path root ( issue #554 ). Fixed a NullPointerException on detachment of some objects. Fixed Linux "Name or service not known" error on server stop.

ArrayIndexOutOfBoundsException on flush

to put a test together but we're taking a slightly different root at the application level to work

Alias not used in ORDER BY

Hi, I am doing something simple like final Root from = criteria.from(T.class) final Path path = from.get("someStringProperty") final Expression upperPath = builder.upper((Expression ) path); upperPath.alias("TEST"); criteria.multiselect(from, path); criteria.orderBy(builder.asc(upperPath)) I

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification () {     @Override public Predicate toPredicate(final Root benutzerRoot, final CriteriaQuery

JDO PersistenceManager.getSequence() returns null sometimes

{ private String message; public Thing(String mess) { message = mess; } } package.jdo (in the root