About boolean



... Fixed a bug in using enhanced entity classes with is ( boolean ) persistent properties ( issue #237 ). Fixed porting ... 2.5.3 Added support for casting from boolean to int in queries. Changed default value of ...


ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... Primitive types (boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). ...



Type of criteria query parameter expressions.(Interface of JPA)


New to Product & Having An Issue

Greetings ObjectDB Users! I'm new to the product, and I've setup a simple test after reading the tutorial, and I'm running into some issues with queries, specifically querying by primary key.   I have a domain object class Called Department, which has a member of type DomainId.  DomainId has two member fields:  String accountId and String objectId.  The following code shows these two classes.... = employees ; }   public boolean equals ( Object obj ) { if ( ... ) ; }   public boolean equals ( Object obj ) { if ( ...


Finding out the JPA provider

Do you have any preferred way of finding out whether ObjectDb is my EntityManager's JPA Provider? I know there are problems with using getDelegate ( http://weblogs.java.net/blog/ss141213/archive/2009/05/be_careful_whil.html ) but on the other hand unwrap is not very portable ( https://forums.oracle.com/forums/thread.jspa?threadID=2149162 ). It would be nice if the <provider> element of the PeristenceUnit were visible in one of the Properties sets returned by the EntityManager and EntityManagerFactory, but its not.   ... In the EntityManagerFactory : boolean isObjectDB = emf. getProperties ( ) . get ... ; Or in the EntityManager : boolean isObjectDB = em. getProperties ( ) . get ...



Interface used to interact with the entity manager factory for the persistence unit.(Interface of JPA)


[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

reporting issue as requested  ... private List<Chart> findChartEntities ( boolean all , int maxResults, int firstResult ) { ... ) ; this . reverseOrder = Boolean. TRUE ; }   @ EmbeddedId ...


Extra uninitialised entities spawned on merge()

In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Element owner - List<Element> ownedElements, and Example is a subclass entity with a relationship @OneToOne Element child. ... {   final static boolean DO_PERSIST_BEFORE_MERGE = true ;   /** * ... ownedElements ; } public boolean addOwnedElement ( Element owned ) { ...


Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

objectdb-2.2.5_08 NetbeansID6.9.1+Glassfish3.01 I suspect the following is an Explorer bug. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. ... [null](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Persisted: ... [64](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Updated: ... [64](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Created: ...


GROUP BY and HAVING clauses

Explains how to use the GROUP BY and HAVING clauses in a JPA/JPQL query.... to restrict the query result according to the specified boolean expression. See JavaDoc Reference Page... ( cb. ... expressions. See JavaDoc Reference Page... <Boolean> argument and the other having having(restrictions) ...