Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-16-2022 05:43 AM
Hello everyone,
I am trying to load data from oracle while using jdbc connector to neo4j with the following statement:
CALL apoc.periodic.iterate(
"cypher runtime=slotted
CALL apoc.load.jdbc('jdbc:oracle:thin:@connection_url', 'Select * from database.table', , {credentials:{user: '', password: ''}}) YIELD row",
"
CREATE (b:Profile
{
pk: row.PROFILE_PK,
name: row.NAME
}
)",
{batchSize: 10000, parallel:true}
)
Note that my connection string is working very good but I cannot share it here. After executing the following query I get the following error:
I do have a column in my oracle db that is of type CLOB but this column is not needed to be imported here. Anybody an idea of a possible workaround here? Thanks in advance!
Solved! Go to Solution.
02-16-2022 06:01 AM
Instead of your select statement as 'select *', try returning just the columns you want, which would excluded the CLOB.
02-16-2022 06:01 AM
Instead of your select statement as 'select *', try returning just the columns you want, which would excluded the CLOB.
All the sessions of the conference are now available online