Comments (9)
@hoantv i test with oracle 10g is ok ,maybe some sql query with time?
from go-ora.
@hoantv i test with oracle 10g is ok ,maybe some sql query with time?
the error occured when i create new connection, i hadn't yet made a query:
conn, err := go_ora.NewConnection("oracle://user:pass@server/service_name")
from go-ora.
can you see the log file at define which step cause error
from go-ora.
can you see the log file at define which step cause error
Tomorrow i will send you the log :).
from go-ora.
After update lasted lib. It worked. Thank you.
By the way, could you add url.escapedQuery for password. Users dont have to add to thier code anymore.
from go-ora.
what do you mean by url.escapedQuery can you give example
from go-ora.
I used it in mycode. User dont have to replace thier special characters
url := fmt.Sprintf("oracle://%s:%s@%s:%d/%s", instance.Username, url.QueryEscape(instance.Password), instance.Host, instance.Port, instance.Sid)
from go-ora.
how can I add QueryEscape for password alone ?
this means I will parse the database url manually and extract password and escape It ?
sql interface need to pass database url like this
sql.Open("oracle", "oracle://user:pass@server:1521/service_name")
I think this is job of the programmer to pass correct url to the driver and actually your code is good solution.
if it is ok please close the issue
from go-ora.
Ok :)
from go-ora.
Related Issues (20)
- slice bounds out of range [-1:] HOT 1
- QueryContext return error for table contains SDO_GEOMETRY filed type HOT 2
- Is NextResultSet implemented for driver.Rows in go-ora? HOT 1
- has a new panic
- ORA-01461: The value at bind position 7 exceeded the maximum VARCHAR2 length HOT 3
- No Data Found Error Skipped (ORA-01403: no data found) HOT 1
- http: panic serving 127.0.0.1:43974: runtime error: index out of range [0] with length 0 HOT 5
- Error "ORA-00600: internal error code, arguments: [kopp2upic815], [], [], [], [], [], [], [], [], [], [], []\n" When Insert string > 251 char using UDT HOT 1
- (*Number).decode panic: runtime error: index out of range [-1] HOT 1
- BINARY_FLOAT read column bug -1.1 as -1.2 HOT 1
- Transaction cannot commit
- no available servers to connect to in oracle 19c rac HOT 2
- how to add terminal IP on connection
- go get failed
- runtime error: slice bounds out of range [:-1] HOT 1
- ORA-03146 on successive call to a prepared statement with out parameter HOT 4
- io timeout when query rows HOT 2
- Wallet connection to Oracle returns EOF on Ping/PingContext calls HOT 1
- panic with pointers after upgrade version
- panic with pointers after upgrade version HOT 1
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 go-ora.