About mapped

api-jpa

javax.persistence.ManyToMany

Defines a many-valued association with many-to-many multiplicity.(Annotation of JPA)

 
forum_thread

OEM licencing limitation

Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list of unenhanced entities(by a mistake). We have already received the exception: Too many persistent objects (>1000000) - exceeds evaluation limit on that nonenhanced entity, but we have doubts how is the number of persistent objects counted. We unfortunately don't have the objectdb file anymore, but we have some doubts, that the number was not reached by the internal entitities. #1 2014-04-07 07:35 Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list of unenhanced entit ...

 
forum_thread

TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a java.util.Calendar it encounters an exception.   Calendar is what I need.  Is there something obvious here that I am failing to see?   ... The RuntimeException could not be mapped to a response, re-throwing to the HTTP container [ObjectDB 2.2.5_02] ...

 
forum_thread

Problem with bidirectional link

(I had raised this issue in the past and have finally had time to come back to it and strip down the classes to a minimum). The problem seems to lie in having bidirectional links (viz, I have @OneToMany Map<String, Entry> children and @ManyToOne Entry parent in my classes. I've attached the offending classes. If I add an entry to the children I get an error. I'm wondering if it's a question of multiple references to the same instance of a class? It's hard to tell with the opaque code of ObjectDB. #1 2012-05-23 20:25 (I had raised this issue in the past and have finally had time to come back to it and strip down the classes to a ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: Bug Version: 2.5.2 Priority: Normal Status: Fixed Replies: 8 Type:  Bug ...

 
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)   #1 2011-02-07 15:14 Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included i ...

 
api-jpa

javax.persistence.PostRemove

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jdo

removeUserObject(key)

Remove the specified key and its value from the map of user objects.(Method of javax.jdo.PersistenceManager)

 
api-jpa

javax.persistence.PrimaryKeyJoinColumns

Groups PrimaryKeyJoinColumn annotations.(Annotation of JPA)

 
forum_thread

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support for wildcards under the <class> field. Apparently Hibernate has an autodetection extension system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html #1 2017-07-04 04:05 I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in ...