You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by "Jakob Braeuchi (JIRA)" <ji...@apache.org> on 2005/04/16 11:31:57 UTC

[jira] Created: (OJB-22) Only select pk-columns when the Class is a Proxy

Only select pk-columns when the Class is a Proxy
------------------------------------------------

         Key: OJB-22
         URL: http://issues.apache.org/jira/browse/OJB-22
     Project: OJB
        Type: Improvement
  Components: PB-API  
    Versions: 1.0.4, 1.1    
    Reporter: Jakob Braeuchi


OJB always selects all columns although for proxies only the pk-columns are needed.
this may leed to memory problems when retrieving many large columns.


simply selecting pk-columns for proxies does not work, because then we can no longer materialize a proxy.
there must be some way to distinguish the initial select from prefetching materializing selects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


[jira] Resolved: (OJB-22) Only select pk-columns when the Class is a Proxy

Posted by "Jakob Braeuchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OJB-22?page=all ]
     
Jakob Braeuchi resolved OJB-22:
-------------------------------

     Resolution: Fixed
    Fix Version: 1.1 CVS

does not work with stored procedures.

available in 1.1 CVS

> Only select pk-columns when the Class is a Proxy
> ------------------------------------------------
>
>          Key: OJB-22
>          URL: http://issues.apache.org/jira/browse/OJB-22
>      Project: OJB
>         Type: Improvement
>   Components: PB-API
>     Versions: 1.0.4, 1.1
>     Reporter: Jakob Braeuchi
>     Assignee: Jakob Braeuchi
>      Fix For: 1.1 CVS

>
> OJB always selects all columns although for proxies only the pk-columns are needed.
> this may leed to memory problems when retrieving many large columns.
> simply selecting pk-columns for proxies does not work, because then we can no longer materialize a proxy.
> there must be some way to distinguish the initial select from prefetching materializing selects.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


[jira] Assigned: (OJB-22) Only select pk-columns when the Class is a Proxy

Posted by "Jakob Braeuchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OJB-22?page=all ]

Jakob Braeuchi reassigned OJB-22:
---------------------------------

    Assign To: Jakob Braeuchi

> Only select pk-columns when the Class is a Proxy
> ------------------------------------------------
>
>          Key: OJB-22
>          URL: http://issues.apache.org/jira/browse/OJB-22
>      Project: OJB
>         Type: Improvement
>   Components: PB-API
>     Versions: 1.0.4, 1.1
>     Reporter: Jakob Braeuchi
>     Assignee: Jakob Braeuchi
>      Fix For: 1.1 CVS

>
> OJB always selects all columns although for proxies only the pk-columns are needed.
> this may leed to memory problems when retrieving many large columns.
> simply selecting pk-columns for proxies does not work, because then we can no longer materialize a proxy.
> there must be some way to distinguish the initial select from prefetching materializing selects.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org