google-code-export / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
Other
0 stars 0 forks source link

DBMetal incorrectly uses int32 type for int64 when creating source from DBML file #302

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create PostgreSQL table with column which type is BigInt (8 bytes)
2. Create DBML of it
3. Observe that DBML is correct -- mapping type is Int64
4. Create source file of DBML file
5. Observe that source file is INCORRECT -- the mapping type is int (instead of 
long or Int64)

What is the expected output? 
Usage of "long" for Int64 types.

What do you see instead?
Regular "int".

What version of the product are you using? 
0.20.1.

On what operating system?
Windows 7 (64-bit).

Original issue reported on code.google.com by pilichow...@gmail.com on 8 Feb 2011 at 5:21

GoogleCodeExporter commented 9 years ago
INVALID.

I am terrible sorry, it was not a regular field, but referencing field (foreign 
key). Fault of PostgreSQL itself, not DBLinq.

One again sorry for making mess :-(.

Original comment by pilichow...@gmail.com on 8 Feb 2011 at 5:51