About example



The simplest type of mapping to a database column.(Annotation of JPA)



Defines a single-valued association to another entity class that has many-to-one multiplicity.(Annotation of JPA)



Provides for the specification of generation strategies for the values of primary keys.(Annotation of JPA)



Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.(Annotation of JPA)



Specifies multiple secondary tables for an entity.(Annotation of JPA)


Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... work in v2.2.0 I've attached the stripped down example that I'm running along with a file containing the full stack trace ... Full stack trace Example code I'm using this library for the multi-threaded ...



Used to override a mapping for an entity relationship.(Annotation of JPA)


Insert a new entity class in a class hierarchy does not work

Hello, we have an entity class hierarchy and we want to insert a new entity in this hierarchy. Unfortunately it does not work, because the class hierarchy had already always existed and the "new" entity class needed still only the @Entity annotation, all remaining fields got null as a value. Only if the new entity would be also inserted new in the class hierarchy then it works well. See our example in the attachments. ... in the class hierarchy then it works well. See our example in the attachments. Execute first the test1. Field "name" of ... JDK: 1.8.0   example edit ...


Problem with byte arrays in JDO - internal exception

This code generates an internal exception: ... . Query ; import spiffy. test . model . Example ;   /** * * @author steve */ public class ... Query query = pm. newQuery ( Example. class ) ; query. deletePersistentAll ( ...


Compress ODB file with XML content

Harman company requested to reduce ODB size as much as possible after database created and one of unliked solution was to use ZIP/UNZIP after/before use object DB database. Harman would like to ask Object Db team about possible internal methods to reduce/compress object DB data on run-time or after close ODB file. Does exist any compress data solution from ObjectDB side? ... team request, uploaded 100 Mb (compressed to 3 Mb) log example for further investigation from ObjectDb side. Symphony Teleca (Harman) Log Example to compress edit ...