persistence@glassfish.java.net

Code changes for Issue 433 : Incorrect JDBC escape syntax for outer joins?

From: Pramod Gopinath <Pramod.Gopinath_at_Sun.COM>
Date: Tue, 21 Mar 2006 11:07:14 -0800

Hi Tom

Based on Marina's input to this issue
https://glassfish.dev.java.net/issues/show_bug.cgi?id=433

have made the following change to the PostgresSQLPlatform :

override the method shouldUseJDBCOuterJoinSyntax() to return "false".

Can U review this change ?

Thanks

Pramod


Index: src/java/oracle/toplink/essentials/platform/database/PostgreSQLPlatform.java
===================================================================
RCS file: /cvs/glassfish/entity-persistence/src/java/oracle/toplink/essentials/platform/database/PostgreSQLPlatform.java,v
retrieving revision 1.5
diff -r1.5 PostgreSQLPlatform.java
326a327,333
>
> /**
> * JDBC defines and outer join syntax, many drivers do not support this. So we normally avoid it.
> */
> public boolean shouldUseJDBCOuterJoinSyntax() {
> return false;
> }