Issue Details (XML | Word | Printable)

Key: CORE-5635
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Roberto Carlos da Silva
Votes: 0
Watchers: 3

If you were logged in you would be able to see more operations.
Firebird Core

add support for the tinyint data type

Created: 10/Oct/17 04:12 PM   Updated: 10/Oct/17 05:44 PM
Component/s: Engine
Affects Version/s: None
Fix Version/s: None

Environment: All firebird enviroments

QA Status: No test

 Description  « Hide
Please add support for the tinyint data type as well as other database support such as sql server, oracle mysql, etc ... I am not able to use a framework because it requires this type of data that is not currently implemented in firebird . The framework in question is the
I even opened an incident log with the developers. But the problem is lack of tinyint support. See the discussion:

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dimitry Sibiryakov added a comment - 10/Oct/17 04:23 PM
As Jiri already suggested, add mapping of "Byte" into "smallint" to your framework.

Roberto Carlos da Silva added a comment - 10/Oct/17 04:37 PM - edited
I tried to do what Jiri suggested but it did not work out and I believe this is not the best solution.
The best solution that would not only contemplate this need of this framework but would also facilitate the migration of other systems to firebird is the correct implementation of the tinyint data type in the database enginer as well as the implementation of the byte type support in access drives.

Sean Leyne added a comment - 10/Oct/17 05:34 PM
Had you tried defining a "SmallInt" domain which maps to a Integer for storage?

Roberto Carlos da Silva added a comment - 10/Oct/17 05:44 PM
Yes I have tried to use a domain mapping smallint to tinyint, but it did not work because this only provides a different name for smallint and the field type will still be smallint. The problem is that the EntityFramework.Firebird driver does not support the Byte type that is equivalent to the tinyint type, and at the time of creating the objects using Migration it gives an error.