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

Oracle database ORA-00904: "U"."COMMON": invalid identifier #33

Closed
xYx-c opened this issue Aug 18, 2023 · 3 comments
Closed

Oracle database ORA-00904: "U"."COMMON": invalid identifier #33

xYx-c opened this issue Aug 18, 2023 · 3 comments

Comments

@xYx-c
Copy link

xYx-c commented Aug 18, 2023

Will Oracle database be supported in the future?

@kndndrj
Copy link
Owner

kndndrj commented Aug 18, 2023

@xYx-c
The support is there, however Oracle is very hard to work with due to multiple different edge cases and various weird problems. I tested the driver with the free version of oracle and it seemed to work fine.

However it is totaly possible that the version you are tryinv to use is for some reason not supported, or it might have some special DSN (I'm not sure where the error from the title comes from).

I'll try to look into this at some point, but for now the besg i can do is point you to go-ora docs, which might contain something useful for you.

Let me know if you find anything.

@xYx-c
Copy link
Author

xYx-c commented Sep 8, 2023

Oracle19c

Is there any way I can see the run log?

{
    "id": "__master_connection_id_manageroracle__",
    "page_size": 20, "name": "dbname", 
    "type": "oracle", 
    "url": "oracle://dbname:pwd@10.8.xxx.xxx:1521/orcl"
}

configuration information

require("dbee").setup({
    sources = {
        require("dbee.sources").MemorySource:new({
            -- {
            --     name = "postgres",
            --     type = "postgres",
            --     url = "postgres://root:root@172.18.0.10/postgres?sslmode=disable",
            -- },
        }),
        require("dbee.sources").EnvSource:new("DBEE_CONNECTIONS"),
        require("dbee.sources").FileSource:new(vim.fn.stdpath("cache") .. "/dbee/persistence.json"),
    },
    editor = {
        mappings = {
            run_selection = { key = "<CR>", mode = "v" },
            run_file = { key = "BB", mode = "n" },
        },
    },
})

@kndndrj
Copy link
Owner

kndndrj commented Sep 9, 2023

You can cat or tail this file: ~/.cache/nvim/dbee/dbee.log ( not 100% sure - writing from my phone, but it should be here somewhere)

If you have a docker image that I could use to run this version of oracle, I might be able to help.

@xYx-c xYx-c closed this as completed Sep 22, 2023
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