ORACLE Generated Query does not work

Posts   
 
    
maf123sp
User
Posts: 26
Joined: 09-Jan-2013
# Posted on: 25-Jul-2013 23:35:31   

LLBLGen 4.0 generates the following statement:


SELECT "a"."AK"           AS "Ak"
        FROM   "a" "b"
WHERE  (("a"."field" = :p1))
   AND rownum <= 100 

It does not work, since ion the where and in the select clause the table alias name should be used.

I was wondering about this issue, since I've never have seen similiar issues with LLBLgen before - was there a change? This query is based on the QuerySpec API. Usually I used Linq2Sql and have never seen such issues - is the code generation based on different implementations?

Is there any change to workaround this issue from user side?

Thanks for every help,

Matthias

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 25-Jul-2013 23:53:58   

Please post the minimal code possible, which produce this SQL.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39912
Joined: 17-Aug-2003
# Posted on: 26-Jul-2013 12:27:32   
Frans Bouma | Lead developer LLBLGen Pro