About example

api-jpa

javax.persistence.MapKey

Specifies the map key for associations of type java.util.Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map.(Annotation of JPA)

 
issue

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

 
api-jpa

javax.persistence.Lob

Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.(Annotation of JPA)

 
api-jpa

javax.persistence.EmbeddedId

Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class.(Annotation of JPA)

 
api-jpa

javax.persistence.JoinColumn

Specifies a column for joining an entity association or element collection.(Annotation of JPA)

 
api-jpa

javax.persistence.SecondaryTable

Specifies a secondary table for the annotated entity class.(Annotation of JPA)

 
forum_thread

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

 
forum_thread

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

 
forum_thread

Multi selection and distinct in a criteria query

hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria.multiselect(builder.distinct($1), $2)... ?? Alex #1 2012-01-17 00:00 hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing somet ...

 
forum_thread

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