Comments (8)
Hi
in normal response from the server you will not receive redirectPacket
check the connection string
can you please send me the code that produce this packet to analyse
from go-ora.
Below is a simplified version of the code. The actual URL comes from the command line.
A wrong URL is usually properly handled (no crash)
vendor := "oracle"
prefix := "oracle://"
db, err := sql.Open(vendor, prefix+url)
if err != nil {
log.Fatal(err)
}
from go-ora.
I am trying to make the server fire a redirect packet but cannot
can you give me the packet data you receive you can add
fmt.Println(packetData)
at line 272 in session.go
from go-ora.
Sorry, I made a mistake. The error actually happened at a different place:
rows, err := db.Query("SELECT c1, c2, c3, c4, c5, c6 FROM t1 where c2 <> 1")
from go-ora.
the sql is correct where is the mistake
from go-ora.
if every thing is ok please close
from go-ora.
I make some changes to solve the problem with redirect packet
can you test and write feedback
from go-ora.
Hi Samy,
Thanks a lot for working on this issue. This is key for me as most our projects run on rac.
Unfortunately, my rac environment is down right now and will remain like that throughout this week.
Anyway, I've seen it was successfully tested on #23 , so that's great news. I will be testing on my side as soon as I can.
Thanks again!
from go-ora.
Related Issues (20)
- Timestamp with Local Time Zone conversion HOT 8
- 'ORA-03146: invalid buffer length for TTC field' on procedure call with out parameter
- ORA-01013 in v2.8.13 HOT 24
- 'ORA-01009: missing mandatory parameter' during select for CLOB columns on 2.8.13 HOT 2
- Use struct with Select many rows query HOT 3
- The canceling context in version 2.8.14 has a race condition issue. HOT 1
- "panic: runtime error: slice bounds out of range" when output array size is bigger than 245 HOT 4
- Fails on reading empty array with error 'TTC error: received code 3 during response reading' HOT 2
- Can't reuse statement when selecting a blob value HOT 4
- ORA-01483: invalid length for DATE or NUMBER bind variable HOT 8
- Use a custom dialer to create connection with db HOT 6
- BLOB streaming reading as bfile
- Connect "/ as sysdba" In Linux HOT 1
- UDT with CLOB. out param. ORA-65502: cannot access temporary LOB data HOT 1
- unsupported data type: XMLTYPE
- has a panic error HOT 2
- Index out of bounds HOT 1
- ORA-01013 error reproduces again HOT 5
- go-ora and time.Time{} changes from v2.7.24 to v2.7.25 HOT 1
- slice bounds out of range [-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.