About package

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. #1 2013-05-25 18:08 Hi! I've just discovered that I can't see the content of a database while it's in use. Is the ...

 
release

2.5.5

... names (issue #186 ). Fixed accessing a package level JDO sequence using getSequence ( issue #186 ). ...

 
issue

NullPointer when accessing persistent field

I am afraid this is a large and complex example, and I do not encounter the problem in simple cases, therefore there is no example attached. I appreciate this may make the bug unreproduceable from your end.   Bug Version: 2.3.2 Priority: Normal Status: Fixed Replies: 7 Type:  Bug ...

 
forum_thread

com.objectdb.o.UserException: Failed to generate dynamic type

Hi, I am trying to open a DB and I get the following error:   ... Reading about Schema Update. I see there is Package/Class/Field elements in the schema - but where do I find the schema ...

 
forum_thread

Help with 'not like/lower' query

Hi again,   Honestly, I'm fairly new with JPA2 Criteria queries - but as far as code effort goes, it has saved me a bit of pain. I'm writing a dynamic query builder (only 1 level deep for basic entities) - but  even though I get most queries to work, I am getting the following error. This is using Criteria with a combination of LOWER/UPPER - NOT LIKE: ... statement.    Code: package com. objectdb . forum ;   import java. util . ...

 
forum_thread

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. ... Here it is: package test ;   import java. text . ParseException ; ...

 
release

2.5.4

... names (issue #186 ). Fixed accessing a package level JDO sequence using getSequence ( issue #186 ). ...

 
issue

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Hello Object Db community :) I am using this wonderful library and I caught a strange exception while testing the "composite key" feature in JPA. Let's see what I am doing : @Entity public class Book {     @EmbeddedId BookId id; } @Embeddable Class BookId {     Integer bookIdCountry;     ECountry country; } My BookId contains 2 attributes: One Integer and one enum. ... key with an enum type. Here is the code : package test ;   import java. util . *; import javax. ...

 
manual

SELECT clause (JPQL / Criteria API)

Explains how to use the SELECT clause and projections in a JPA/JPQL query.... the SELECT result expressions, as follows: package example ;   public class CountryAndCapital { ...

 
forum_thread

Upgrade to Java 8 won't run

I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to the latest revs (Groovy 2.3.6, Java 1.8.0_25, and ObjectDB 2.5.7_05), and now my application fails when opening the database. It's dying on one of these lines:   emf = Persistence.createEntityManagerFactory (dbName)   em = emf.createEntityManager()   em.setFlushMode(FlushModeType.AUTO)   ObjectDB.em = em   ... 36 more Caused by: java.lang.SecurityException: Prohibited package name: java.util at java.lang.ClassLoader.defineClass1(Native Method) at ...