About empty

forum_thread

Multiple joins did not return expected result

Hello, I have 3 entity classes: Event - String title Calendar - List<Event> @OneToMany SharedCalendar extends Calendar - Calendar original Now I want to retrieve all events from a specific calendar by its id like: ... ? 1 instead? There is no error at all, just an empty result. Thats why I thought this must be working. Is there a more ...

 
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

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 ...

 
forum_thread

Visibility of changes in Transaction is not visible to a JPA QL Query

I have two simple Entities ( see attachment ) and a simple SLSB with container managed transactions which is called by a trivial servlet. Inside a UserTransaction I add a number of items then check to see that they have been added ... private Integer property ;     // Bonus empty constructor generated for JPA protected Item ( ) ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... fields, but the [Summary] view is initialized as an empty view. Therefore, unless set, persistent objects are presented in the Tree viewer as an empty set of fields (using "{}"). To set a view for a class, first ...

 
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 ...

 
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

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 ...

 
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 ( ) { ...