Skip to main content

[jpa-spec issues] [JIRA] Assigned: (JPA_SPEC-20) add FetchType.LAZY/EAGER to @Lob fields and @Embeddable

  • From: "ldemichiel (JIRA)" < >
  • To:
  • Subject: [jpa-spec issues] [JIRA] Assigned: (JPA_SPEC-20) add FetchType.LAZY/EAGER to @Lob fields and @Embeddable
  • Date: Fri, 5 Apr 2013 00:21:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JPA_SPEC-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ldemichiel reassigned JPA_SPEC-20:
----------------------------------

    Assignee: ldemichiel

> add FetchType.LAZY/EAGER to @Lob fields and @Embeddable
> -------------------------------------------------------
>
>                 Key: JPA_SPEC-20
>                 URL: http://java.net/jira/browse/JPA_SPEC-20
>             Project: jpa-spec
>          Issue Type: Improvement
>            Reporter: Mark Struberg
>            Assignee: ldemichiel
>            Priority: Minor
>
> Afaik there is currently no way to specify a @Lob field as being lazy 
> loaded.
> BLOBS and LOBS often need a big amount of memory and are expensive to fetch 
> from the database.
> What about adding something like:
> {code}
> public class MyEntity {
>   @Lob(FetchType.LAZY)
>   private String someHistoryData;
> }
> {code}
> Currently one always needs to create explicit list objects which get filled 
> with 'new' in JPQL to not trash the database. 
> The same goes for @Embeddable. Though not needed that desperately it could 
> be useful as well. (The whole Embedded would get lazily fetched when a 
> single attribute of it is read).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jpa-spec issues] [JIRA] Assigned: (JPA_SPEC-20) add FetchType.LAZY/EAGER to @Lob fields and @Embeddable

ldemichiel (JIRA) 04/05/2013
 
 
Close
loading
Please Confirm
Close