ObjectDB Database Search

101-150 of 200 results

Possible issue with LAZY Loading

part of the test? Or should it be empty ? Pretty much I want a unit test that shows the locationlist coming back empty , and then someway of calling so that it comes back populated. I'm uncertain now ... ;     } This method is used by ObjectDB to initialize the field with an empty lazy

OptimisticLockException

it??   dmoshal David Moshal You can disable the L2 cache (or empty it with evict ) and empty ... to automatically refresh objects in the L2 cache? You can empty the L2 cache or remove a specific class / object from that cache. support Support

Pooling of EntityManagers

. If I call entityManager.clear() does the first level cache is empty then? If not does fetching ... then you empty the persistence context / first level cache. However, possibly the main gain from pooling ... a new entitymanager and reusing an empty one. However, i will test it. thanks again Arne Arne Arne Stocker

Different behavior with persist() and queried instances?

is saved in db and the list of the object is marked as empty - Now close the entity manager ... - Commit the transaction   - FAIL, the list of the object is still set to empty in db ... is still empty in db after commit!! please help, I cannot even go further with this issue.. thanks! Alex quasado

"where in" query

why this result returns an empty set?   List results; TypedQuery prezs = em.createQuery("SELECT p ... to build a test case and the result was an exception rather than an empty result set. Version 2.3.2 fixes the exception - please try it. If you still get an empty set with the new version - try

Low performance when getting grove roots

Tsichevski Done as you suggested. Now the query result is always empty :-(   Regards, Vladimir ... would be needed in order to understand the empty results. Does it happen also with a new database file

problem with lazy loading - unittest project attached

, one entity with 2 related entities. if i use EAGER the test pass, if not the related entity list is empty ... is lazy - it is unavailable in a detached Foo instance and the collection looks empty . support Support

Removing entity class

ObjectDB database. The 2 tables for these entities are empty , but the tables exist, so they count ... . You will have to create a new empty database and copy the content of the old database to the new one. support Support

EntityManager getMetamodel() causes crash

also with a new empty database? support Support Working code.  Note I am using a persistence.xml ... the db each time, so this is on an empty db. package test; import javax.persistence.*; /** * Test Case

Failed to write to ObjectDB log file

specifying an empty path . support Support In my project I want to include objectdb.jar into my jar program ... specifying empty path. Then, zipped back into objectdb.jar file. Now it works fine. Thanks!  marcins Marcin

First persist takes long time

these initializations for many odb files, consider registering all the types in an empty odb file (e.g. by accessing the types using the JPA Metamodel API) and then you can duplicate that empty odb file (with the types) when necessary. support Support

Problem Using Reflection

I'm currently working on developing my own API to use with ObjectDB and I'm running into the following problem.  Using the API I can insert data into an empty database without any issues ... for this class when the database is empty without any problems.  Trying to add data once data

Project runs in Eclipse but not when exported to runnable jar

. avoid empty catch which results in quite failure). If ObjectDB throws an exception ... empty one is created (accessing a database file that is embedded in a jar file is not supported by

How force always recreate database on redeployment.

to force ObjectDB to always delete or empty the database file on startup ? webel Dr Darren Kelly ... : Connection URL Parameters To obtain a connection to an empty database (discarding existing content if any

Schema Evolution Question

by the client application was EMPTY . SUBSEQUENT restart of ObjectDB and client after attempting ... schema was empty .   CAPdev CAP Dev Thank you for this report. An improved management

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

relationships were null (not even just empty where appropriate), and on various pages I got NullPointerExceptions where non-null collection results (including non-null empty ) were expected. As explained to me by

Out of memory

is only 67MB, heap size is set to 1536MB. Log files are empty . Database uptime was about 3 weeks ... .jar:na] ... 1 common frames omitted The same with explorer. Running query returns empty objects

Recovery file does not match db file

, which has been fixed in version 2.4.0. Please check if the recovery file ( odb$ ) is empty , and if it is - just ... your server. support Support recovery files aren't completely empty (though are tiny, around 306

Removing an entity throws exception

, itemList and otherItemList are empty . The query: em.createQuery("select c from Customer c ... , with new empty db it works correctly. The objectdb doctor analysis has not found an error. Clearing

EM close causes an exception

case, you have 2 distinct tmp directories for the 2 JVMs (if possible, empty the root tmp directory ... -purge" , "true" ) ; does not help . But I empty the tmp directory. And during the execution I saw

remove & persist in same transaction => Attempt to reuse an existing primary key value

) and then the special Entity (A) is empty , we remove the special Entity (A). If we add additional data for Entity ... the same transaction: first remove additional Data - The special Entity (with id 1) is empty and we remove

Query vs Extent for retrieving data

have the maxReports set to 10 as I expect, but the List of PositionReportBeans is empty . Is there something I need ... out all empty arrays for the lists of PositionReportBeans contained within the PositionReportManagerBean

removing members in existing databases

Hi team i might ask for the best practice to remove some members (i.e. collections) in existing databases. There are several aproaches and I'm not shure wich on is best. 1. Just make the list empty ... priority thread. It also seems that it will be slow as option 2a, as emptying list fields updates

How to avoid NULL values on Embedded entities

clear   Edit: Sorry. Solved. The code was working, the problem was that i'm savin an empty string "" (not null) elnll002 Facundo Curti

Complex Schema Upgrade not working

in the previous Contact and Customer tables to be empty as well as the new Address class' table

Can I Disable the Creation of the "log" Directory?

which you set the log path to empty , since apparently the only place in which "log" is specified in

like operator (String)

handles the like stament like an exact search '='. This JPA impls returns an empty list. This behaviour

Database is erased after deploying a new web application version

Hello, I'm a new ObjectDB user and currently working on a Java web application that's running within Tomcat and uses ObjectDB. Each time I upload a new version of the web application (WAR file) and deploy it from Tomcat's manager, I get a new empty database. I assume

Tutorial issue

name: point.Point tutorial.Point Remove one of them from your project and start with a new empty

Spring + Maven + persitence.xml

the server on port 6136. Did not figured out how to create an empty db! Then I updated persistence.xml like

Duplicate Entity class names causes Exception in Query

would probably not be necessary. If the database is empty and the type is not specified in the persistence unit

Entity Type is not found (error 301) in Query

is empty - no persisted entities. Explict call of this method: em.getMetamodel().entity(User.class

Guestbook Tutorial (Eclipse/Glassfish)

is empty . Any help would be much appreciated. Michael gretnablues Michael Scott The database

Update Entity references if we change the type of an entity

. The ObjectDB explorer still show as Entity Class the 'EntityB' with the correct ID, but all fields are empty

Possible issue for JPQL "LEFT [OUTER] JOIN"

IS EMPTY ") Thanks.   eurojet P. F. Martinez You are right. Please try build 2.3.7_20 that should cover this case as well. support Support

Using of Second Level Cache

. When you retrieve a MyEntity1 its fields may be initialised as null / empty list, unless eager fetch is used

zip file or JAR manifest missing

with an empty database. Here are a few possible solution to this problem: Declare all your entity

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement

Query on primary key is slow when using 'IN'

parameter is empty ; then `param_productVariantOids.contains(this.productVariantOid)` will obviously ... that if the parameter is empty , I could substitute the condition with `&& false` to nudge ObjectDB into immediately returning an empty result, but it still did a full scan. chylek chylek

ObjectDB 2.5.4

Added empty implementation of new JPA 2.1 methods. Implemented new JPA 2.1 EntityManagerFactory methods:  createEntityManager , unwrap . Improved retrieving persistent string fields by using "".intern() for empty strings. Fixed a bug in queries on composed embedded primary key ( issue #1301 ).

spuriously objectdb objects have null references

) between a collection that is really empty and a collection that was just not loaded. You may avoid ... access of ObjectDB or as a -D command line JVM argument. If you just prefer an empty collection

Eager load Map

the database) the map is empty . Looking at the database through objectdb explorer shows the map contents ... map is empty so nothing is printed to the console. If you uncomment the 2 lines after the "find

Error reading UTF string (Serialized Objects in Explorer)

.MitgliedVertraegeFragment')).contracts IS EMPTY )))   quasado Alexander Adam The attached database is empty

Removing of an entity removes also another entity type

database and we get an empty result. This is a data lost, why this behavior can occurs? btc_es BTC ... anymore, the result is empty , only the ResolverMappings with type = 'scopes' are still available in

Table view does not work for queries

This shows that table view does not work for queries     Trianglehead Json Error The attached database seems to be empty . support Support Here it is.  Not sure why that was empty . Trianglehead Json Error Thank you for this report. Build 2.8.3_04 should fix this issue. support

Different behavior for casting and not casting

.MitgliedVertraegeFragment')) IS NOT NULL Furthermore, checking for empty collection doesn't return any entity ... ')).contracts IS NOT EMPTY quasado Alexander Adam Apparently inheritance in casting was broken

ObjectDB 2.4.0

on detachment to null (rather than empty collections ). Fixed a critical bug in handling a very large number ... queries. Fixed recovery from failure when the recovery file is empty ( issue #695 ). Removed

ArrayIndexOutOfBoundsException on flush

been moved or copied 4) No recovery - the database is new & empty upon startup 5) No but I'll switch

Use temporary files to enable very large transactions

to empty the persistence context? Do you use embedded mode or client-server mode? If you were using

Hard it is to add a record with explorer

.   Trianglehead Json Error The attached database seems to be empty . support Support Pls try