Skip Menu |

This queue is for tickets about the Parse-Dia-SQL CPAN distribution.

Report information
The Basics
Id: 53782
Status: resolved
Priority: 0/
Queue: Parse-Dia-SQL

People
Owner: Nobody in particular
Requestors: jani.paijanen [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.13
Fixed in: 0.13_02



Subject: Typemap remapping types used in the UML diagram to types used in the generated SQL not working
Date: Sun, 17 Jan 2010 22:18:31 +0200
To: bug-Parse-Dia-SQL [...] rt.cpan.org
From: Jani Päijänen <jani.paijanen [...] gmail.com>
Hi, I tried Parse::Dia::SQL. I can not get typemap remapping to work neither to produce corrent sqlite3 nor postgres output. Tedia2sql outputs correctly postgresql scripts, so it seems like my model has the bits to work.... The mapping for e.g. postgresql I try to use is as follows: Model data type -> Postgresql data type ---------------------------------------- UUID -> uuid string -> varchar TIMESTAMP -> timestamp(3) The model I used is simple. There are two tables in the model and one foreign key association between them. At a glance I can not tell what could be the cause of the problem. I have attached the dia model, if it helps you to track the problem. Configuration is as follows: - Latest Parse::Dia::SQL found from CPAN - `perl -v`: v5.10.0 built for i486-linux-gnu-thread-multi - `uname -a`: Linux ubuntu 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux Cheers, Jani
Download db-model.dia
application/x-dia-diagram 2k

Message body not shown because it is not plain text.

Jani, Please test the 0.13_01 version and let me know if it fixes your issues. If your are unsure or unable to test, let me know, and I'll try to help you out. Regards, Andreas --