I'm having problems to insert values in tables with integer data type columns using Laravel 5.1 and Sybase.
The error 257 is listed when in an exception. In Sybases's docs it seems to be a conversion problem. I can see the insert sql builded by the framework is something like
insert into [table_name] ([col1], [col2]) values ('AAA', '999'))
So, I can see that Laravel is passing all value into single quotes, and seems to me that Sybase do not accept this kind of construction.
I 'm using Linux Ubuntu with freetds installed with the 5.0 protocol version.
Someone has solved this kind of problem already? Am I missing some configuration or do I have to write an driver extension for Sybase work with Laravel 5.1?