About like

forum_thread

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just a copy of the data, not the live information. ... instructions. Here is how my configuration looks like: <server>     <connection port="6136" ...

 
forum_thread

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 - 2.5     Mac OS X     jdk1.7.0_51 or jdk1.8.0_60     NetBeans 8.1Beta ... 21:18 It seems like a class loading conflict. This will be solved in future Enhancer ...

 
forum_thread

Exception while accessing the Persistence unit ...?

Hi, I am new to ObjectDB I was trying your eclipse/jee6/glassfish tutorial. I am getting the following exception: ... let me know what I am doing wrong? I really would like to get the development in eclipse going. Thanks, Best Wishes ...

 
forum_thread

Queries are slow on a large database

Hi, I have a 12GB database with 787603 entries. It is much larger than usual and there are performances issues. I am doing small queries and they take much longer than I expect, i.e.: Get the total number of entries Get 25 consecutive entries (i.e. 0-25) Get one specific entry On average each query needs 4 to 5 minutes to return a result. I have been adviced to use indexes but they are already used through the JDO Metadata file. For instance I use this class: ... to get the object with the highest Id. I tried a query like "count(this.Id)" or "max(this.Id)" but I get an exception: [ObjectDB ...

 
forum_thread

Bidirectional OneToMany is slow on updated items

Hello, I have a problem with the following situation. I insert persons with addresses. In the first run, they are all new with a new address. It runs fast. In the second run, the persons are all loaded and got a second address. This seams to be much slower. The Entities are all enhanced by the javaagent (which you can see in the contained eclipse launch configuration) Is there any way to speed it up?       ... Sorry for the late answer. Thanks the key works like intended. edit ...

 
issue

TYE NullPointerException

I've been seeing the following stack trace in a couple of tests today: ... the collection contained the relevant data so it looked like object wasn't loaded for the check but by looking at it in the ...

 
issue

Removing of an entity removes also another entity type

Hello, we have following case: ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. ... = 'interfaces' // there are also other types like 'scopes' em.remove(toleranceDefinition); // the ...

 
issue

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

NB: the following issue only happens with ObjectDB, it does not happen with EclipseLink.  Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: ... Maybe just replacing the prefix to something like getOdbHidden can solve the problem. Please try build 2.2.6_01 ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... Another issue with replecation... Slave server doesn't like when I'm reusing ID, unlike master where everiting is perfect! ...

 
issue

NullPointerException in __odbGetNumMember

Hi,   hi, When deleting an entity "Mitglied" -> everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong: ... (including in improving the error message), since it is like a partial build of a Java application that produces JVM errors. If ...