Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "user lacks privilege or object not found" after table creation #1

Closed
artem78 opened this issue Nov 26, 2023 · 3 comments
Closed

Comments

@artem78
Copy link

artem78 commented Nov 26, 2023

Hi @prrvchr !

I hope you're not tired of me, but I have another problem. This time with HyperSQLOOo extension.

I have installed both jdbcDriverOOo and HyperSQLOOo to LibreOffice as described here for using modern HsqlDB 2.7.

I created new database with embedded HsqlDB with one simple table.

Снимок экрана в 2023-11-26 21-29-33

Снимок экрана в 2023-11-26 21-30-07

Снимок экрана в 2023-11-26 21-30-22

Next when I open this table for data insertion this error shows:

Снимок экрана в 2023-11-26 21-30-52

Error details:

SQL Status: 42501
Error code: -5501

I run this SQL query manually to show all tables:

SELECT *
FROM   INFORMATION_SCHEMA.TABLES

But my table not listed in the output.

Issue described here reproduced both in Linux and Windows, also with latest LibreOffice 7.6.3 release.

Sample database file: mydb.odb.zip

@prrvchr
Copy link
Owner

prrvchr commented Nov 27, 2023

Hi artem78,

This is not an error, we cannot create a table in the INFORMATION_SCHEMA schema, this is a schema reserved for the system and we must either create a new schema or use the default PUBLIC schema.

SaveAs

It is true that it would be good if the HyperSQLOOo driver gave an error rather than letting people believe that the table was created... I will try to correct this...

@prrvchr
Copy link
Owner

prrvchr commented Nov 27, 2023

I just pushed jdbcDriverOOo version 1.0.7. Now an error appears instead of making it appear that the table was created...
Thanks for helping to improve the extensions...

@prrvchr prrvchr closed this as completed Nov 27, 2023
@artem78
Copy link
Author

artem78 commented Nov 27, 2023

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants