Stored procedure output parameter cast problem - there was a mistake in the
Hi
I call to an oracle stored procedure from java and when i get the output parameter i get a classCastException.
The output parameter is for example of typeA
typeA is a sql object composed by a parameter of typeB and a parameter of typeC
typeC is a sql table of typeD objects
and typeD, typeB are objects composed by numbers, varchar2, date.....
I know that i have all the java to sql mappings correctly done because when my typeA is an input parameter of a procedure, it works correctly.
But when i have it as an output parameter i can�t solve the classCastException.
This is more or less my java code to call to the procedure:
dbConn=DriverManager.getConnection(dnsName,dnsUser,dnsPwd);
Map map = dbConn.getTypeMap();
map.put("TYPEA", Class.forName("tiposOracle.inv.Inv"));
map.put("TYPEB", Class.forName("tiposOracle.inv.Inv_cab"));
map.put("TYPED", Class.forName("tiposOracle.inv.Inv_lin"));
CallableStatement cstmt = dbConn.prepareCall("{call GENERAL.OBTENER_MENSAJE (?,?)}");
cstmt.setBigDecimal(1, codMensaje);
cstmt.registerOutParameter(2, OracleTypes.STRUCT, "TYPEA");
cstmt.execute();
Inv inv = (Inv)cstmt.getObject(2,map); ////////Here the exception-----------------------------------------------------------------------------------------------
The java class Inv represents the sql object typeA as this:
public Inv_cab cab;
public ARRAY lins;
And the classes Inv_cab and Inv_lin typeB and typeD with dates, BigDecimals and String.
lins is the table of Inv_lin.
And finally, this is the exception i get:
java.lang.ClassCastException
at tiposOracle.inv.Inv.readSQL(Invrpt.java:29)
at oracle.sql.STRUCT.toClass(STRUCT.java:829)
at oracle.sql.STRUCT.toJdbc(STRUCT.java:734)
at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:6094)
at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:840)
at principal.PedirDatosMensaje.main(PedirDatosMensaje.java:103)
Can anyone help me?
Thanks
Now i get this exception in cstmt.registerOutParameter(2, OracleTypes.STRUCT);java.sql.SQLException: Conflicto de tipo de par�metro: sqlType=2002
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java:248)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:402)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:471)
at principal.PedirDatosMensaje.main(PedirDatosMensaje.java:78)
Conflicto de tipo de par�metro means: conflict of parameter type
Similar Messages
-
Stored procedure output parameter cast problem
Hi
I call to an oracle stored procedure from java and when i get the output parameter i get a classCastException.
The output parameter is for example of typeA
typeA is a sql object composed by a parameter of typeB and a parameter of typeC
typeB is a sql table of typeD objects
and typeD, typeB are objects composed by numbers, varchar2, date.....
I know that i have all the java to sql mappings correctly done because when my typeA is an input parameter of a procedure, it works correctly.
But when i have it as an output parameter i can�t solve the classCastException.
This is more or less my java code to call to the procedure:
dbConn=DriverManager.getConnection(dnsName,dnsUser,dnsPwd);
Map map = dbConn.getTypeMap();
map.put("TYPEA", Class.forName("tiposOracle.inv.Inv"));
map.put("TYPEB", Class.forName("tiposOracle.inv.Inv_cab"));
map.put("TYPED", Class.forName("tiposOracle.inv.Inv_lin"));
CallableStatement cstmt = dbConn.prepareCall("{call GENERAL.OBTENER_MENSAJE (?,?)}");
cstmt.setBigDecimal(1, codMensaje);
cstmt.registerOutParameter(2, OracleTypes.STRUCT, "TYPEA");
cstmt.execute();
Inv inv = (Inv)cstmt.getObject(2,map); ////////Here the exception-----------------------------------------------------------------------------------------------
The java class Inv represents the sql object typeA as this:
public Inv_cab cab;
public ARRAY lins;
And the classes Inv_cab and Inv_lin typeB and typeD with dates, BigDecimals and String.
lins is the table of Inv_lin.
And finally, this is the exception i get:
java.lang.ClassCastException
at tiposOracle.inv.Inv.readSQL(Invrpt.java:29)
at oracle.sql.STRUCT.toClass(STRUCT.java:829)
at oracle.sql.STRUCT.toJdbc(STRUCT.java:734)
at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:6094)
at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:840)
at principal.PedirDatosMensaje.main(PedirDatosMensaje.java:103)
Can anyone help me?
ThanksNow i get this exception in cstmt.registerOutParameter(2, OracleTypes.STRUCT);java.sql.SQLException: Conflicto de tipo de par�metro: sqlType=2002
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java:248)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:402)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:471)
at principal.PedirDatosMensaje.main(PedirDatosMensaje.java:78)
Conflicto de tipo de par�metro means: conflict of parameter type -
I have this problem with the APP store. There was an error in the App Store. Please try again later. (null) Any idea as to how to fix this?
Does this happen when you try to update?
These guys have a cool solution that has helped with that error when you can't update an app: http://support.iawriter.com/help/kb/mac-questions/the-app-store-fails-with-there -was-an-error-in-the-app-store-please-try-again-later-null
NOTE: the instructions are specifically for their app but the solution has also worked for other apps too. They are, however, more advanced steps so proceed with caution. -
How to retrieve Stored Procedure Output Parameter?
Hi,
I'm using a stored procedure with MS SQL Server. The stored procedure creates the required table entries correctly. After executing the procedure i free the resulting recordset reference and am able to retrieve the return value of the stored procedure. However,
I am not able to retrieve the output parameters of the procedure. I am connected to the database using the MS OLE DB Provider for SQL Server. I tried using ODBC as well. Didn't work either. I know this issue has been addressed before, did anyone come up with a solution for this problem?
Thanks in advance,
MarcoI can tell you what I do with LabSQL and a single output parameter. After I open the connection to the database, I execute a SQL statement that looks like this:
declare @resultID int
execute spInsUUTResult @SerialNumber = '999DEBUGXXX',
@SequenceName = 'Sequence File2.seq',
@CategoryID = 2,
@TypeID = 1,
@StartDateTime = '10-10-2003 13:42:45',
@ExecutionTime = 3.5698713,
@UUTStatus = 'Passed',
@UserName = 'Dennis Knutson',
@StationName = 'DENNIS-KNUTSON',
@UUTResultID = @resultID OUTPUT
This query result is the output parameter. I first debugged the call to the stored procedure in the SQL Server Query Analyzer and then just copied that straight into my LabVIEW code. You may be using something other than LabSQL but you should have a function t
hat allows for raw SQL commands. -
Output Parameter cast problems
Wondering if anyone has seen this ...
Migrating a data access layer (based on the MS DAAB) using the ODP.NET provider. I wrote my own parameter discovery code to dynamically configure parameters at runtime - just like the SqlCommandBuilder.DeriveParameters() method does for SQL Server sprocs.
(I query the "all_arguments" view to get this data, by the way, passing the package name and procedure name.)
Here's the problem: you cannot discover the Size property for a parameter via this query. Bummer. So for VarChar2 and Char types I tried setting the Size to somethng big, like 2000.
When I retrieve the parameters after an ExecuteNonQuery statement, I am getting Type cast errors:
"Cast from type 'OracleString' to type 'String' is not valid"
Here's the weird part:
- CType(params(5).Value, Integer) 'WORKS
- CType(params(2).Value, String) 'DOESN'T WORK
- params(2).Value.ToString 'WORKS
- CType(params(2).Value, Date) 'DOESN'T WORK
What the ...? Why can't I cast a VarChar2 or Char type back to a .NET String? Why does ToString work but Ctype() not work?
I hope somebody can offer guidance, I've got a lot invested in this DAL :-)
Thanks eh
Kurt Mang
Vancouver BCThere's not really an elegant way to provide these conversions in VB. In C# OracleString uses operator overloading to provide type conversions, but this version of VB doesn't support it.
They might have implemented IConvertible on the oracle types.
Then you could write
Dim osw as new OracleString("Hello")
Dim s as String = CType(osw, IConvertible).ToString
But that's not really better than
Dim osw as new OracleString("Hello")
Dim s as String = osw.Value
The long and short of it is, OracleTypes ( and other ADO.NET provider types), are special high-performance types (usually value types), and they convert using a different idiom. By convention they are converted to the corresponding framework type using a property called .Value, and constructed from framework types using a constructor.
String s = New OracleString("Hello").Value
Converts the Unicode string "Hello" to an OracleString structure, and then back to a unicode string.
David -
JDBC adapter Stored Procedure error: parameter was not supplied
I am trying to call a Stored Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' in our SQL Server database.
XI 3.0 Sp13
Jdbc Url: jdbc:microsoft:sqlserver://161.241.255.91:1433;databaseName=FusionDB;SelectMethod=Cursor
I am getting following error:
beging of error-----
Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' (structure 'Statement1'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' expects parameter '@control_no', which was not supplied.
End of error-----
I have defined the field "control_no" in the interface defenition but I am not sure what causing this error, error message is mis-leading.
Please let me know if you have any hints/comments?
thanks,
Laxman moluguHi Laxman,
maybe you have checked this already...from the following help link....DECIMAL might be something you might want to try out....
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
<i>action=EXECUTE
Statements with this action result in a stored procedure being executed. The name of the element is interpreted as the name of the stored procedure in the database. If you use the optional <table> element, the value specified here is used as the stored procedure name. This enables you, for example, to define stored procedure names containing non-XML-compatible characters or characters that prevent them from being used in interface definitions in the Integration Builder/PCK. If specified, <table> must be the first element in the block within <dbTableName>.
The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=1 (input parameter) or isOutput=1 (output parameter) or both (INOUT parameter). If both attributes are missing, the element is interpreted as an input parameter. The parameter names must be identical to those of the stored procedure definition.
The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).
The following SQL data types are supported:
INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i> -
Getting error -1202 when trying to connect to 'My Wish List" in ITurnes. Says there was an error in the ITunes store and to try again later. Have no other problems connecting or purchasing......
This procedure is a diagnostic test. It makes no changes to your data.
Please triple-click anywhere in the line below on this page to select it:
ls -@Oaen L*/Coo* | pbcopy
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
Wait for a new line ending in a dollar sign ($) to appear below what you entered.
The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
The Terminal window doesn't show the output. Please don't copy anything from there. -
VARRAY as Stored Proc output parameter
VARRAY as Stored Proc output parameter
I have an Oracle VARRAY data type declared as follows:
CREATE TYPE NUMBER_ARRAY AS VARRAY(100) OF NUMBER;
I have a stored procedure which takes a single input and
returns a NUMBER_ARRAY as output:
CREATE OR REPLACE PROCEDURE one_in_number_array_out(
IN_PARAM IN NUMBER,
OUT_NUMBER_ARRAY OUT NUMBER_ARRAY )
IS
BEGIN
-- OUT_NUMBER_ARRAY getting populated here
END one_in_number_array_out;
I want to be able hit this proc using TopLink StoreProcedureCall objects and retrieve through a map.
I thought I would be able to do something like:
public void execute() {
StoredProcedureCall call = new StoredProcedureCall();
call.setProcedureName( getStoredProcedureName() );
call.addNamedArgumentValue("IN_NUMBER_PARAM", new Double(324) );
call.addNamedOutputArgument("OUT_NUMBER_ARRAY", "numberArray"); // use an alias
ClientSession clientSession = .....getClientSession();
// EXCEPTION OCCURS on following call:
Map row = (Map) clientSession.executeSelectingCall( call ).firstElement();
Object numberArray = row.get( "numberArray" );
System.out.println("numberArray = " + numberArray);
But, when I call the stored proc I get the following stack trace:
LOCAL EXCEPTION STACK:
EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'ONE_IN_NUMBER_ARRAY_OUT'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
INTERNAL EXCEPTION: java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'ONE_IN_NUMBER_ARRAY_OUT'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ERROR CODE: 6550
at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelect(Unknown Source)
at oracle.toplink.queryframework.DataReadQuery.executeNonCursor(Unknown Source)
at oracle.toplink.queryframework.DataReadQuery.execute(Unknown Source)
at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
at oracle.toplink.threetier.ClientSession.internalExecuteQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeSelectingCall(Unknown Source)
at com.gs.lab.rr.db.plsql.gs_practice_pkg.OneInNumberArrayOutStoredProcedure.execute(OneInNumberArrayOutStoredProcedure.java:51)
at com.gs.lab.rr.db.plsql.gs_practice_pkg.PracticeStoredProceduresTest.testOneInNumberArrayOutStoredProcedure(PracticeStoredProceduresTest.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
INTERNAL EXCEPTION STACK:
java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'ONE_IN_NUMBER_ARRAY_OUT'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelect(Unknown Source)
at oracle.toplink.queryframework.DataReadQuery.executeNonCursor(Unknown Source)
at oracle.toplink.queryframework.DataReadQuery.execute(Unknown Source)
at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
at oracle.toplink.threetier.ClientSession.internalExecuteQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeSelectingCall(Unknown Source)
at com.gs.lab.rr.db.plsql.gs_practice_pkg.OneInNumberArrayOutStoredProcedure.execute(OneInNumberArrayOutStoredProcedure.java:51)
at com.gs.lab.rr.db.plsql.gs_practice_pkg.PracticeStoredProceduresTest.testOneInNumberArrayOutStoredProcedure(PracticeStoredProceduresTest.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
Thanks in advance,
JohnUsing the SQL/ObjectRelational types as stored procedure arguments is not supported. But it may work...
You should not pass in the reference to the array type. Instead, do something like this:
call.addNamedOutputArgument("OUT_NUMBER_ARRAY", "OUT_NUMBER_ARRAY");
Hope this helps. If not, I suspect it would take some technical services to do this as I don't think the source.zip contains the classes involved in this.
- Don -
Stored procedure in a transaction problem
hello to everybody
I have an application under weblogic8.1 sp3.
I have to call an Oracle stored procedure that populate a table and I have to see the new record anly at the end of the ejb service transaction ( a Container transaction ).When the procedure terminate I see the db data before the transaction end.So I have created a XA DataSource and changed the oracle 9.2 thin drivers in oracle 9.2 thin drivers XA.But Now I receive this Oracle Error:
ORA-02089: COMMIT is not allowed in a subordinate session
Why?How Can I resolve my problem?Can Anyone Help Me?Thanks...giorgio giustiniani wrote:
hello to everybody
I have an application under weblogic8.1 sp3.
I have to call an Oracle stored procedure that populate a table and I have to see the new record anly at the end of the ejb service transaction ( a Container transaction ).When the procedure terminate I see the db data before the transaction end.So I have created a XA DataSource and changed the oracle 9.2 thin drivers in oracle 9.2 thin drivers XA.But Now I receive this Oracle Error:
ORA-02089: COMMIT is not allowed in a subordinate session
Why?How Can I resolve my problem?Can Anyone Help Me?Thanks...It sounds like you have transactional syntax embedded in your
procedure. You can't do that and still include it in an XA
transaction.
Joe -
Getting an error message when viewing the pdf report by using Adobe reader "There was an error processing the page.there was a problem reading this document(109)"
Hi,
We are using Active reports tool to generate the PDF document, And the
server is Windows 2003, and it is online document which generates
dynamically
We are facing the below error message when we try to generate, and my
local machine having Adobe Reader 7.0
Please find the screen shot below for the error message, Thank you for you
help in advance.
Thanks and Regards
Inayath Nalgar -
I was using Aperture (3.4.1), when he appeared a notice that asked me to stop the Mac with the power button. When I restart Aperture no longer opens and the following message appears: There was an error opening the database for the library "/ Users / Andrea / Pictures / Aperture 3 Library.aplibrary."
How can I solve this problem?
ThanksAfter a system crash your Aperture Library may be corrupted, because Aperture may not have been able to finish the ongoing database transactions.
Have you tried the Aperture Library First Aid Tools?
Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
Try "Repair Database", and if this does not help: "Rebuild Database"
Regards
Léonie -
How to move stored procedure output to file
Hi All,
Thanks in advance.
Please let me know how to move the oracle stored procedure output to the flat file.
By
PyarajanHi Pyarajan,
As David posted, in the Data Flow Task (DFT), you can add an OLE DB Source, and create a connection manager to connect to the Oracle server using the Microsoft OLE DB for Oracle provider. Then, in the OLE DB Source Editor, you can set the “Data access mode”
to “SQL command” and input the query to execute your Oracle stored procedure. To export the data to a flat file, we need to add a Flat File Destination to the DFT.
Besides, also note that you need to install the Oracle client on this server, and you may need to edit the tnsnames.ora and sqlnet.ora files to establish the connection to Oracle successfully.
References:
http://commerceserverguy.wordpress.com/2011/12/04/ssis-package-tutorial/
http://sqlblog.com/blogs/jorg_klein/archive/2011/06/09/ssis-connect-to-oracle-on-a-64-bit-machine.aspx
Regards,
Mike Yin
TechNet Community Support -
When I open Bridge Master Collection CS6, I get the message: There was a mistake in Bridge, therefor the cache cannot be read. Try to erase the central cache to solve the problem. The solutions given by Adobe don't help me. Does anyone have another solution....????
Als ik Bridge open krijg ik een venster te zien met de boodschap: Er is een fout opgetreden in Bridge waardoor de cache niet kan worden gelezen. Probeer de centrale cache te wissen in de cachevoorkeuren om de situatie op te lossen. De oplossingen van Adobe verhelpen het probleem niet, heeft iemand anders een oplossing .....????
Alvast bedankt. Jaap Wals.When launching Bridge, press and hold down Command-Option (Mac) or Control-Alt (Win) + Shift to choose “Reset Preferences”, Purge Entire Thumbnail Cache”, and/or Reset Standard Workspaces”.
-
There was some dirt on the inner screen and I got my iphone replaced.now the same problem exists in the replaced iphone
Why would Apple do anything for a damaged iphone?
You would have to pay for a replacement -
When I download itunes my computer tells me there was an error in the download and I need to re-download. It tried three times to re-download and got the same error. Any help for this? My computer is brand new.
Go START/ALL PROGRAMS/APPLE SOFTWARE UPDATE"
If it offers you a newer version of Apple Software Update, do it but "Deselect" any other software offered at the same time.
Once done, try another iTunes download
Maybe you are looking for
-
Short Dump while saving the changes in Quotation
Hi abapers, Please solve my Problem Actually Problem with the Quotation. I have created one SAP Script and attached to VA21. now when I save the Quotation it gets saved byut when I try to open the Quotation in VA22/Va23 first it gives me a short dump
-
Records in a table that are not older than two weeks
Hey everyone, I have a mysql table which has a column DATE which contains the date the enty was inserted I need to write a script which keeps only those records that are no older than two weeks. Can this be done in sql? I can do it in Java but I gues
-
JAVA Initially our Java servlet used ojdbc4.jar to connect to oracle database . After migrating to Oracle 11g database, we are facing difficulties to read clob data returned from a oracle function. This was working fine in the previous DB versions. W
-
I'd like to roll over text on a page, and have it change in color, AND have an image show up on the page. Is there any way that I can do this? Thanks in advance.
-
I want to install Oracle Client 8.04 on windows 98 but I have error on java Help needed. Thanks