Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

insert

don123Dec 7 2016 — edited Dec 11 2016

The following insert does not work. The error is "sql command not properly ended".

How to do this ?

import cx_Oracle

con = cx_Oracle.connect('scott/tiger@test')

cur = con.cursor()

cur.execute("INSERT INTO emp(EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) VALUES

(:a,:b,:c,:d,to_date(:e,'YYYY-MM-DD'),:f,:g,:h))",

{'a':1000,'b':'JOHN','c':'CLERK','d':2000,'e':'2016-12-06','f':5000,'g':100,'h':10}

)

cur.close()

con.close()

This post has been answered by Christopher Jones-Oracle on Dec 11 2016
Jump to Answer

Comments

Duncan Mills-Oracle

Are you calling refresh() on the table component after changing the datasource - if not , try that.

Kalyan Miriyala-Oracle

Explicit refresh is not required as datasource is already loaded to ko observableArray which worked earlier before upgrade.

We can see that oj-table-body tag visibility is shown as hidden. Not sure how it is being populated. By manipulating the DOM, issue can be fixed, but this occurs wherever this kind of functionality is present.

Somnath_IT2006

Hi
I am facing the same issue in Visual Builder while having interdependent tables in two different tabs.
Do we have any solution other than modifying the DOM exclusively?

Regards
Somnath

John JB Brock-Oracle

I'm going to guess that it is not the same issue. The poster was migrating from JET 4 to JET 8.
For Visual Builder related questions, please use their Community forum located at
https://community.oracle.com/customerconnect/categories/oci-visual-builder

1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 8 2017
Added on Dec 7 2016
1 comment
300 views