I am working with SQLSERVER 2008R2, Zf2 and doctrine

I have the following table:

--  Create Tables 

CREATE TABLE site ( 

id int NOT NULL,

name nvarchar(50) NOT NULL,

title nvarchar(200),

usages nvarchar(50),

consents nvarchar(50),

purchase_details nvarchar(50),

valuations money,

geom geometry NOT NULL,

comments text,

created_by int NOT NULL,

created_at datetime DEFAULT current_timestamp NOT NULL,

updated_by int NOT NULL,

updated_at datetime DEFAULT current_timestamp NOT NULL
)
;


when I try to list the data I get:

<out>
Unknown column type "int" requested. Any Doctrine type that you use has to 
be registered with \Doctrine\DBAL\Types\Type::addType().
...............
</out>

In this case site:id  has  FK relationship with another table 
asset_register:id  but that is of no consequence. 

And NO, I cant modify the tables structures.

I can probably map int to integer but I'm a liitle concerned because the 
type "int" is a standard column type in SQLSERVER that I would expect it to 
be built into the SQLSERVER Platform.

Am I missing something?


-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to