ObjectDB Database Search
151-200 of 200 resultsjava.lang.NullPointerException when using ORDER BY, but the problem persists. Finally, we tried queries like the following and all work: SELECT r FROM ... is also a Date member like r.startDateTime. prolancer Emil Andonov As I was writing the previous | |
Web Framework Recommendation for leveraging JPA + ObjectDB Hello dear ObjectDB Community ! First of all let me tell You: I am glad that I have revisited ObjectDB just recently; because with its newly added JPA compliance and affordability, it seems like ... like ObjectDB, for instance. Immediately the following question pops up: Which Web Framework supports | |
multiple LEFT JOINs do not work as expected looks like this: SELECT DISTINCT $1 FROM Organisation $1 JOIN $1.attributeList $2 LEFT JOIN $1.parentOrg ... is supposed to work like that? I'm running 2.3.4_05 version. Kind Regards, Natalia. natmaclin Natalia | |
Composite indexes the smallest subset of unique records ( like for example "isPublished" which is either true or false ... @Indexes? Something like that : @Index(members = { "lastModificationDate", "isPublished" }) @Index | |
OptimisticLockException that, for every transaction, I need to handle the optimistic lock by manually refreshing each object? if so, it seems like ... , so that doesn't help me. Pessimistic locks might not help either, given #3 above, ie: it seems like | |
OutOfMemoryError on search after update on DB created with DB Doctor It looks like there may be an issue with the DB files created with DB Doctor in recovery mode. This is the scenario that results in the OutOfMemory exception problem (using Object DB 2.5.4_04): 1 ... may be and how we can avoid it. I would like this opportunity to suggest to you to modify DB Doctor to create a file | |
significant performance decrease, and query execution time. support Support Object class is defined like this (indexes are defined ... for query like this (400000 ObjectNode instances, database size around 1.5 GByte): around 1.5 seconds | |
How to define Default Entity Listeners without persistence.xml and orm.xml I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity Listeners. How to do ? Here my init code: Properties config = new Properties(); config.put("javax ... Is there a way using em.getDelegate() and then using objectdb api ? I would like to do specifics actions | |
EmbeddedId with Generated field value annotation @GeneratedValue like the following: Solution 1) class A { @Id @GeneratedValue private long uid ... believe declaring it like the following should be the same: public class ZoneId { public long id | |
Homepage and forum nearly inaccessible, and it has been like that for 1 year, since I started using ObjectDB. I'm also accessing from Europe, and many ... got this error shown in the attachment. zmirc Mircea Chirac I would just like to confirm that as | |
TYPE Expression Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o ... ) when trying to get a result list. leaving it out removes the error, other filters like string equals | |
Adding EntityListener Throws Unexpected Internal Exception I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on the documentation but no luck. My entity class looks like below: @Entity ... .. } and listener like below: public class MyListener { @PostLoad   | |
Is there an update on running ObjectDB purely in-memory? Hi, I know that this has been asked, but the last time seems to be two years ago, so I'd like to know whether there is a change or an outlook regarding the topic: Is it possible, or planned, to run ... -memory mode, as supported by SQL databases like H2 or SQLite. Thanks, David dbb David Blumenthal-Barby | |
Updating existing persistence entries actions). When I try to persist an object later on, I get an error like com.objectdb.o.UserException ... my persisted object which may have changed for one or more fields to a call like "session.update(objectInstance | |
Entity Update - Is the documentation up to date? Support I'd like to understand the "dirtying" of entities a little better. If an array reference ... when a setter is called with the field's current value, I can test for equality inside the setter, like | |
alter table, It is better if there was an elegant way like "alter table ...". gzdillon Lai Yang Add the index definition ... , I restore the Meta to independent. But I get error like : Exception in thread "main" [ObjectDB 2.2.9 | |
Some technical questions something like MVCC, so it can see the data at the time the backup was started (to have consistent ... it implement something like MVCC, so it can see the data at the time the backup was started | |
Search with wildcards and index issue Hi, I have a search using wildcards: SELECT $1 FROM CDI $1 WHERE $1.loginId LIKE '%*_last%2' ESCAPE '*' This works perfectly when loginId has NO annotations. Now if I add to loginId the following ... demonstrates that ESCAPE in LIKE was ignored when using an index. Build 2.3.7_11 fixes this bug. Thank you for your report. support Support | |
How to apply Unique constraints on embedded fields? A . Something like : @Entity @Unique(members={"b.c.values"}) @Entity public class A { private B b ... . but my requirement is something like this @Entity @Unique(members = { "b1.c.values", "b2.c.values | |
Automatic schema evolution causes ArrayOutOfBoundsException Hi, I did 2 modification to our schema. Our schema looked like this: class Entity - List permissions class ServiceProvider extends Entity - String name class Airline extends Entity - String name ... field, the schema now looks like this: class Permission (@Embedded) class Entity - List permissions | |
Search through collection for value using index I have an entity that contains a java collection of a Long id of user entities that can modify it (many users can modify it). I would like to be able to search for all entities that can be modified by a paticular user, since I will do this query often I would like to index it.   | |
JPA Query language support in OBjectDB / Sub query or nested Query very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or nested queries where I am using IN clause like below. @Query("SELECT product FROM Product product | |
Should I use ObjectDB and JDO?. It looks like JDO is the preferred API for me (because ObjectDB FAQs lead me to believe ... the ObjectDB reference. CBE CBE It looks like JDO is the preferred API for me (because ObjectDB FAQs | |
how explorer queries work entities. (obviously the explorer must be doing something like this; correct me if i'm wrong ... , an untyped query: List result = em.createQuery(queryString).getResultList(); throws an exception like | |
Entity factory Hi, is it possible to create Entities with a custom factory? I want to create Entity instances via dependency injection like : @Entiy public class User { private final UserService userService;   ... listener instances inside his application and add this listener via API call to ObjectDB ( like | |
Object explorer cannot open odb file. ObjectDB many-to-many relationship? I'd like to implement a many-to-many relationship so that User and Project can be directly access ... and Underlying object (but not through theirs keys). I'd like to work with typed object in the code | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities was detached through serialization this would not be possible. .. If you would like TopLink Essentials ... adequately explore aspects like accessing lazy relationships when combined with Glassfish. From http | |
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 | |
Multitenancy with discriminator containing object from various domain. And the question is: do you plan to add a feature like Hibernate ... product? Thanks, Andrea andrea.costantinis andrea We would like to implement this feature in a future | |
removed objects stay with null field values in the reference We have a class with a one to many relationship declared like this (1 or more objects of the same class are linked into the relationship, no circular referencing): @Entity public class ObjectNode ... . But you may still have broken references to that object, like links to a web page that doesn't exist. support Support | |
Entity listener - event instead of object Lukasz Walkowski So, I did few tries with getPersistenceManager() method and it looks like ... for difference in object fields? It should be something like creating entire new EntityManager that has access | |
Custom Classloader: Issues with the Enhancer Agent In my use case I generate some classes dynamically and load them with a custom classloader. The classloader is very standard and does something like this (simplified): public class MemoryClassLoader ... get errors like this: Java.lang.LinkageError: loader (instance of rsl/core/classloaders | |
ClassCastException on closing PersistenceManager; the method on the bottom of the stack trace looks like this: private PersistenceManager persistenceManager ... ; } } It looks like it's related to the state of the DB. I replaced the non-working DB file | |
objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation when using with generic classes for "deep" value wrappers with signatures like : @Entity abstract public ... with why one would bother to wrap something like a Boolean in this fashion, it is however a very powerful | |
Problem with polish characters Hello! I'm a student from Politechnika Rzeszowska University of Technology. I'm doing a project and i have a problem with polish characters. When i'm coding .jsp file like this: i have polish ... that you have stored. Therefore, it is very likely that the polish encoding problem is related | |
locks on pure query activities analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simple queries (just selects, no update or delete ...) show locks like these (question ... like the first heap dump where all are waiting to lock com.objectdb.o.LFL objectdb | |
Roadmap - no progress - any plans - transparency? would like to see new features released more frequently, but we will not be able ... , so I see it more like an excuse in your case. Take a look at MySql / MySql Cluster for example | |
Vs. EHCache Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any performance information vs. something like ehcache with a persistent store. I'm currently evaluating for a simple schema to persist only 1 or 2 types of entities | |
Path in tomcat. support Support You can try configuration like this (it's my day to day dev environment): - create ... configuration - Arguments - VM arguments) Of course you can change this on Windows to something like "d | |
NullPointerException while setting a new property value(PluginMetaData.java:94) PluginMetaData looks like this (nothing extraordinary, no relationship to other @entities ... , but since this is not the usual way of working with JPA, you may have some difficulties like this  | |
Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException. It looks like ObjectDb is not catching all Exceptions, allowing them to bubble up into ... are originating from ODB code. NullPointerExceptions are very concerning and we would like to ensure | |
Explorer bug ? Objects seem to be missing from database in Class view, but are present as references because it appears to be either database integrity corruption, or it just looks like ... like it). Please attend to this very serious problem as soon as possible so that I can resume | |
several times a day queries take several minutes we have queries like (see the database that we handed over to you for other issues) select distinct o from ObjectNode o join o.properties p1 join o.properties p2 where o.classIdentifier = "(OP ... , like the above example) hgzwicker Hans-Georg Zwicker Can you monitor the server | |
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 ... would have expected the alias to be used in the ORDER BY clause, something like SELECT $1, UPPER($1 | |
ArrayIndexOutOfBoundsException with enhanced Entity Hi! We have an two entities, the first one is something like : @Embeddable class TestEmbed {...} and the second one: @Entity class TestEntity { private TestEmbed myEmbed = null; public TestEmbed ... only with an embeddable entity embedded within another embeddable entity like : @Embeddable class Embed | |
Exception makes the system unusable for several minutes if it is always the same objects that refreshing them causes the exception? support Support from messages like ... It is very likely , according to the stack traces and your answers, that these exceptions are thrown due to 4 | |
log entry and massive performance issues put the database to our extranet and inform about), the ObjectNode.nodepath is like '/(EL)ANYNAME/(EX)F ... : the ObjectNode.nodepath is like '/(EL)ANYNAME/(EX)F', you can find a number of these objects linked | |
References to objects of missing obsolete entity classes by a lot of ghosts and would like to do something about this. How we gonna call? btc_es BTC ... and would like to do something about this. How we gonna call? If we enable reflection, we don't | |
missing merger, we are using could that cause problems like these ? hgzpincher Hans-Georg Zwicker we checked ... could that cause problems like these ? Excellent spot on. It helped a lot in reproducing the issue with a test | |
Table view freezes the program, but if yo just open table view like in the video it's slow/freezes. Trianglehead Json Error ... than query method. But yah definitely not freezing like before. Trianglehead Json Error |