About boolean

forum_thread

Performance issues on aggregate query

we are using this aggregate query to collect some data: ... String internalReference; // EUR-0004 public Boolean inSlots = true; @Index public Date modified; ... public Double doubleValue; // HS-778 public Boolean journal; public String jsonValue; @Index public String ...

 
forum_thread

License Activation Change and Checking Activation

Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development laptop and today I tried to persist more than 1M objects. ObjectDB told me that it cant't do that because of the evaluation restrictions. Now I activated it again on the same machine and got a different activation code. With this code it works. The only difference I can think of is that my WiFi was disabled yesterday and today it's not. ... activated or not using the following query: boolean isActivated = em. createQuery ( "objectdb activation" , boolean . class ) . getSingleResult ( ) ; ...

 
release

2.6.4

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

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... also persistent types: All the primitive types - boolean , byte , short , char , int , long , float and ... . Selected classes in package java.lang : Boolean , Byte , Short , Character , Integer , Long , Float ...

 
forum_thread

JPQL keyword in entity - what to do?

Hi, I have a problem with entity that is using one of JPQL keywords as one of the fields. It's a 'type' field. When I try to build a query that looks for example like this: select new ResultData(p.type.name, count(p.id)) from Product as p group by p.type.name I got this exception: ... getResultList ( ) ; p.done is boolean type. ResultData was modified like this: public class ... name ; public long all ; public boolean done ;   public ResultData ( String prodType, ...

 
manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. ... using five JDOHelper static methods: boolean b1 = JDOHelper. isPersistent ( obj ) ; boolean b2 = JDOHelper. isTransactional ( obj ) ; ...

 
release

2.6.3

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

 
api-jdo

javax.jdo.spi.JDOPermission

The JDOPermission class is for operations that are reserved for JDO implementations and should not be called by other code.(Class of JDO)

 
forum_thread

Should derived fields of an EmbeddedId be manually maintained by app code?

If I have an Entity which has a primary key which is derived and I am implementing it using @EmbeddedId, am I responsible for maintaining the derived fields of the @EmbeddedId? I could not find anything in the JPA 2.0 spec http://download.oracle.com/auth/otn-pub/jcp/persistence-2.0-fr-oth-JSpec/persistence-2_0-final-spec.pdf?e=1317047713&h=54831c176e81a244a4c309e13eba0b27 which tells me what to expect. ... void generateMapItems ( Integer numberToGen, boolean subItems, EntityManager em ) throws ... ; }   @ Override public boolean equals ( Object o ) { if ( ! ...

 
issue

NPE at com.objectdb.jpa.JpaQuery.getResultList

This is very similar to issue #51  raised by kaosko .   So perhaps I should have added it there.  Anyway, here it is....   ... findMomentPayloadEntities ( boolean all , int maxResults, int firstResult ) { ... findMomentPayloadEntities ( boolean all , int maxResults, int firstResult ) { ...