Internal Website Search

101-150 of 200 results

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

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

with a new empty database or after applying schema change. If you get this exceptions only with a new

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

Storing objects problem

include any indication that the child devices are not empty . Please follow the posting instructions

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     hgzwicker Hans-Georg Zwicker This may be because the transaction size is limited by the heap size

First query before any of the object has been stored

;NoResultException to be thrown, and coded to handle that as an empty result. What's really getting thrown

Getting com.objectdb.o.UserException:

You should be able to disable logging now with ObjectDB 2.4.3_01 by specifying an empty path .   support Support

Replication failed

). Other ideas: verify that both servers on 6136 and 6000 are running, start with an empty database or

@ElementCollection query returning extra result per element in collection

. Could be that I'm being confused about JPA2 criteria again.  Here is the example output, with a new DB ( empty

Database(*.odb) file size on disk

are reused but the the file not resized. The database is at the end empty again, but larger

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