ObjectDB Database Search

101-150 of 200 results

Does ObjectDB support @Parent for @Embeddable reference to parent?

AFAIK JPA does not directly support an @Embeddable referencing the parent in which it is @ Embedded ... .IDENTITY) private Integer id; @Access(AccessType.PROPERTY) @ Embedded private Profile profile; public ... EmploymentDetails details; .... @ Embedded public EmploymentDetails getEmploymentDetails() { return

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

on this topic: 1. It only seems to work in embedded mode?! After trying a lot of things I finally tested ... expression, even when executing the same code with the same Entity classes as in my post before, in embedded mode I do not. 2. Even if the exception is NOT thrown (as happening in embedded mode) the order by

Debuging query before execution

implementation. What exactly do you suggest? The query string with parameter values embedded , replacing ... ? support Support The query string with embedded values would be nice for simple queries with up to 3 ... about this functionality in context of debugging and logging. Because of that, I'm for single line query with embedded values. lwalkowski Lukasz Walkowski

OptimisticLockException

2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded ... field. This is what I'd look at first. I've never used ObjectDB in embedded mode, but I'm thinking ... of the merge. Still haven't used ObjectDB in embedded mode. My issue was concurrency, and as OP posted, they are mainly single threaded. Willks William

OptimisticLockException

embedded mode, I'm a bit surprised by its behavior in client/server mode. dmoshal David Moshal Process ... after an optimistic exception (to improve performance). The behavior has nothing to do with client-server vs. embedded mode. This is how it works in ObjectDB 2.x in both embedded and client-server modes

Error 613 - i cant put a list into a Squad object

and another embedded Association, furthermore the athlete is inherited by a Person.  the problem: I tested ... ; import java.util.HashMap; import java.util.Map; import javax.persistence. Embedded ; import javax ... ;   @ Embedded     private Association association;    

Index causes increased memory usage

Hello, In an effort to increase the speed of our queries with our embedded ObjectDB ... to the system? ================================= Today, we ran some more tests.  We wrote a very stripped down version of our embedded ObjectDB ... of our embedded ObjectDB database application, that simply connects to the application that supplies

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in ... the application that uses the DB in embedded mode. So we basically start the application and let is stabilise ... information in the logs? 2. Do you have documentation on the best way to initialize ObjectDB in embedded mode

Exception after update of indices of Entity class

. Could you describe the index change itself? The stack trace may indicate an issue with an embedded class ... of an embedded class? support Support Hello, here are my classes: @Indices ({     @Index ... "}) }) public class Event extends Entity {     @ Embedded     private

ClassCastException of same object type

. Are you embedding ObjectDB as suggested in this thread ? You may also try setting the current thread ... bundle. It is embedded as per the thread you mentioned. I will have a look at the thread context

Spring + Maven + persitence.xml

Hi, I tested ObjectDB embedded and it is really fast! Everything worked out of the box. Maven:    com.objectdb    objectdb    2.4.3   Persistence.xml com.objectdb ... . How come I have class not found exception in embeded server but I do have in c/s? (sorry for long post

Failed to commit transaction: Attempt to commit a rollback only transaction

client/server mode and go back to embedded ?   dmoshal David Moshal Could you run the  ... -server mode to embedded mode is the solution. support Support In addition - the complete stack trace from

Mismatch client-server protocol prefix

? The implementation hasn't changed at all. We only converted our WAR to a standalone runnable WAR with embedded ... weird. Maybe it is a conflict between embedded Tomcat / new Spring and ObjectDB. support Support

Missing (null) elements in eager loaded references

children ; @ManyToOne private DataElement parent ; @Basic private String label ; etc... } Embedable ... . Inside the ErrorTest.java are two test which both fail because of missing embedded elements.   Kevin

Join query problem with new statetment

of objects - embedded /entity? lwalkowski Lukasz Walkowski The embedded / entity is merely a guess

TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType ... ; And this is embedded in this Entity class @Entity @Access(AccessType.PROPERTY) public class Chart implements

multiple different applications access one odb file

server you should be able to use ObjectDB in embedded mode to access the same database file ... the same database file, you have to use either client-server mode or embedded -server mode. support Support

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

for other persistence providers, e.g. EclipseLink, which can pick up the orm.xml from the jar file embedded in the war ... that the sequence generator isn't working when the EJB is embedded in a WAR file?        

errors on repair

the configuration we are using the (unofficial) combined embedded /server mode. The problem occurs in the embedded

Does aggregate function "greatest" work on entity objects?

() + " result = " + result); return result; } @Column(length=1024) private String text; @ Embedded private PersonData sender; @ Embedded private PersonData recipient; @ElementCollection(targetClass

Undeploying Glassfish web application does not disconnect from ObjectDB

ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close the EntityManagerFactory , and consequently the ObjectDB database remains in use (and in embedded mode

Database server with an application

Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way ... to it. Is that correct? Thanks EKK Emmanuel Keskes There is an undocumented feature, embedded server , that you can use. support Support

Error: Failed to write value of field X using reflection (oneToMany relation)

Cliente. @Entity public class Pedido { @Id @GeneratedValue private long id; @ Embedded private ... , has nothing in special. Just a few variables. String, int, and an embedded class. The problem is that, when I

ObjectDB eclipse plugin

) - this is something that the ObjectDB BIRT plugin doesn't have to handle. Anyway, the workaround of embedding the ObjectDB jar in ... requests with higher priority. support Support Anyway, the workaround of embedding the ObjectDB jar

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

static final long serialVersionUID = 1L; @Column(length=1024) private String text; @ Embedded private PersonData sender; @ Embedded private PersonData recipient; @ElementCollection(targetClass

Searching lists within objects

enum (more efficient). An alternative solution is to use embedded objects: @Entity @Index(members ... ;     private String value; } Embedded objects are compared by content (and not by ID

Native ObjectDB Support for EnumSet ?

Greetings ObjectDB team, Are embedded EnumSet objects faster to query than normal classes ? Does JPA/JDO offer native support to filter persistent objects by an EnumSet field's multi values ? For example: WHERE o.es == ES.A | ES.B | ES.C Thank you ! geekox86 Mohannad AlAwad Embedded enum

More Efficient Primary Keys

Primary Key  with two Longs b) Embedded Primary Key with two Longs c) Furthermore, as String ... ) requires instantiation of an additional Java object (the embedded key) so theoretically

Spring 4 setup

Can someone provide an example of setup ObjectDB embeded to be used with Spring4? Existing examples is like for Spring3 and I can't figure how to use ObjecDB in Spring tutorial: https://spring.io ... , otherwise I will get some exception like: 'Cannot determine embedded database driver class

ObjectDB 2.6.5

OF queries on embedded objects. Fixed a bug in querying indexed nested embedded objects. Fixed a bug ... change . Fixed a bug in indexing java.sql.Date fields during time / time zone change . Fixed a bug in detachment of embedded objects ( if enabled ).

NullPointerException when using multithreading

declaration with all its embedded types: @Entity public class MyEntity { @Id private int firstId; @Id ... () on the database.  To my knowledge the entity and embedded classes are annotated correctly.  ... performance may be improved by: Enhancing the code. Using embedded mode instead of client server mode

ObjectDB Server not able to handle large collections

client-server mode. Using objectdb version 2.8.8.b05 When switched to embedded mode, the migration ... embedded mode to store the object no exception was thrown and you get this unexpected error now ... embedded collection, but the limit of 2GB data per client-server operation is the same. Use query

ObjectDB 2.6.4

Added memory only database mode. Added an option to cascade detachment to embedded objects . Added ... memory management in multi flush transactions. Extended detachment of embedded objects ... of embedded objects to collections. Fixed database page objects reuse to release to be cleared

Unexpected error when loading all entity instance

about how you use ObjectDB, i.e. client-server or embedded mode, number of databases, hardware, operating ... : embedded mode (single process multi-threaded access), one database only, running inside a xen vm ... . Will you be able to try client-server mode instead of embedded mode in production for awhile

ObjectDB BIRT Driver Update

. In the current implementation ObjectDB is embedded in the driver. Any 2.x version of the driver can work against any ObjectDB 2.x database file in embedded mode, since the database file format ... will not be embedded in it. This will enable further flexibility in using the driver with different

log entry and massive performance issues

-- we are using objectdb in our application in  embedded mode -- open explorer and connect via embedded server ... more details? The last point regarding killing an application by using embedded -server mode, is it related

Internal error

one thread I was opening an embedded database, and then that thread crashed because of an exception ... the exception? You wrote that: In one thread I was opening an embedded database, and then that thread ... starts.  It's not easily repeatable. You wrote that: In one thread I was opening an embedded

Out of Memory - Slow leak?

" process which reads messages from the queue database and inserts these into an embedded "normal ... the "consumer" process is connected to 4 server-hosted databases and 9 embedded databases (the embedded

ObjectDB 2.0.4

;detached embedded objects. Fixed a spring transformer (LoadTimeWeaver) problem. Fixed a class loader issue when using GWT/Jetty. Fixed a bug in using fields of embedded primary key in JPQL queries.

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 ... embedded db. btc_es BTC EmbeddedSystems Can you post a heap dump, or at least relevant information

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @ Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists ... snippets which should reproduce the problem. public class Locale extends BaseEntity { ... @ Embedded

Better support for ObjectDB in Eclipse Plugins

ObjectDB can be used in Eclipse plugin, but currently it has to be embedded in the plugin and cannot be used from other plugins in which it is not embedded . More details can be found in the following forum threads: ObjectDB eclipse plugin Eclipse plugin problem (using ObjectDB as a separate bundle

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

appreciated. Code works fine when running with ObjectDB embedded , but throws the exception randomly ... with ObjectDB embedded , but throws the exception randomly when application accesses ObjectDB in 

cannot delete objects after crash (see issue 2283)

support an automatic recovery, too ? - is the replication possible using embedded mode ... using embedded mode ? Currently replication is only supported in client-server mode

com.objectdb.o.InternalException: null

? What happens when you access the database directly in embedded mode? Could you please check ... embedded mode. The result of the Doctor check is: % java -cp bin/objectdb.jar com.objectdb.Doctor db

database corrupt

(old link) If you use ObjectDB in embedded mode (similarly to Access, which is discussed in ... system is shared). Accessing ObjectDB in embedded mode directly from two processes is fatal. Regarding

Tracking changes to new collections (in enhancement mode) after flush

, relying on automatic invocation of change events, including in embedded collections. We should check ... a workaround you may try add a change to a direct field in the embedded object. support Support If we touch

ObjectDB 2.4.2

(unset values in new fields) correctly. Fixed a bug in clearing embedded objects during merge. Added automatic cascading through embedded objects. Fixed a bug in clearing persistent properties of primitive

ArrayIndexOutOfBoundsException with enhanced Entity

only with an embeddable entity embedded within another embeddable entity like:   @Embeddable class Embed ... Alexander Adam This bug (in managing nested embedded objects) was fixed in version 2.2.9. Thank you for your report. support Support

InternalException when using MEMBER OF on a large list in a query

that combine large objects with long primary keys. In such objects the keys may not be embedded in ...   with two Longs b) Embedded Primary Key with two Longs c) Furthermore, as String (but reduced