About empty

forum_thread

GWT RPC is throwing serialization exception when I have object db date value

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Sat Jan 29 00:00:00 PST 2011    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:614)  ... (which is no problem), otherwise the List will alway be empty after detaching. @ OneToMany ( fetch = ...

 
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. ... protected EContainer ( ) { // Empty constructor for JPA }   public void ...

 
issue

Issue with UPPER ?

Hi, Assuming those queries which are all the same except the UPPER calls: ... satisfy:   ($4.name!=null). [Step 8a3f] Prepare an empty result set. [Step 8b] Filter the results of step 8a retaining only ...

 
manual

Literals in JPQL and Criteria Queries

Describes literals in JPQL, including null, false, true, numbers, strings, dates enums and types.... See JavaDoc Reference Page... <String> empty = cb. literal literal(value) CriteriaBuilder's method ...

 
forum_thread

type.loader java.lang.ClassNotFoundException

ObjectDB objectdb-2.2.5_03 in client-server mode Netbeans ID6.9.1 Glassfish3.0.1 With server logging turned on I get the following error message for many (or all) encountered classes: ... in lower logging level (e.g. info ). The empty database might be the result of another issue - please try to isolate the ...

 
forum_thread

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath , so what is missing or how to recognize what is wrong with that class ?? thanks in advance b ... initializer issue cannot be reproduced with a simple empty static initializer. Maybe your static initializer throws an exception ...

 
forum_thread

Entity Type is not found (error 301) in Query

Overall test OpenJPA, HibernateJAP, EclipseLink and ObjectDB. No Problem with OpenJPA, HibernateJAP, EclipseLink For ObjectDB there is one query in following method, where the full qualified class name is necessary. See method code - red part Otherwise an error will occure. ... are right, the first query is invoked when the database is empty - no persisted entities. Explict call of this method: ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: ... The stack trace indicates a missing (or empty) FROM clause in a DELETE query. Could you please post the query ...

 
forum_thread

Persist error @ManyToMany how to define correct entities relationships

I have Product entities containing a list of Category enties. Each product can have multiple Category but all sue the same limited set of Category entities. There is not changes made to Category from Product. The category ID is taken from the webservice Object ID (unique too). ... except now no category entity is created, the table is empty, however categories are well present within Product (as if they were ...

 
forum_thread

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

hi, i currently try to use objectdb for a new project. i wanted to use it in combination with spring-data-jpa (M2), but i'm not able to use the automatic repository feature because the following code fails         EntityType<T> type = metamodel.entity(domainClass); ... maybe this helps, the MetamodelImpl looks pretty empty to me metamodel MetamodelImpl  (id=132) ...