This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.glue-wg/wiki/GLUE2Tedia2sql at Fri, 04 Nov 2022 18:30:06 GMT SourceForge : View Wiki Page: GLUE2Tedia2sql

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Wiki Pages Project: GLUE     Wiki > GLUE2Tedia2sql > View Wiki Page
wiki2138: GLUE2Tedia2sql
Bug 1: Automatic Foreign Keys not created

I am making a few tests and discover a little problem. Let say I have class TestOne with PK ID and class TestTwo with PK ID. If I create an agregation from B to A and when using tedia2sql with the -f flag, it should create the needed Foreign Key, but what happens is the output:

Can't use string ("1") as an ARRAY ref while "strict refs" in use at /usr/bin/tedia2sql line 1025.

I tried to take off strict from the tedia2sql and this is what outputs:

Number or types of (Id) don't match () in TestOneTestTwo

Bug 2: Many to many associations in the same table

If I create a many to many associations in the same table, the join table created will have its two fields with the same name and both foreign keys will be of the same name.

Bug 3: Reserved words are not escaped

When you use a reserved word as the name of a field, it won't work. Tedia2sql should check the appropriate reserved names and escape them when needed depending on the concrete DB.

Bug 4: Foreign Key drops are not conditional

Foreign Key drops are not conditional and thus they fail when executed and no tables exist.

 



Versions Associations Attachments Back Links  
Version Version Comment Created By
Version 1 David Horat - 04/23/2009



The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.glue-wg/wiki/GLUE2Tedia2sql at Fri, 04 Nov 2022 18:30:16 GMT