Internal Website Search

41-50 of 200 resultsRefresh

@OneToMany(fetch = FetchType.LAZY) list is always null

Hello. @OneToMany(fetch = FetchType.LAZY) doesn't work when using EJB or ... , generator = "b") private int id; @OneToMany(fetch = FetchType.LAZY, cascade ... (fetch = FetchType.LAZY, cascade = CascadeType.ALL) private ByteData bydaData; public

Eager Fetch is not stable for collection or map types?

;collection or map types is not stable, we lost them sometimes after JVM restarted. Eager fetch ... ;();".   The code about entity and fetch is: fetch=FetchType.EAGER)     private List<Player> members = new ArrayList<

Global way to set Lazy-loading fetch functionality for all the fields

(orm.xml).   For defining fetch policy, I know the local way to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way to do it at objectdb level or JPA ... locally per relationship, and for some extent also per query (using JOIN FETCH). support Support

Failed to write the value of field using reflection (error 363) on LAZY fetch

("objectdb.result-fetch", "LAZY");) on the query execution it works. I assume ... > @Entity class Modell { ... @OneToMany(fetch=FetchType.LAZY, mappedBy ... ()), classEntity);     query.setHint("objectdb.result-fetch", "LAZY");    

Is there a way to set EAGER fetch on all "ToMany" collection relationships

set fetch in annotation code in every relationship. webel Dr Darren Kelly No. There is no such configuration option, since having EAGER as the fetch type

LazyInitialization / join fetch

> `` ` This may be occurring due to not doing the fetch join? If so should I ... > This may be occurring due to not doing the fetch join? If so should I

@Lob @Basic(fetch = FetchType.LAZY) is loaded when it's not needed

Hello. I have a class Thing that contains OneToMany list of classes Photo. Photo contains  @Lob @Basic(fetch = FetchType.LAZY) private byte ... ;fetch = FetchType.LAZY. How can I fix this memory issue? Vladiator Vlad Myachikov

Mapped by fields are not initialized by JOIN FETCH in queries

As demonstrated in this forum thread, a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). support Support   Build 2

javax.persistence.criteria.FetchParent

>CollectionJoin , Fetch" title="Interface in javax.persistence.criteria">Fetch , Fetches. Since:

Eager Fetch of Map with Entities as Keys

; @OneToMany(fetch=FetchType.EAGER)         Map map = new HashMap