Share

SQLeonardo

Tracker: Bugs

5 [SQLeonardo] QueryBuilder does not interprete QueryModel - ID: 2686511
Last Update: Comment added ( mirkosertic )

Hi

It seems that the QueryBuilder does not interprete the QueryModel
correctly. It converts the _Expressions to its internal representation with
alias and name. And it seems that here the name is dropped. And when it
finally tries to resolve Table colums, it tries to use the name(which is
null), and this causes that every table in the designer has every column of
every table in the db.

See the current version MogwaiERDesignerNG-1.7-SNAPSHOT available at
http://mogwai.sourceforge.net for more details.

Regards
Mirko


Mirko Sertic ( mirkosertic ) - 2009-03-13 20:58

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2009-03-30 14:48
Sender: mirkoserticAccepting Donations

The problem seems to be related to the tokenizing process of SQLParser. I
attached a bugfixed version. Using this version, everything works well


Log in to comment.

Attached File ( 1 )

Filename Description Download
SQLParser.java PatchedSQLParser Download

Change ( 1 )

Field Old Value Date By
File Added 320280: SQLParser.java 2009-03-30 14:47 mirkosertic