About empty

forum_thread

Possible Bug in MEMBER OF

Hello! I maybe found another bug in version 2.3.3. I'll send you a test DB via support ticket. Try the following query in explorer: SELECT u FROM Unit u WHERE :user MEMBER OF u.users Set user to TrackerUser#8 If i run this quey i get: Invalid operand type at.co.pjm.tracker.persistence.TrackerUser for operator MEMBER OF SELECT u FROM Unit u WHERE :user MEMBER OF u. ==> users <== In my opinion the result should be Unit#4004 ... fix that makes your query work. Still SIZE and IS EMPTY are not supported yet and this should be fixed in future versions. ...

 
forum_thread

Spring + Maven + persitence.xml

Hi, I tested ObjectDB embedded and it is really fast! Everything worked out of the box. Maven: <dependency>    <groupId>com.objectdb</groupId>    <artifactId>objectdb</artifactId>    <version>2.4.3</version>   </dependency> Persistence.xml ... server on port 6136. Did not figured out how to create an empty db! Then I updated persistence.xml like: (test.odb doesn't ...

 
forum_thread

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement that should be done beforehand?  ... ( ) ; What I was expecting was an empty list, not an error. Is there some enhancement that should be done ...

 
api-jpa

getExpressions()

Return the top-level conjuncts or disjuncts of the predicate.(Method of javax.persistence.criteria.Predicate)

 
api-jpa

getEmbeddables()

Return the metamodel embeddable types.(Method of javax.persistence.metamodel.Metamodel)

 
forum_thread

Possible issue for JPQL "LEFT [OUTER] JOIN"

Possible issue for JPQL "LEFT [OUTER] JOIN" is doing "[INNER] JOIN".   Thanks. ... for issue 146 ("SELECT a FROM A a WHERE a.list IS EMPTY") Thanks.   ...

 
forum_thread

ObjectDB Explorer very slow with remote con

Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very slow. The database is quite empty now, just between 5-20 records / entity, but it's still very very slow. That's the only thing that is slow on my server... How can I speed it up? ... it seems to be very slow. The database is quite empty now, just between 5-20 records / entity, but it's still very very ...

 
api-jpa

javax.persistence.criteria.Predicate

The type of a simple or compound predicate: a conjunction or disjunction of restrictions.(Interface of JPA)

 
api-jpa

isMember(elem, collection)

Create a predicate that tests whether an element is a member of a collection.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU"); ... close ( ) ; } //Empty Constructor public void Main ( ) { ...