Skip to content

Generating Ada: routine “from_cache” #56

Description

@fdesp87

dborm.py generates a routine “from_cache” only for tables with just one PK and integer. This situation must be modified to contemplate the case of just one PK but now smallint, integer, bigint.

Note that gnatcoll-sql-sessions is also affected, in particular the cache part. Even sqlite autoincrement are PKs but with 64 bits, so the actual implementation has this error: change Integer to Long_Long_Integer.

For more explanations, you can read the report
https://github.com/fdesp87/gnatcoll-db/examples/mytests/Report.odt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions