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
Message body not shown because it is not plain text.