cur.fetch issues with type conversion
I have the following connecting to Oracle 11G
import jpype
jar = r'/Users/
args='-
jvm_path = jpype.getDefaul
jpype.startJVM(
import jaydebeapi
conn = jaydebeapi.
cur.curs = conn.cursor()
curs.execute(
When i do the following i get a good response with the headers of the data table.
curs.description
When i do a
curs.fetchall() (or any of the fetch methods) i get the following error. Mostly a newbie on this but it seems like it doesn't like the date time field from the database. If i select specific fields, i don't get this error. I can't tell what column is problematic either.
-------
RuntimeError Traceback (most recent call last)
<ipython-
1 curs = conn.cursor()
2 curs.execute(
----> 3 curs.fetchone()
4 #curs.description
/Users/
298 converter = _converters.
299 if converter:
--> 300 v = converter(v)
301 row.append(v)
302 return tuple(row)
/Users/
344 d = datetime.
345 if not isinstance(
--> 346 d = d.replace(
347 return str(d)
348 # return str(java_val)
RuntimeError: No matching overloads found. at src/native/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- JayDeBeApi Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Aaron Walters for more information if necessary.