Calling all Oracle Developers in Hungary
There is an Oracle Tech Day running on Hungary on the 5th May in Budapest. Lots of content that may be of interest. Specifically for the Forms audience, I will be there delivering a masterclass on modernizing Forms, including a look at modernizing Forms to skills to exploit ADF.
If you are interested in coming along, details can be found at this link
http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=108263&src=6808180&src=6808180&Act=209
In ant ** means "any path" so "**/*.jar" means any
jar files in a subdirectory under the root directory.
It wouldn't include jar files directly in the base
directory.oh. Well, this is my directory stucture.
I have
C:\Project
C:\Project\src
C:\Project\lib
C:\Project\data
my build.xml is in C:\Project
all my jars are in C:\Project\lib
When I use the build file with (the example from the printed book)
<include name="**/*.jar"/>
the hsqldb driver is not found.
When I use the build file with (the example from the books complimentary website)
<include name="*.jar"/>
it works.
Why? I do not get this!!!
Similar Messages
-
Calling all Ant developers!!!
greetings to all my fellow Ant developers!!!
I would first of all like to thank all of those who helped me set up Ant. The good news is, last night I tinkered around with a few things, and it is all up and running now smiles
But I have a question about build.xml. BECAUSE, MY HSQLDB DRIVER WAS NOT BEING FOUND DUE TO A POTENTIAL DISCREPANCY BETWEEN THE BUILD.XML I WAS USING FROM THE TEXTBOOK AND THE BUILD.XML THEY USE AT THAT TEXTBOOKS WEBSITE. EVERYONE WHO TOLD ME TO CHANGE MY CLASSPATHS TO FIND THE DRIVER WERE WRONG! I HOPE THIS WAS A GENUINE MISTAKE AND NOT AN ATTEMPT TO SABOTAGE MY PROJECT!!!
anyway guys, below is the build file. The line that is different is the following line.
<include name="*.jar"/>
In the book, this line is:
<include name="**/*.jar"/>
When I use the above, it does not find the hsqldb driver. But when I use the line from the build.xml at the books website (i.e. <include name="*.jar"/>), everything is hunky dory. Can someone please explain to me why so?
Thank you guys.
Yours truly
AU
<?xml version="1.0"?>
<project name="Harnessing Hibernate: The Developer's Notebook"
default="db" basedir=".">
<!-- Set up properties containing important project directories -->
<property name="source.root" value="src"/>
<property name="class.root" value="classes"/>
<property name="lib.dir" value="lib"/>
<property name="data.dir" value="data"/>
<!-- Set up the class path for compilation and execution -->
<path id="project.class.path">
<!-- Include our own classes, of course -->
<pathelement location="${class.root}" />
<!-- Include jars in the project library directory -->
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
</path>
<target name="db" description="Runs HSQLDB database management UI
against the database file--use when application is not running">
<java classname="org.hsqldb.util.DatabaseManager"
fork="yes">
<classpath refid="project.class.path"/>
<arg value="-driver"/>
<arg value="org.hsqldb.jdbcDriver"/>
<arg value="-url"/>
<arg value="jdbc:hsqldb:${data.dir}/music"/>
<arg value="-user"/>
<arg value="sa"/>
</java>
</target>
</project>In ant ** means "any path" so "**/*.jar" means any
jar files in a subdirectory under the root directory.
It wouldn't include jar files directly in the base
directory.oh. Well, this is my directory stucture.
I have
C:\Project
C:\Project\src
C:\Project\lib
C:\Project\data
my build.xml is in C:\Project
all my jars are in C:\Project\lib
When I use the build file with (the example from the printed book)
<include name="**/*.jar"/>
the hsqldb driver is not found.
When I use the build file with (the example from the books complimentary website)
<include name="*.jar"/>
it works.
Why? I do not get this!!! -
Where can I get a list of all Oracle products available in the Cloud?
All Oracle Products available in the Cloud can be viewed here
Applications can be accessed under dedicated "Knowledge Zones" where you can have insightful information about the product, how to develop, implement, market and sell the solutions. Also, under "Join the discussion" tab, you can engage with Oracle and follow the discussion on dedicated social media channels.LOL what a useless doc. Maybe https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=612452503286937&id=1337394.1&_afrWindowMode=0&_adf.ctrl-…
is a bit better, but good luck trying to be Itanium specific.
Edit: Well, so much for trying to paste in an MOS doc link. It's called 10.2.0.5 Patch Set Updates - List of Fixes in each PSU [ID 1337394.1] -
C# DLL Calls in Oracle Forms 6i
Dear all,
I want to call a C# ( C Sharp) functions in Oracle Forms 6i , How it is possible , If any body knows give me a suggestion...
C# Codes
using System;
using System.Collections.Generic;
using System.Text;
namespace MathFunctions
public class AddClass
public static int Add(int a, int b)
return (a + b);
same codes I want to call using Oracle Forms 6i . ... ( AddClass.Add(10,20) ) value should return 30.
C# Developer created the DLL file and given to me , I am not able to attach the DLL , anybody interest I can send the DLL through E-mail ,
Regards,
Veera.
[email protected]The Forms Builder Help is the best source of information. It has plenty of examples too, like this one I copied from the Help:
/* Find foreign library handle for
a given library name */
BEGIN
libhandle := ora_ffi.find_library
('mylib.dll');
END; -
Call to Oracle stored procedure that returns ref cursor doesn't work
I'm trying to use an OData service operation with Entity Framework to call an Oracle stored procedure that takes an number as an input parameter and returns a ref cursor. The client is javascript so I'm using the rest console to test my endpoints. I have been able to successful call a regular Oracle stored procedure that takes a number parameter but doesn't return anything so I think I have the different component interactions correct. When I try calling the proc that has an ref cursor for the output I get the following an error "Invalid number or type of parameters". Here are my specifics:
App.config
<oracle.dataaccess.client>
<settings>
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursor.P_RESULTS" value="implicitRefCursor bindinfo='mode=Output'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursorMetaData.P_RESULTS.Column.0" value="implicitRefCursor metadata='ColumnName=WINDFARM_ID;BaseColumnName=WINDFARM_ID;BaseSchemaName=PGDATA_WC;BaseTableName=WORKORDERS;NATIVEDATATYPE=Number;ProviderType=Int32'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursorMetaData.P_RESULTS.Column.1" value="implicitRefCursor metadata='ColumnName=STARTTIME;BaseColumnName=STARTTIME;BaseSchemaName=PGDATA_WC;BaseTableName=WORKORDERS;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursorMetaData.P_RESULTS.Column.2" value="implicitRefCursor metadata='ColumnName=ENDTIME;BaseColumnName=ENDTIME;BaseSchemaName=PGDATA_WC;BaseTableName=WORKORDERS;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursorMetaData.P_RESULTS.Column.3" value="implicitRefCursor metadata='ColumnName=TURBINE_NUMBER;BaseColumnName=TURBINE_NUMBER;BaseSchemaName=PGDATA_WC;BaseTableName=WORKORDERS;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursorMetaData.P_RESULTS.Column.4" value="implicitRefCursor metadata='ColumnName=NOTES;BaseColumnName=NOTES;BaseSchemaName=PGDATA_WC;BaseTableName=WORKORDERS;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYWINDFARMID.RefCursorMetaData.P_RESULTS.Column.5" value="implicitRefCursor metadata='ColumnName=TECHNICIAN_NAME;BaseColumnName=TECHNICIAN_NAME;BaseSchemaName=PGDATA_WC;BaseTableName=WORKORDERS;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
<add name="PGDATA_WC.ODATAPOC.GETWORKORDERSBYID.RefCursor.P_RESULTS" value="implicitRefCursor bindinfo='mode=Output'" />
</settings>
OData Service Operation:
public class OracleODataService : DataService<OracleEntities>
// This method is called only once to initialize service-wide policies.
public static void InitializeService(DataServiceConfiguration config)
// TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc.
// Examples:
config.SetEntitySetAccessRule("*", EntitySetRights.All);
config.SetServiceOperationAccessRule("GetWorkOrdersByWindfarmId", ServiceOperationRights.All);
config.SetServiceOperationAccessRule("CreateWorkOrder", ServiceOperationRights.All);
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
[WebGet]
public IQueryable<GetWorkOrdersByWindfarmId_Result> GetWorkOrdersByWindfarmId(int WindfarmId)
return this.CurrentDataSource.GetWorkOrdersByWindfarmId(WindfarmId).AsQueryable();
[WebGet]
public void CreateWorkOrder(int WindfarmId)
this.CurrentDataSource.CreateWorkOrder(WindfarmId);
Here is the stored procedure:
procedure GetWorkOrdersByWindFarmId(WINDFARMID IN NUMBER,
P_RESULTS OUT REF_CUR) is
begin
OPEN P_RESULTS FOR
select WINDFARM_ID,
STARTTIME,
ENDTIME,
TURBINE_NUMBER,
NOTES,
TECHNICIAN_NAME
from WORKORDERS
where WINDFARM_ID = WINDFARMID;
end GetWorkOrdersByWindFarmId;
I defined a function import for the stored procedure using the directions I found online by creating a new complex type. I don't know if I should be defining the input parameter, WindfarmId, in my app.config? If I should what would that format look like? I also don't know if I'm invoking the stored procedure correctly in my service operation? I'm testing everything through the rest console because the client consuming this information is written in javascript and expecting a json format. Any help is appreciated!
Edited by: 1001323 on Apr 20, 2013 8:04 AM
Edited by: jennyh on Apr 22, 2013 9:00 AMMaking the change you suggested still resulted in the same Oracle.DataAccess.Client.OracleException {"ORA-06550: line 1, column 8:\nPLS-00306: wrong number or types of arguments in call to 'GETWORKORDERSBYWINDFARMID'\nORA-06550: line 1, column 8:\nPL/SQL: Statement ignored"} System.Exception {Oracle.DataAccess.Client.OracleException}
I keep thinking it has to do with my oracle.dataaccess.client settings in App.Config because I don't actually put the WindfarmId and an input parameter. I tried a few different ways to do this but can't find the correct format. -
Stored Procedure call to Oracle - issue
hi ,
I am trying to call a receiver JDBC adapter to call an oracle stored procedure -
I got this error ->
java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call - which I understand is related to mismatch btw the XML and Stored procedure
I checked the XMl and it matches the stored procedure call. I have two specific questions -
1) I have used SAP Note 801367 to have a look at the SQl command sent to the db.. However I do not see the stored procedure in the Audit logs...Does this feature work for Stored procedures too?
2) Can you look at the XML sent to the JDBC adapter...I saw something wierd... even though I had declared the isOutput attribute first and then attribute type... when I loaded the MT into the mapping the order changed...Does than matter?
<customer_id isInput="true" type="VARCHAR">5000123</customer_id>
<product_id isInput="true" type="VARCHAR">0041003</product_id>
<serial_number isInput="true" type="VARCHAR">1</serial_number>
<effective_date isInput="true" type="VARCHAR">2010-03-16</effective_date>
<quantity isInput="true" type="NUMERIC">1.000</quantity>
<currency_code isInput="true" type="VARCHAR">USD</currency_code>
<dist_channel_id isInput="true" type="VARCHAR">11</dist_channel_id>
<division_id isInput="true" type="VARCHAR">04</division_id>
<org_unit_id isInput="true" type="VARCHAR">1005</org_unit_id>
<config_name isInput="true" type="VARCHAR" />
<resolved_price type="NUMERIC" isOutput="true" />
<resolved_currency type="VARCHAR" isOutput="true" />
<contract_id type="VARCHAR" isOutput="true" />
<contract_desc type="VARCHAR" isOutput="true" />
<contract_owner_id type="VARCHAR" isOutput="true" />
<payment_terms type="VARCHAR" isOutput="true" />
<product_group_id type="VARCHAR" isOutput="true" />
<commitment_id type="VARCHAR" isOutput="true" />
<tier_index type="VARCHAR" isOutput="true" />
<shipping_flag type="VARCHAR" isOutput="true" />
<result_code type="VARCHAR" isOutput="true" />
<exec_time type="NUMERIC" isOutput="true" />
java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in callArvind,
Just to be sure: are all inputs to yourstored procedure of type varchar, or are there maybe inputs with different types?
A mismatch between the type specified in the XML and the expected inputs of the SP can also cause this error.
Regards,
Koen -
Hi,
I am running: Weblogic 6.1, SP2
Driver : weblogic.jdbc.oci.Driver
Reason for not using the "thin" driver, which works, is limit
on size of Clob
Previous references to this problem in this newsgroup indicate driver problems
with older versions of WL.. I am using the latest..
The SQLException I get is "After clearParameters() has been called, all parameters
must be reset before executing". This happens the second time the code below is
excuted ( ok the first time )
"clearParameters()" is never called explicitly in my code.
The exception occurs on the "spFunc.execute();" statement at the very end of this
code:
// OBS:connection, conn_, is opened from a connection pool
before this code is called and cloesed afterwards.
conn_.setAutoCommit(false);
// ============== Initializing clob ==================
SerialStatement stmt = (SerialStatement)conn_.createStatement();
stmt.execute("INSERT INTO lc_clob_temp VALUES (1, EMPTY_CLOB())");
// OBS: using a prepared statement here will result in SerialClob
// exception when using setClob in the prepared statement
below
// This is probably a bug ( worked in WL 5.1 ). We had this
as a support case 270952 with WebLogic.
stmt.execute("SELECT * FROM lc_clob_temp WHERE id = 1");
ResultSet crs = stmt.getResultSet();
weblogic.jdbc.rmi.SerialClob xmlClob = null;
while ( crs.next() ) {
xmlClob=(weblogic.jdbc.rmi.SerialClob)crs.getClob("newclob");
// Call Oracle's stored procedure for calling Oracle XSU.
SerialCallableStatement spFunc =
(SerialCallableStatement)conn_.prepareCall(
"declare " +
"insCtx sys.DBMS_XMLSave.ctxType; " +
"begin " +
"insCtx := sys.DBMS_XMLSave.newContext(?); " +
"sys.DBMS_XMLSave.setBatchSize(insCtx,0);" + "sys.DBMS_XMLSave.setCommitBatch(insCtx,
0);" +
"? := sys.DBMS_XMLSave.insertXML(insCtx,?); " +
"sys.DBMS_XMLSave.closeContext(insCtx); " +
"end;"
spFunc.setString(1, viewName );
spFunc.registerOutParameter (2, Types.NUMERIC);
Writer outstream = xmlClob.getCharacterOutputStream();
outstream.write(xml.toString());
outstream.flush();
outstream.close();
spFunc.setClob( 3, xmlClob);
spFunc.execute();
spFunc.close();Hi,
I am running: Weblogic 6.1, SP2
Driver : weblogic.jdbc.oci.Driver
Reason for not using the "thin" driver, which works, is limit
on size of Clob
Previous references to this problem in this newsgroup indicate driver problems
with older versions of WL.. I am using the latest..
The SQLException I get is "After clearParameters() has been called, all parameters
must be reset before executing". This happens the second time the code below is
excuted ( ok the first time )
"clearParameters()" is never called explicitly in my code.
The exception occurs on the "spFunc.execute();" statement at the very end of this
code:
// OBS:connection, conn_, is opened from a connection pool
before this code is called and cloesed afterwards.
conn_.setAutoCommit(false);
// ============== Initializing clob ==================
SerialStatement stmt = (SerialStatement)conn_.createStatement();
stmt.execute("INSERT INTO lc_clob_temp VALUES (1, EMPTY_CLOB())");
// OBS: using a prepared statement here will result in SerialClob
// exception when using setClob in the prepared statement
below
// This is probably a bug ( worked in WL 5.1 ). We had this
as a support case 270952 with WebLogic.
stmt.execute("SELECT * FROM lc_clob_temp WHERE id = 1");
ResultSet crs = stmt.getResultSet();
weblogic.jdbc.rmi.SerialClob xmlClob = null;
while ( crs.next() ) {
xmlClob=(weblogic.jdbc.rmi.SerialClob)crs.getClob("newclob");
// Call Oracle's stored procedure for calling Oracle XSU.
SerialCallableStatement spFunc =
(SerialCallableStatement)conn_.prepareCall(
"declare " +
"insCtx sys.DBMS_XMLSave.ctxType; " +
"begin " +
"insCtx := sys.DBMS_XMLSave.newContext(?); " +
"sys.DBMS_XMLSave.setBatchSize(insCtx,0);" + "sys.DBMS_XMLSave.setCommitBatch(insCtx,
0);" +
"? := sys.DBMS_XMLSave.insertXML(insCtx,?); " +
"sys.DBMS_XMLSave.closeContext(insCtx); " +
"end;"
spFunc.setString(1, viewName );
spFunc.registerOutParameter (2, Types.NUMERIC);
Writer outstream = xmlClob.getCharacterOutputStream();
outstream.write(xml.toString());
outstream.flush();
outstream.close();
spFunc.setClob( 3, xmlClob);
spFunc.execute();
spFunc.close(); -
About job postings for Oracle Developers Please Help.
Hi to all.
This is not a specific doubt about development, is for employment.
This is not a Job Posting.
I have 2 years of experience developing in Oracle FOrms (Web ann C/s),with
another tools (like Jdeveloper),etc with a Bachellor degree in System - Engenering
Here in my country(Peru) the pay per hour is almost 5.9 to 6 US$ (a total per mounth is
between 1000 and 950 US$).
As you can see the standar level of salary is very low.
Even that level is considered "high" for our standars. (A Visual Basic /Sql-Server developer gets a 4.00 uS$ per hour).
I have seen (in the Oracle job postings page) amounts like 60 -50 US$ per hour for Oracle Developers.
So I have some questions for you , the real people who works in Oracle enviroments.
-That amounts per hour are really true?.
-IF its true (in countries like USA or CANADA) how much can I save ,having a normal life?
-In have passed the first OCP Exam,(3 left), but it is really necesary to get well-payed a Job?
-There are some many enterprises recruiting foreigners for IT jobs but (if somebody knows...),there are some good ones and the bad ones.Have you been heared about the bad ones,, and who are they??
Please I need your feedback.
Its very important to me any suggestion or comment because I'm planning to work outside.
Thanks for your attention.
nullHi to all.
This is not a specific doubt about development, is for employment.
This is not a Job Posting.
I have 2 years of experience developing in Oracle FOrms (Web ann C/s),with
another tools (like Jdeveloper),etc with a Bachellor degree in System - Engenering
Here in my country(Peru) the pay per hour is almost 5.9 to 6 US$ (a total per mounth is
between 1000 and 950 US$).
As you can see the standar level of salary is very low.
Even that level is considered "high" for our standars. (A Visual Basic /Sql-Server developer gets a 4.00 uS$ per hour).
I have seen (in the Oracle job postings page) amounts like 60 -50 US$ per hour for Oracle Developers.
So I have some questions for you , the real people who works in Oracle enviroments.
-That amounts per hour are really true?.
-IF its true (in countries like USA or CANADA) how much can I save ,having a normal life?
-In have passed the first OCP Exam,(3 left), but it is really necesary to get well-payed a Job?
-There are some many enterprises recruiting foreigners for IT jobs but (if somebody knows...),there are some good ones and the bad ones.Have you been heared about the bad ones,, and who are they??
Please I need your feedback.
Its very important to me any suggestion or comment because I'm planning to work outside.
Thanks for your attention.
null -
ORA-24777 when trying to call multiple Oracle SPs...
I had a SP in Oracle that called another SP in a SQL Server DB via DBLink. I was calling the Oracle SP from VB.NET (3.5) and because of transaction commiting I was not able to do this, so I removed the SQL SERVER SP call from inside the Oracle SP. However, I still get a ORA-24777 error: use of non-migratable database link not allowed.
If I removed the reference to the other DB, why would I still get an error referencing the DBLINK?
I'm using Oracle 10.2 and VB.NET (3.5).
old SP CODE:
I have a package called USP_VALIDATION
In the package body, I was calling BATCH(Queue, RefNo) [a procedure in USP_VALIDATION]
In this BATCH procedure, I would call SP_GET_BILLING_OPTION_TCIS(accNo, lclBillingOption) [note TCIS is the SQL DB and lclBillingOption would be the TCIS billing option]
... do something with lclBillingOption
I changed this to the following:
In the package body, I now call BATCH(Queue, RefNo, BillingOption)
In this new BATCH procedured, I now DON'T call SP_GET_BILLING_OPTION_TCIS as I already retrieved it first before I call USP_VALIDATION in the .NET code
... do something with the BillingOption passed in as a parameter when calling BATCH.
What I'm really trying to do is make sure that the transaction commitment/rollback is handled correctly in the following senario.
What happened before was because the one SP was calling another SQL database via DBLINK, it was not working correctly. So we removed the DBLINK and now call the SQL database before we do any action with the Oracle SPs.
Here is my code in .NET:
Public Function EnrollElectricCustomer(ByVal EnrollParameters As IEnrollmentParameters) As IEnrolleSearch Implements Interfaces.IEnrollmentManager.EnrollElectricCustomer
Dim dacRCES As New Dac.RC.EnrolleeDataService()
Dim dacRCAS As New Dac.RC.AccountDataService()
Dim oServiceType As IServiceType = New ServiceType(ServiceTypeEnum.Gas)
Dim dacCSS As New Dac.Css.CssCustomerAccount
Dim oBillingOption As IBillingOption = Nothing
Dim business As New AccountManager
Dim WorkQID As Long = 0
Dim enrolleeSearch As EnrolleeSearch = Nothing
Dim MainTranScope As TransactionScope = New TransactionScope(TransactionScopeOption.RequiresNew)
Try
EventLog.WriteEntry("RCIS", "Access --> EnrollElectricCustomer")
' comment - here I go to SQL Server to get the Billing Option instead of doing it thru DBLINK
oBillingOption = dacRCAS.GetCurrentBillingOption(EnrollParameters.CssAccountNumber, oServiceType)
Using MainTranScope
'first save the Enrollment record to the Enroll Queue
WorkQID = dacRCES.SaveElectricEnrollee(EnrollParameters)
'need to put account number needed into a collection
Dim oColAccounts As New Generic.List(Of IAccountRefreshRequests)
Dim oColCSSAccounts As New Generic.List(Of ICustomerAccount)
Dim oAccount As New AccountRefreshRequests
Dim oCustomerAccount As ICustomerAccount
Dim refreshstring As String = String.Empty
oAccount.CSSAccountNumber = EnrollParameters.CssAccountNumber
oAccount.CSSAccountNumberNoCheckDigit = EnrollParameters.CssAccountNumber.Substring(0, 14)
oAccount.CSSCheckDigit = EnrollParameters.CssAccountNumber.Substring(14, 1)
oAccount.ServiceType.CodeString = "E"
Dim rStatus As New RefreshStatus
rStatus.Code = StatusEnum.NewAccount
oAccount.Status.CodeString = rStatus.CodeString()
oColAccounts.Add(oAccount)
'call CSS passing in collection of account(s) and returning back collection of account(s)
oColCSSAccounts = dacCSS.GetCssAccountInfo(oColAccounts)
oCustomerAccount = New CustomerAccount
oCustomerAccount = oColCSSAccounts.Item(0)
refreshstring = business.BuildRefreshString(oCustomerAccount)
dacRCES.RefreshElectricAccount(refreshstring)
'once refreshed, we need to also run VALIDATION on this enrollent record...
*' NOTE THAT THIS SP used to CALL SQL via DBLINK but no longer does....*
dacRCES.ValidateElectricEnrollment(WorkQID,oBillingOption)
'once validated, we also have to submit the record....
dacRCES.SubmitElectricEnrollment(WorkQID)
MainTranScope.Complete()
End Using
If WorkQID > 0 Then
'now we need to retrieve the account enrollment record...
enrolleeSearch = dacRCES.FindEnrolleeByEnrollID(WorkQID, ServiceTypeEnum.Electric)
End If
Catch ex As Exception
SendEmail.SendErrorEmail("EnrollElectricCustomer --> " & EnrollParameters.CssAccountNumber, ex.Message)
RcCommon.WriteExceptionToLog(ex)
Throw
End Try
Return enrolleeSearch
End FunctionI'm concerned that if any one of the various calls fails, I want to rollback the ENTIRE transaction. Right now I
a) insert the row into a table in Oracle,
b) get detailed information on this account from another database (DB2),
c) refresh the data in the Oracle DB on this account,
d) validate the record added (business rules) and then when all done,
e) to submit the account (which changes statuses for later use).
If I insert the record but it fails at step d say, I want to rollback everything and remove the record from the Oracle table...
Edited by: userLynx on Oct 17, 2012 6:37 AMEDIT1:
You posted an edit including code while I was typing original response.
You may find the following My Oracle Support note helpful. It applies to ODP.NET as well.
ORA-24777 When Selecting Across a Database Link With Microsoft OLE DB Provider for Oracle [ID 397555.1]
Just to confirm - is the database link used at all now?
I know you said that the stored procedure is no longer called, but is the link still used for anything else?
Also, do you have a call stack from when the exception is raised?
Edited by: Mark Williams on Oct 17, 2012 9:53 AM -
JDBC calling an Oracle PL/SQL Package?
Does anyone know how to have JDBC call an Oracle PL/SQL Package?
Thanks, JonReview the CallableStatement object in the JDBC Developers Guide
-
Call all user info using wwsec_api.person_info
I want to call all user info using wwsec_api.person_info and then place this info into a new table. I can call the current users info and print it out with this code. But how do I call the info for all users and either send them to some kind of array or put them directly into a table.
<ORACLE>declare
l_userinfo PORTAL.wwsec_person%rowtype;
begin
l_userinfo := ORASSO.wwsec_api.person_info(p_user_name=>PORTAL.wwctx_api.get_user);
htp.p(l_userinfo.first_name);
htp.p(l_userinfo.last_name);
htp.p(l_userinfo.email);
htp.p(l_userinfo.work_phone);
htp.p(l_userinfo.office_addr1);
htp.p(l_userinfo.office_city);
htp.p(l_userinfo.office_state);
htp.p(l_userinfo.office_zip);
end;
</ORACLE>you can find all info related to users in orasso.WWSEC_PERSON$
hope this helps.
Vikas -
Is there a List of all Oracle R12 EBS Standard/Seeded Reports?
Hey,
Does anyone have a list of all Oracle R12_ EBS Seeded Reports in the system?
- Particularly for Finance and/or Purchasing modules
- Ideally with additional information and details regarding what each report contains (a general description or all the fields it includes).
I can only assume there should be a document that lists them all out by module, and includes details of each report. I dug through the document library, but was not able to find anything like that.
Even a list of report names per module would be nice?
If there is a perfect query that brings in the exact Active Report Names and associated Application Name / Module Name that would work too... (emphasis on perfect: Comprehensive, correct, and includes names of relevent Application and/or module)
Thanks,
-Ayyadtry the below to get the list.
"Concurrent Programs report"
"Concurrent Program Details report"
Also, here is the purchasing list
Reschedule Requisitions Purchasing
Location Listing Purchasing
New Vendor Letter Report Purchasing
Purchase Order Detail Report Purchasing
Vendors on Hold Report Purchasing
Receipt Adjustments Report Purchasing
Receiving Exceptions Report Purchasing
Savings Analysis Report(by Buyer) Purchasing
Purchase Order and Releases Detail Report Purchasing
Vendor Price Performance Analysis Report Purchasing
Buyer's Requisition Action Required Report Purchasing
Item Summary Listing Purchasing
Blanket and Planned PO Status Report Purchasing
Purchase Order Distribution Detail Report Purchasing
Purchase Price Variance Report Purchasing
Expected Receipts Report Purchasing
Matching Holds Report by Buyer Report Purchasing
Vendor Purchase Summary Report Purchasing
Unordered Receipts Report Purchasing
Standard Notes Listing Purchasing
Requisition Activity Register Purchasing
Buyer Listing Purchasing
Quality Code Listing Purchasing
RFQ Action Required Report Purchasing
Unit of Measure Class Listing Purchasing
Printed RFQ Report(Landscape) Purchasing
Printed RFQ Report(Portrait) Purchasing
Overshipments Report Purchasing
Purchasing Activity Register Purchasing
Encumbrance Detail Report Purchasing
Item Detail Listing Purchasing
Open Purchase Orders Report(by Cost Center) Purchasing
Purchase Agreement Audit Report Purchasing
Printed Purchase Order Report(Landscape) Purchasing
Printed Purchase Order Report(Portrait) Purchasing
Open Purchase Orders Report(by Buyer) Purchasing
Invoice Price Variance Report Purchasing
Printed Requisitions Report Purchasing
Purchase Requisition Status Report Purchasing
Receipt Traveler Purchasing
Substitute Receipts Report Purchasing
Purchase Summary Report By Category Purchasing
Overdue Vendor Shipments Report Purchasing
Quotation Action Required Report Purchasing
Requisition Distribution Detail Report Purchasing
Internal Requisition Status Report Purchasing
Cancelled Requisition Report Purchasing
Requisitions on Cancelled Order Report Purchasing
Internal Requisitions/Deliveries Discrepancy Report Purchasing
Vendor Volume Analysis Report Purchasing
Vendor Quality Performance Analysis Report Purchasing
Vendor Service Performance Analysis Report Purchasing
Printed Change Orders Report (Portrait) Purchasing
Cancelled Purchase Orders Report Purchasing
Purchase Order Commitment By Period Report Purchasing
Savings Analysis Report(by Category) Purchasing
Receiving Value Report by Destination Account Purchasing
Printed Change Orders Report (Landscape) Purchasing
Receiving Value Report Purchasing
Receiving Transactions Register Purchasing
Purchasing Database Adminstration Purchasing
Send Notifications for Purchasing Documents Purchasing
Upgrade Notifications To Release 11 Purchasing
Country of Origin (By Supplier) Report Purchasing
Country of Origin (By Item) Report Purchasing
Mass Update of Buyer Name on Purchasing Documents Purchasing
PO Output for Communication Purchasing
Purchasing Packing Slip Inventory
Accrual Reconciliation Load Run Bills of Material
Accrual Write-Off Report Bills of Material
Summary Accrual Reconciliation Report Bills of Material
Miscellaneous Accrual Reconciliation Report Bills of Material
AP and PO Accrual Reconciliation Report Bills of Material
Receipt Accruals - Period-End Bills of Material
Uninvoiced Receipts Report Bills of Material
Create Accounting - Receiving Bills of Material
Transfer Journal Entries to GL - Receiving Bills of Material -
iPhone 5S: does anybody has this problem. During a successful voice call all of a sudden people can't hear me while I can hear them. Signal is strong and call quality (me hearing the other) is still very good but it looks as if I’m going on mute while I’m not muting my iPhone. When dropping the call and re-dialing it works fine again. It’s a brand new iPhone 5S but it now happened already 4 or 5 times in 2 days.
It feels like a hardware/iOS problem and not a network issue. It happend with iOS7.03 but I just see 7.0.4 is available so will install that one now.
Thanks in advance for feedback
Best regards,
MarcoHello Jeff,
Thank you for providing so much detail about the issue you are experiencing with the audio on your iPhone. I would be concerned too if the audio on my iPhone was not working unless using speaker phone. I found an article with some steps to take when you are experiencing issues like this:
iPhone: Can't hear through the receiver or speaker
http://support.apple.com/kb/TS1630
Thank you for using Apple Support Communities.
Best,
Sheila M. -
I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??
If you are using Apple's Mail app 6.5 is the latest version irrespective of what a previous poster says. It does sound though that you are using a gmail account online via a web browser. Please confirm and fill in missing information.
-
i have an iphone and my 2 children have ipods. all 3 on the same apple id. when one ipod gets a facetime call, all 3 devices ring. how do i prevent all three devices getting the facetime call as it is intended for only one of the ipods?
You can all have independent AppleIDs for iCloud or iMessage etc, but share the same one for iTunes Store / AppStore purchases.
Maybe you are looking for
-
hello everyone, I have had my lenovo t61 for over 6 months now, and till yesterday it was a rock solid machine. However I have now encountered a problem that is really posing problems for me. I would appreciate it if you guys can have a look at the s
-
MacBook Pro Stalls @ Startup
When asked for my password at startup the laptop stalls. I have had to reinstall the computer system software once and re-set everything once. I have also reset the PRAM (parameter random access memory) which worked once. Laptop stalled again, so I t
-
I have been using Firefox 6 for the last couple of months yet when I tried to log into my Hotmail account, it keeps telling me that my password is incorrect. But when I try and reset, it keeps sending me on a wild goose chase and I still cannot reset
-
So far my problem is not solved
so far my problem is not solved
-
Absence history is not loading in sshr page
Absence history is not loading in sshr page * For a employee the absence history is not displaying * Data for the employee is in table per_absence_attendances