About embeddable

71-80 of 147Refresh
Issue
3

ArrayIndexOutOfBoundsException with enhanced Entity

Hi! We have an two entities, the first one is something like: @Embeddable class TestEmbed ... of a managed object etc etc.). However It seems to happen only with an embeddable entity embedded within another embeddable entity like:   @Embeddable class Embed_A {} @Embeddable class Embed_B { private Embed
Forum
2

Clarification on free license restrictions

unrestricted numbers of embeddable classes?  Do embeddable classes count as part of the ten?  I assume not ... am very impressed with what I’m seeing, great work guys. Thanks Craig Embeddable classes are count as entity classes but other serializable classes are unlimited. Therefore, even though embeddable classes
Forum
2

Schema update: package, class and field

> Thanks. It works. It does work for entities classes but not for embeddable classes. Do you have a solution for embeddable classes? There should not be a difference between entity and embeddable classes regarding schema changes. Maybe you are trying an embeddable class which is also an inner class
Issue
2

Best practise loading big data

of table rows which is a list of embeddable entities holding the final (String) value together with just ... MyStep { @ElementCollection (fetch=LAZY) ArrayList values; } @Embeddable class ... ) ArrayList values; } @Embeddable class MyValue { @Basic boolean flag; @Basic
Forum
2

Should derived fields of an EmbeddedId be manually maintained by app code?

.Serializable; import javax.persistence.Basic; import javax.persistence.Embeddable; import javax ... ; import javax.persistence.Version; @Entity public class ECompoundKeyMapItem { @Embeddable ... javax.persistence.Basic; import javax.persistence.Embeddable; import javax.persistence.EmbeddedId
Forum
2

TemporalType injection with Calendar using JPA

here that I am failing to see?   @Embeddable @Access(AccessType.PROPERTY) public class TimePeriod ... too much time on it) The following documentation is misleading Embeddable Classes (and Simple Java Data Types), as it clearly states that java.util.Calendar is a persistable type for a field in a Embeddable
Forum
2

Dirty checking

    surprisingly, it looks like embeddable classes can't register change listeners? ie: @Embeddable @EntityListeners (Listener.class) So, having to go and make all @Embeddables into @Entities. and, having ... contained by other Entities (i.e: that were previously Embeddables).   Changes to embedded objects
Forum
2

Explorer in 2.3

'A' where A is an @Entity or @Embeddable. I could do this using a Java expression that returns the correct ... @Embeddable field. ie. I want to set the value of a field of type 'A' where A is an @Entity or @Embeddable. So I enter a JPQL  query which returns a single object. Or I have a field which is an explicit
Forum
2

How do I achieve a Deep Fetch using JOIN FETCH?

I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a collection of Embeddable objects: @Embeddable class A { String val; }; @Embeddable class B { List aList; }; @Entity class C { @Id long id; List bList
Forum
2

Issue with Casting / Joins

Hi I can't seem to find my way out of this. Basically what I have is something like: @Embeddable public class EmbeddedBase { ... } @Embeddable public class EmbeddedA extends EmbeddedBase ...   = new HashMap();     }     @Embeddable     public static class EmbeddedBase