ObjectDB Database Search

51-100 of 164 results

ClassCastException of same object type

used over a network via the server. So having more than one copy of objectdb seems to be impractical

Removing objects where ManyToMany relationships exist

well, so, the TreeSet is reduced in size? Or do I end up having a number of null pointers in the Sets? 

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps

_PersistenceException: Type is not found on getSingleResult.

Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone application and i'm having issues querying for an object of this entity: @Entity public class Estudiante{     @Id     @GeneratedValue     private Integer id

Problem with Criteria Querys

Hi, i am having problems running following code...   import java.util.*; import javax.persistence.*; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.ParameterExpression; import javax.persistence.criteria

NontransactionalWrite error using Collections.sort .

Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object.  Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: br.ufpa.linc.MetriX.api.model.Interface#105 (error 635)   I don't want

Duplicate Entity class names causes Exception in Query

and so far it works without having to use qualified entity names. Sorry, I didn't see that you only want

Trouble viewing db in Explorer.

I am having trouble with the Explorer.  I can open the db just fine. I can open a few simple extents and view/navigate fine also.  The problem occurs when I view the more complex extents. The Explorer will not repaint the right pane.  I drag off screen to force repaint and get(right

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

if one could simply drop the objectdb bundle into the runtime, request a reference to the Factory and not having

Low performance when getting grove roots

is explained in this manual page . support Support As I understand, I require having javax.annotation.xxx

Missing Data on Retrieval (0, null values)

objects, when applicable. Having ordinary Java classes to represent your persistent data (including

Memory use in OneToMany relationships

? I would assume so and can this be worked around by having PicData a reference to the Pet like

Join query problem with new statetment

an embeddable class to entity class, which results in having a class with mixed objects in

Failed to commit transaction: Attempt to reuse an existing primary key value (613)

to me why is it happening  i would be grateful with you cause i am having this problem for 2-3 weeks

LIKE wildcard with single character "_" behaves like a "*"

_") It matches both "key" and "keyboard" Having the underscore anywhere else works fine, however. 

Optimization Question

only one is transacting the database at any given time, but then that defeats the whole point of having

@ElementCollection query returning extra result per element in collection

Hi,   I'm having a hard time narrowing down an issue that only became apparent with in the UI. The issue is that, I'm getting repeated results of the owning entity of an '@ElementCollection'. The entity returned is repeated for every element in the collection. Switching back to EclipseLink

Unable to convert 1.x odb file to 2.x

check the attachments. I believe this could be caused by having an array of objects as the value in

Optimistic Locking

We are having problems with optimistic locking. I made a simple test case to try to induce an optimistic lock. I have two users logged on to our system.  They both read and display the same data.  Then I change the data with user 1 and submit, and then I change it with user 2 and submit

Issue with compile time enhancement

) is listed as having been enhanced. I am running with ObjectDB in embedded mode via a reference

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction, do the modifications and commit the transaction. I want to have a managed entity that is in sync with my database. So when I got a Person class and I do person.setName("John"), the name in my database

Vacuum - Reclaiming Unused Space In Odb

I was curious if you could assist me with a challenge we are having with our objectdb database.  Our odb files are about 50Gb in size and are written to about a million times a day with both adds and updates.  This is creating a lot of unused space in the database that we are wanting

Many connections possible? and will it makes problem in future?

My questions is about : 1-) Can objectdb server handle 200.000+ connections at the same time concurrently ? Does it have queue and cache ? 2-) is it dangerous to use that system on many online users ?   kadirbasol Kadir BASOL Having 200,000 concurrent threads is probably a bad idea. Usually

TimeSeries and ObjectDB

(same as before) - there is no overhead of having each TimeSerie point - in a different entity

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Explorer, without having any problem. That's the main point. That's a real pain. In the first app I

Unable to delete the .odb file programatically

do. May be, this thread is having the lock and that is the reason, we are unable to delete the odb file. I

ObjectDB Explorer very slow with remote con

. By having just 1 SSH connection to the VPS, it works at an acceptable speed. Sorry and thanks for your reply. zmirc Mircea Chirac

Recommendation - concurrent access multiple class v

and version x+1 of a class. I would really need your advice on this, because having 100% uptime is mandatory

Objectdb server out of heap space

is acceptable, but having the whole server die is not (at the very least put in a watchdog process

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

am having problems with a console-based Netbeans Java Application with a nominated Main class

EntityManager JPA or JDO impl and different behavior

how, by having a Map that it's key is an Entity and the values are a List of another entity, the list

IN expression in a Criteria Query

(Unknown Source) I also found another issue with this query: SELECT a FROM Account a GROUP BY a.code HAVING

@AttributeOverrides , and postgresql + own TYPE

with trying. It is only one file, having 135 line. Very much thank you for your help and I hope for answer

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.Id; import javax

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type

Issue with alias

is:     FROM - WHERE - GROUP BY - HAVING - SELECT - ORDER BY and you cannot use an element before it is defined.   support Support

OptimisticLockException

would have thought that would be done automatically. Having used objectdb for nearly 10 years now, all in

@PrePersist Implementation

Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityListener and @prePersist annotaions to invoke my action class .. But problem is how can i get oldvalue and new value of current form of pojo in side my @entity Listener Action class. code snipt

Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. suez Tobias JPA supports 3

Duplicate a table

Hello, I would like to know if it's possible to copy the content of a table representing one class of object to another table whithout having to use java object (no object instantiation) ? In fact, I would like to execute a native query like "select * into T0 from T1" My purpose is to backup

Query fails with failed to read

;especially after having a c/s connection the usage before   [2018-08-28 17:12:57 #5 store.file ... after having a c/s connection the usage before. There is a change in one of the recent ObjectDB builds that may solve this Explorer behaviour. support Support

Best practice for history tracking

We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking

combined index not used

having this problem? support Support this was our first attempt. We also tried it with the bug database

Can't open replicated database

having much joy replicating the exact circumstances which cause it. I'll send an update if I can track

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I

Allow removal of entity class from ObjectDB & Explorer

also, therefore I made a feature request with it. We look forward to having this feature available. Thanks

BIRT Driver Improvements

though is the thing about having a runtime driver either integrated in the objectdb jar or (better

Enhancing a class causes it to not save changes.

, but I hate having unexplained exceptions in logs as they tend to bite you in the long term... [2019-09