Skip to content

PostgreSQL error when getObject() #21

@zedomel

Description

@zedomel

There is syntax error in file AbstractDenseJDBCMatrix2D.java:

java String sql = sqlStatement + " LIMIT ?,?";

Postgres does not accept LIMIT #,# syntax and LIMIT # OFFSET must be used. An option is to overload the method getObject() in DensePostgreSQLMatrix2D.java to use the right syntax but the fields of AbstractDenseJDBCMatrix2D.java should be changed to protected to allow DensePostgreSQLMatrix2D.java access them.
I can provide pull request, just finishing the changes.

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions