db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leandro Rodrigo Saad Cruz <lean...@ibnetwork.com.br>
Subject Re: cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql SqlQueryStatement.java
Date Thu, 10 Apr 2003 21:26:21 GMT
thanx !!!!!

On Thu, 2003-04-10 at 17:37, brj@apache.org wrote:
> brj         2003/04/10 13:37:25
> 
>   Modified:    src/java/org/apache/ojb/broker/accesslayer/sql
>                         SqlQueryStatement.java
>   Log:
>   use outer join if extents available
>   
>   Revision  Changes    Path
>   1.35      +3 -3      db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlQueryStatement.java
>   
>   Index: SqlQueryStatement.java
>   ===================================================================
>   RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlQueryStatement.java,v
>   retrieving revision 1.34
>   retrieving revision 1.35
>   diff -u -r1.34 -r1.35
>   --- SqlQueryStatement.java	8 Apr 2003 19:07:05 -0000	1.34
>   +++ SqlQueryStatement.java	10 Apr 2003 20:37:25 -0000	1.35
>   @@ -783,8 +783,8 @@
>                    {
>                        curr = createTableAlias(cld, attrPath, aUserAlias, aPath);
>                        
>   -                    // BRJ : use OUTER join for same table
>   -                    boolean outer = (curr.cld == prev.cld) || useOuterJoins;
>   +                    // BRJ : use OUTER join for same table and existing extents
>   +                    boolean outer = (curr.cld == prev.cld) || curr.hasExtents() ||
useOuterJoins;
>                        join = new Join(prev, prevKeys, curr, keys, outer, attr);
>                        prev.addJoin(join);
>                        
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


Mime
View raw message