Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Enterprise Integration Forum

Enterprise Integration Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: Need to call API from Oracle using Lotus Script to update data to Oracle
Daniel W Heichel 30.Dec.14 11:40 PM Lotus Notes
LC LSX Oracle Applications Connector - All Releases Windows


Answering this question is made a little more difficult because you seem to have cut out and replaced the problem lines. (Here, you have re-used in_field_text for a different parameter.) You have the lines pasted for reference up top, but we don't get to see them "in play", nor do we know exactly which line was throwing the error. The full stored procedure code would also have been helpful.

That said, there are a couple of possibilities here.

1. In your piece of script for passing a value to p_validate, you are passing it a string (LCType_TEXT), whereas in Oracle a Boolean is a value of 0 or 1.

2. There are a handful of issues with the Boolean datatype and Oracle (it's not a valid Oracle column type [although it's fine for a stored procedure]; some connectors such as Oracle JDBC don't support passing Booleans as a parameter; you can't include Booleans in an SQL statement; it's not explicitly stated to be a problem in the LSX Help but it's also not on the list of supported Oracle data types).

For these reasons, if you continue to have trouble with this Boolean value, I would suggest replacing it with a simple INT type within the stored procdure, and send an INT value parameter which will be handled appropriately in your logic. (It doesn't need to specifically be a Boolean if you simply treat the int value of 0 as FALSE, and 1 for TRUE!)

If you need more help, please include the rest of the needed information.




Need to call API from Oracle using ... (Seema Kumar 16.Dec.14)
. . RE: Need to call API from Oracle us... (Daniel W Heiche... 30.Dec.14)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite