Comments (3)
Issue fixed. Sorry for the late response.
from ejc-sql.
Hi, I'm experiencing this as well. In my case, I'm using Oracle XE (ver. 21C) as my database, and connecting to it remotely.
My output is slightly different, but still very similar to yours:
Wrong type argument: stringp, ("ELisp" (lexical-binding (:propertize "/l" help-echo "Using lexical-binding mode") (:propertize "/d" help-echo "Using old dynamic scoping mode
mouse-1: Enable lexical-binding mode" face warning mouse-face mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 . elisp-enable-lexical-binding))))))
EDIT: Through a bit of configuration on the database side, I've managed to move past the aforementioned error, but now I'm stuck facing this one instead:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
(CONNECTION_ID=VDVJLgzeQhmveBJbZix6YQ==) oracle.net.ns.NSProtocolNIO.createRefusePacketException (NSProtocolNIO.java:816)
My configuration is as follows:
(use-package ejc-sql
:ensure t
:config
(ejc-eldoc-setup)
(ejc-ac-setup)
(ejc-create-connection
"ORACLE-JDBC"
:classpath (getenv "OJDBC_PATH")
:dbtype "oracle"
;; "MYDB" is a pluggable database, with its own listener and port.
:dbname "MYDB"
:host "REDACTED"
:port "REDACTED"
:user "REDACTED"
:password "REDACTED"
:separator "/")
:custom
(clomacs-httpd-default-port 8090)
(ejc-completion-system 'standard))
I've tried all combinations of
:dbtype
, none have worked so far.
Just to be sure, I went ahead and tried a different connection. This time I used a local SQLite database, here's the connection expression:
(ejc-create-connection
"SQLite DB (test.db)"
:classpath (concat "~/.m2/repository/org/xerial/sqlite-jdbc/"
"3.8.11.2/sqlite-jdbc-3.8.11.2.jar")
:subprotocol "sqlite"
:subname (concat "file://"
(file-truename "~/test.db")))
I wasn't successful here either, the error output was:
Wrong type argument: stringp, ("ELisp" (lexical-binding (:propertize "/l" help-echo "Using lexical-binding mode") (:propertize "/d" help-echo "Using old dynamic scoping mode
mouse-1: Enable lexical-binding mode" face warning mouse-face mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 . elisp-enable-lexical-binding))))))
from ejc-sql.
I'm experiencing the same issue.
mouse-1: Enable lexical-binding mode" face warning mouse-face mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 . elisp-enable-lexical-binding))))))
Mark set ```
from ejc-sql.
Related Issues (20)
- direx.el no longer works after Emacs master commit d65534d254 on Dec 26 2021 HOT 4
- Please let `DESCRIBE-TABLE` show comment about the fields.
- Error when trying to connect HOT 1
- how to connect mongodb
- Transaction rollback not working HOT 1
- ejc:goto--line-column not defined HOT 1
- ejc-connect got AbstractMethodError HOT 1
- Table in ejc-result not align correct. HOT 2
- Is that prosssible to use key word USE in mysql?
- No suitable driver found for jdbc:postgresql://localhost:5432/db HOT 2
- Support for displaying PL/SQL output
- Cloudera Impala JDBC support? HOT 4
- ejc-eval-org-snippet should return org table if possible HOT 1
- Warning about obosolete generalized variable 'point' HOT 1
- postgre List of relations error HOT 1
- Where would be a good place to escape/handle the pipe char "|" in the results? HOT 1
- No such function `pprint`
- ejc-connect fails frequently
- Upon killing buffer with connection, reopenning buffer raises error "Selecting deleted buffer"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejc-sql.