About @Embeddable

forum_thread

Spatial Support

Will support for spatial objects (com.vividsolutions.jts.geom.Point for instance) be added in the near future?    Thanks #1 2017-08-22 23:55 Will support for spatial objects (com.vividsolutions.jts.geom.Point for instance) be added in the near future?&nb ...

 
api-jpa

JPA 2 Annotations

Reference (JavaDoc) of all the JPA 2 annotations, including @Entity, @Embeddable, @NamedQuery, @GeneratedValue, etc. JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: JPA Annotations for Classes JPA Annotations for JPQL Queries Annotations for fields in JP ...

 
forum_thread

Upgrade to 2.4.1_02

Hi there, The upgrade to 2.4.1_02 fixed the initial problem, however there still seems to be an issue. To me it appears that Embeddable might be being lazy loaded, but I cannot be sure. I have attached a testcase demonstrating this issue. Its failing on the merge. Thanks P. #1 2012-07-04 01:22 Hi there, The upgrade to 2.4.1_02 fixed the initial problem, however there still seems to be an issue. To ...

 
api-jpa

JoinColumn.table

(Optional) The name of the table that contains the column.(Annotation Element of javax.persistence.JoinColumn)

 
forum_thread

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug?     #1 2012-06-01 07:30 Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should ...

 
api-jpa

javax.persistence.Transient

Specifies that the property or field is not persistent.(Annotation of JPA)

 
forum_thread

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each? There is no place in code where P1 tries to access classes from P2, so it makes no sense. #1 2013-08-20 07:48 Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ the ...

 
forum_thread

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer {     @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private Merchant merchant;       @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private List<Store> stores;     // Setter/Getter #1 2014-10-17 07:08 Is there a way to add single member index on members of a object member which is not configured embedable but is/ ...

 
forum_thread

Query to search for common elements in two separate collections.

I'm trying to work out the most efficient way to build a query that can compare two collections for identical members. Something like: "SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER OF :someCollection" Is something like this possible in the JPA spec? #1 2013-01-12 10:42 I'm trying to work out the most efficient way to build a query that can compare two collections for identical ...

 
forum_thread

Concerning coding style of the example in the posting instructions

(This forum item was spawned from discussions in a private helpdesk ticket.) I write with reference to the coding example in the posting instructions and many of your other examples posted in the forums. While I appreciate the recommended coding style as shown makes for convenient minimal examples and test cases,  I contest that it breaks the rules for JPA2 entities on at least 2 counts. Firstly, the posting instructions state:  #1 2012-03-14 00:28 (This forum item was spawned from discussions in a private helpdesk ticket.) I write with reference t ...