Home » Search

About OneToOne

31-40 of 62 Refresh
Forum
3

EntityManager.refresh takes a long time

<>(); @ OneToOne(cascade = CascadeType.ALL) private SiteAuth siteAuth; private DialogAction ... private City city; @ OneToOne(cascade = {CascadeType.PERSIST}) private Image mainImage; @ OneToOne(cascade = {CascadeType.PERSIST}) private Album mainAlbum; @OneToMany
Forum
3

Mapped By Fetch is very Slow

again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @ OneToOne(mappedBy ... .persistence.Id; import javax.persistence. OneToOne; @Entity public class MyEntity { @Id private ... MyEntityChild entityChild = null;   @ OneToOne(targetEntity = MyEntityChild.class, cascade = CascadeType
Issue
3

ArrayIndexOutOfBoundException

final class CacheableJobStat { @ OneToOne(fetch = FetchType.EAGER) private CacheableJobInfo ji; @ OneToOne(fetch = FetchType.EAGER) private CacheableJobLog jl; } Where CacheableJobInfo ... the @ OneToOne(fetch = FetchType.EAGER) annotation. I am not sure wheather this annotation is allowed when not
Issue
3

NullPointerException when using multithreading

; @ OneToOne(cascade=CascadeType.ALL) private HashMap myMap; } @Embeddable public class EmbeddableA { @ OneToOne(cascade=CascadeType.ALL) private HashMap myMap; } @Embeddable public class EmbeddableB { @ OneToOne
Forum
3

Pre-detach loading: retrieval by navigation not working in if statement

BooleanValue entity. This is @ OneToOne with explicit LAZY fetch. - A BooleanValue entity wraps ... wrapper FloatQuantity entity. This is @ OneToOne with explicit LAZY fetch. - A FloatQuantity entity ... it, which one can confirm with javap -c bytecode inspection. The @ OneToOne entity variable 'present' of a Block entity
Issue
2

ClassCastException after upgrade to 2.3.5_03

{ @Id String id; @ OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; @ OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType
Forum
2

Database(*.odb) file size on disk

; import javax.persistence.Id; import javax.persistence. OneToOne; import javax.persistence ... ++;   }   @Id   int id;   @Basic   Integer value;   @Basic   String strValue;   @ OneToOne
Forum
2

Mysterious "Attempt to persist a reference to a non managed instance" error

javax.persistence.ManyToMany; import javax.persistence. OneToOne; import static javax.persistence ... implements Serializable {     @Id @GeneratedValue private long id;     @ OneToOne(fetch=EAGER, cascade
Issue
2

New entity objects are duplicated on merge cascading

long id;         @ OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)         B b ... ;         @ManyToOne(fetch= FetchType.LAZY)         A owner;                 @ OneToOne(fetch = FetchType.LAZY
Issue
2

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

@ OneToOne relationship fields that likewise become null: private List ownedElements ... and @ OneToOne fields are also null). In all cases lists that are given in the explored database