Default NLS instead of localized (Danish) crashing SQL w/ "Invalid number"?
Exploring the root cause for our Oracle SQL not working in our SAP MII 12.2
Proof of Concept installation, we found that all our Oracle JDBC
connections in MII 12.2 are somehow somewhere set by default to Danish
NLS (our native language).
This results in that decimal seperators are switched from default ".,"
to ",.", meaning that all numeric conversions of strings expect
comma "," to be the decimal seperator.
This results in ORA- invalid numbers of to_number() and calculations on all such number strings that used to
work with xMII 11.5.
We have work-around'ed the issue by setting the following INIT command
on each and every Oracle connection:
alter session set NLS_NUMERIC_CHARACTERS='.,'
But we believe the right solution would be to reset SAP MII / NW to the
default (American) so it would not be tampering with the NLS - and to
hinder further undiscovered side effects of the changed NLS.
How do we do change the NW/MII NLS globally?
Steps for Reconstruction
SELECT * FROM v$nls_parameters
Old MII 11.5 connections displays:
NLS_LANGUAGE AMERICAN
NLS_NUMERIC_CHARACTERS .,
etc.
Our MII 12.2 displays:
NLS_LANGUAGE DANISH
NLS_NUMERIC_CHARACTERS ,.
[work arounded to:]
NLS_NUMERIC_CHARACTERS .,
Thank you Very Much!
Mogens
Pedro, thank you very much for you work-around.
It might be technically possible but not easy in our restricted environment. Also, that would require even more cumbersome changes for each DB side than the current workaround.
AND it currently works (was set to default=American) with the same DB user on the same DB from xMII 11.5 - so it is a specific change with our MII 12.2 installation.
Mike, the work-around is that we make the ALTER SESSION on each connector init command, not on each call.
But with that work-around we need to change every NLS param on every database, not just the decimals.
Otherwise, the days are still translated to MANdag instead of MONday etc. which we don't want.
Similar Messages
-
Java.sql.SQLException: invalid number of in_out_binds in IOV
We're upgrading our platform from WL 4.51 SP14 to WL 6.0 SP2., Sun Solaris 2.6
and JDK 1.3.1.
We use oracle thin driver 8.1.6 (Type 4) for connecting to ORACLE database. We're
encountering the following error message while executing a stored procedure. This
error occurs very intermittently. I've looked at one of the news group threads
and I've noticed that someone referring to patch CR04274_60.jar which had addressed
this kind of a problem. Pl let advise us if that is correct or not. If true, pl
let's know how we can get hold of this patch.
===================================================
java.sql.SQLException: invalid number of in_out_binds in IOV
====================================================
Thanks
Ravi GarikipatiYou are hitting a bug 11672797 (more detail: http://java.net/jira/browse/ADFEMG-83).
As a workaround you have to change the data type to oracle.jbo.domain.Number in your EO or VO if they VO is not based on a EO.
Timo -
I've transferred my Itunes Media Library to a NAS drive, and pointed Itunes (using the advanced preferences tab) to the relevant folder on the NAS drive. I have done this to free up disk space on a computer I primarily use for work but which I use both at home and at work. The NAS drive is at home. (To clarify, I am not expecting Itunes to function at work, only at home when access to the NAS drive is available).
Under certain circumstances Itunes will start-up at work and when it does it will create the folder structure for the Itunes Media Library in the default location (on the local drive) instead of looking for the location I have specified (the NAS drive) which it should not be able to find when I am at work and telling me that it can't find it (which would be fine).
How do I stop Itunes from recreating the default folder structure and defaulting the file path to the standard media library location on my local drive? Every time this happens I have to re-point Itunes to the NAS drive location, which often requires me to reconsolicate libraries which is tedious and time consuming. It seems that in the process of one of these consolidations I have lost some of the media files. They are still in the library (ie. visible in the Itunes window) but Itunes can't find the media associated with that file - identifying them with an excamation mark "!".
Any help with this would be appreciated, as I have read several forums and threads, and despite trying several different approaches I have been unable to address the problem, which appears to be exacerbated by the laptop being remote from the NAS drive.angelofromnsw wrote:
Can I put the ".itl" and other database files on the NAS, and if so where would I put them? I'm thinking that if the library file is only available at home then the ITunes library won't get corrupted at work when it can't find the media, in the event that I accidentally start up itunes eg. while opening an attachment or disc that can be read by Itunes.
iTunes will start up and you will have an empty library.
Can I put the ".itl" and other database files on the NAS, and if so where would I put them?
Yes.
Quit iTunes.
Copy the /Music/iTunes/ folder on the NAS.
Move the /iTunes media/ folder currently on the NAS into the /iTunes/ folder you just copied to the NAS.
Hold Option, launch iTunes, select Choose library... and select the iTunes folder on the NAS.
You can delete /Music/iTunes/ folder on the internal drive.
If you launch iTunes while NOT comnnected to the NAS, iTunes will recreate the /Music/iTunes/ folder and you will have an empty library.
WHen you are again connected to the NAS, just do step 4 above.
Do you know what the advantages and disadvantages are of having the database files like the ".itl" files stored locally versus on the NAS?
Keeping everyhing together inside the iTunes folder makes it "cleaner" and simpler to manage everything. -
Separate database instead of local
I want to use completely separate database in CAF instead of local database of the SAP WAS. Can it be achieved somehow through configuration or minimal programming?
Hi,
If i am getting it correct you asking for the area we are using DATASOURCE name.
public static final String DATASOURCENAME="jdbc/MYSQLDB_DS1_ALIAS1";
Context ctx=null;
try{
ctx=new InitialContext();
ds=(DataSource)ctx.lookup(DATASOURCENAME);
catch(NamingException ne){
PatentLogger.getInstance().logException(CLASSNAME,"DAOFactory()",ne);
This in your class for connecting to DB.
Regards,
Srinivasan Subbiah -
Iphone mail (ios6) replies from default account instead of alias recipient
Hi.
Since upgrading to ios6, iphone mail replies from my default account instead of the alias address that the email was originally sent to.
Prior to this upgrade, iphone mail would reply to the address that the email was sent to.
All alias addresses are present, and i can change teh sent from address to the alias manually.
If i reply to the same email from icloud.com, the email is sent from the alias address it was sent to, not the default account.
I tried turning mail off and back on, but the problem remains.
Please let me know if there is a new setting i have to look for, or if anyone else has solved this problem.
Thanks.I have a similar problem, and was about to start a discussion on it when I saw your post. I'm assuming that you're using iCloud, like me.
Things changed in iOS 6 regarding Mail settings, but I still think the behaviour you and I are seeing should be considered a bug. Under Settings > Mail, Contacts, Calendars > iCloud > Account > Mail, you should see that there's a new setting that allows you to:
Choose a default address to use when sending from your iCloud account.
To confirm that you and I are experiencing the same problem, can I ask you to confirm that the default address chosen here is the default address that is being erroneously used as the "From:" address when replying to emails sent to aliases? If it is, you should probably make doubly sure that this setting is the cause of the behaviour you're seeing by changing it to one of the aliases you've created, and seeing whether this becomes the "From:" address for new replies.
Please post back with the results of this, and we can go from there. If you're seeing this behaviour too I think I'll report it as a bug to Apple. -
Why does my calender reset to gmt instead of local time?
my calendar on my iPhone (5s, 8.0.2) resets to gmt instead of local time. This started after I upgraded to ios8
time zone override is offMake sure your settings are correct:
http://help.apple.com/iphone/8/#/iph3d11102c -
Hi,
could please help me of the folloing issue
i have set up the firefox is default browser in my local system.
issue with only .html type files not with .doc .... etc.
my application requirement is to view the attached document if set Content-Disposition as "attachement" then open the dialog box with open or save radio options then if i select the open option data getting as junk data not the actual data.
if set Content-Disposition as "inline"' then file open in same accessing browser with proper data.
Note
i am using following piece of code in my application
response.setHeader("Content-Disposition", "attachment;filename=\""
+ fileName + "\"");
actual my case is :
some where in my application i copy/paste the data from ms-word
then it saved as .html file after that when i want to see the data, then click on the attachment it opens dialog box, here i am selecting open option then it opens in my default browser "firefox" with junk data .
please observe the following junk data,Hi 20fox12, this is most likely an IE problem. Firefox has no effect on any other installed applications. Unfortunately I have no idea what to do about your issue. I'd suggest a forum that is more tuned towards Windows issues.
-
AD as Portal's default authentication instead of OID
Can we use Microsoft Active Directory as Oracle Portal's default authentication instead of Oracle Internet Directory?
ThanksYes absolutely. You need to configure "external authentication" plug-in to do that.
http://www.dailydba.com/2008/09/oracle-e-business-suite-login.html
Kindly look at the above architecture diagram. -
How to sql server port number to scom inventory
can some one help me how to add sql server port number to scom inventory
To open a port in the Windows firewall for TCP access
On the
Start menu, click Run, type WF.msc, and then click
OK.
In the
Windows Firewall with Advanced Security, in the left pane, right-click
Inbound Rules, and then click New Rule in the action pane (upper right corner).
In the Rule Type dialog box, select
Port, and then click Next.
In the Protocol and Ports dialog box, select
TCP. Select Specific local ports, and then type the port number of the instance of the Database Engine, In my case we are using the default which is
1433. Click Next.
In the Action dialog box, select
Allow the connection, and then click Next.
In the Profile dialog box, I am going to Leave
Domain turned on and turn private and public off. Then click
Next.
In the Name dialog box, type "Allow SQL 1433 Inbound” and for a description I am putting in the same. Then click
Finish.
Also you can refer below link
http://blogs.technet.com/b/danstolts/archive/2011/06/08/how-to-open-firewall-port-1433-for-sql-server-database-engine-for-use-with-scom-or-anything-else.aspx
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer" -
Hi all,
In the middle of the last week for my final year project and having to convert to an Oracle database due to compatibility problems with university Tomcat Server and MS Access. I'm having trouble connecting to the Oracle database and would appreciate some help please.
Running on Windows 98 in the lab here, and the Oracle 9i, release 9.2.0.2.0, J2SDK1.4.0, Classes12.zip installed OK.
Code for connection looks like this inside the constructor of my class:
Class.forName("oracle.jdbc.driver.OracleDriver");
cardSaleConnexion = DriverManager.getConnection("jdbc:oracle:[email protected]:1521:sid","user_name","pwdt");
System.out.println("Connection Successful ");
And I'm getting the following error when calling the constructor in a driver program:
java.sql.SQLException: Invalid Oracle URL specified
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:188)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at CardSale.<init>(CardSale.java:30)
at Driver.main(Driver.java:11)
Exception in thread "main"
Please reply on a very urgent basis.
Kind regards,
PeterTry ojdbc14.jar as the JDBC driver instead of classes12.zip.
Refer:
http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html
http://docs.sun.com/source/817-5603-10/index.html
Database Driver
This section describes the known database driver issues and associated solutions.
ID Summary
4700531 On Solaris, an ORACLE JDBC driver error occurs.
This new Java Database Connectivity (JDBC) driver is for Oracle (R) working with JDK1.4. The problem is caused by a combination of the Oracle 9.1 database and ojdbc14.jar. Applying the patch will fix the problem on Solaris 32-bit machine, running an Oracle 9.0.1.3 database.
Solution
Obtain and apply the patch to your server from the Oracle Web site for Bug 2199718. Perform the following steps:
1.��Go to the Oracle web site.
2.��Click the 'patches' button.
3.��Type 2199718 in the patch number field.
4.��Click the 32-bit Solaris OS patch.Go to Metalink.oracle.com.
5.��Click patches.
6.��Under patch number, enter 2199718.
7.��Click the 32 bit Solaris OS patch.
4707531 On Solaris, accessing an Oracle 9.1 database with an Oracle 9.2 Client may cause data corruption.
If you use an Oracle (R) 9.2 client to access an Oracle 9.1 database, data corruption might occur when a number column follows a timestamp column.
The problem might be caused by using the ojdbc14.jar file with an Oracle 9.1 database. Applying the patch might assist in addressing the situation on Solaris 32-bit machines, running an Oracle 9.1 database. This JDBC driver is for Oracle working with JDK1.4.
Solution
Obtain the patch that Oracle might make available from the Oracle web site for Bug 2199718 and apply it to your server.
Regards,
Pankaj D. -
"ORA-1722 Invalid number" error while runing a SQL script in SQL*Plus
Hello,
I created a SQL script that is intended to populate tables with
baseline data. When I run the script in the SQL*Plus program
that comes with the Oracle 8.1.6 (client), I receive an "ORA-
1722 Invalid number".
The error always occurs when SQL*Plus tries to execute the
following SQL statement:
insert into components(db_ind,module_id,ext_compid,active) values
('cm',modules_seq.currval,1046682,'y');
The datatypes for the columns on the components table are as
follows:
db_ind varchar2(2);
module_id number;
ext_compid number;
active varchar2(1);
It seems that for some reason Oracle is having trouble
recognizing 1046682 as a number.
I also tried the following INSERT statements to see if that
would work:
insert into components(db_ind,module_id,ext_compid,active) values
('cm',modules_seq.currval,to_number('1046682'),'y');
insert into components(db_ind,module_id,ext_compid,active) values
('cm',modules_seq.currval,'1046682','y');
but I still receive the same error message
Is there some NLS setting(s) I need to modify so that Oracle
does not give me this error? Does anyone know the answer to
this problem?
Your help is greatly appreciated.
Oscar
(NOTE: I also receive this same error when trying run the
script in SQL Navigator and Toad programs)Please see the following docs.
R12: JBO-27122 Error Message Clicking On Supplier Accounting Link With Unexpected Error [ID 1218903.1]
Supplier Management Accounting Link Gives Unexpected Error and JBO-27122 at SELECT * FROM (select pvsa.ADDRESS_STYLE [ID 1340655.1]
Adding Accounting Information or Operating Unit Information fails with APP-FND-1564: ORACLE error 1722 in FDFGVD [ID 364265.1]
Thanks,
Hussein -
SQL Query - The number of columns specified in "SQL Query" does not match t
I am creating new UDM for tablespace alert, below is my query,however its failing with error
SQL Query - The number of columns specified in "SQL Query" does not match the value specified in "SQL Query Output"
I selected Metric type is number
SQL Query Format : Two columns
Query:
SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2)
used_pct FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
Any clues why i am getting error.SQL> SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2) used_pct
2 FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
3 WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
4 AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
TABLESPACE_NAME USED_PCT
MGMT_TABLESPACE .82
SYSAUX 1.52
UNDOTBS1 .32
RMAN .02
CORRUPT_TS 10.63
USERS 0
SYSTEM 2.26
MGMT_ECM_DEPOT_TS .04
MGMT_AD4J_TS 0 -
Java.sql.SQLexception: Invalid character encountered in: failAL32UTF8Conv
I have an Oracle 9i database set to use NLS_CHARACTERSET - AL32UTF8. This database is running on a LINUX server with LANG=en_US.UTF-8. The final piece is an application running on WebLogic. Until recently, I had no problems. Now I receive "invalid character" errors on the WebLogic console when trying to create users via the application using the letters f, o, and r. Does anyone know what direction to look in to resolve this problem? The JDBC driver should be using UTF-8 by default and I am not sure where else to look.
The exact error we are getting is:
java.sql.SQLexception: Invalid character encountered in: failAL32UTF8Conv
I noticed on this forum someone else who had this problem was told to update to the latest Oracle thin driver. We are already using the latest ojdbc14.zip. Do you have any suggestions beyond that?
FYI - We are running BEA WebLogic Server 8.1.Fee fee wrote:
I encounter the following error while I establish connection with my Oracle 9.2.0.1.0
DB server. DB is now using ATL32UTF8 and national character as UTF16.
I see somebody encounter this error before. Any idea ???Hi. You should download and use Oracle's latest thin driver, as opposed to the
driver we ship with our product. The shipped one was the best there was at the time
but oracle has since fixed other bugs, and this may be one.
Joe
>
>
Cheers,
Feefee
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@22926e]
DriverManager.getDriver("jdbc:oracle:thin:@192.168.9.180:1521:cchs")
trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@22926e]
getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@22926e]
SQLException: SQLState(null) vendor code(17055)
java.sql.SQLException: Invalid character encountered in: failAL32UTF8Conv
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1130)
at oracle.jdbc.dbaccess.DBConversion.failAL32UTF8Conv(DBConversion.java:2762)
at oracle.jdbc.dbaccess.DBConversion.javaCharsToAL32UTF8Bytes(DBConversion.java:2678)
at oracle.jdbc.dbaccess.DBConversion.stringToAL32UTF8Bytes(DBConversion.java:2624)
at oracle.jdbc.dbaccess.DBConversion.stringToAccessCharBytes(DBConversion.java:391)
at oracle.jdbc.dbaccess.DBConversion.StringToCharBytes(DBConversion.java:456)
at oracle.jdbc.ttc7.O3log.setSessionFields(O3log.java:796)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:124)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:256) -
(java.sql.SQLException) Invalid column type
On Jdeveloper 11.1.2 on Windows7 64b
I got this table :
create table entry
(entry_id number(32) not null,
entry_class_id varchar2(5) not null,
notes varchar2(200) not null,
active varchar2(1) default 'Y' not null,
interface varchar2(1) default 'N' not null,
total_debit number(32,2) default 0 not null,
total_credit number(32,2) default 0 not null,
created_on date not null,
created_by varchar2(30) not null,
voided_notes varchar2(200) null,
voided_on date null,
voided_by varchar2(30) null
Jdev map this table like This:
EntryId BigInteger
EntryClassId String
Notes String
Active String
Interface1 String
TotalDebit BigDecimal
TotalCredit BigDecimal
CreatedOn Timestamp
CreatedBy String
VoidedNotes String
VoidedOn Timestamp
VoidedBy String
Running ADF model Tester I got the Error (java.sql.SQLException) Invalid column type. traying to Insert a Row. I used date insted of timestamp getting the same error. Any Ideas?
thank youoracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO ENTRY(ENTRY_ID,ENTRY_CLASS_ID,NOTES,ACTIVE,INTERFACE,TOTAL_DEBIT,TOTAL_CREDIT,CREATED_ON,CREATED_BY) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9)".
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:581)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8494)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6751)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11169)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10518)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11574)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11544)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:249)
at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2031)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10424)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:415)
... 52 more
## Detail 0 ##
java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11169)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10518)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11574)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11544)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:249)
at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2031)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10424)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:415)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8494)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6751)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -
I am working on SQLJ for EJB-CMP on websphere 5.1. I can successfully run insert methods. But when i run find method to get the objects. I got the runtime exception as follows:
The stacktrace is:
java.sql.SQLException: Invalid column type: getInt not implemented for class oracle.jdbc.driver.T4CRowidAccessor
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
at oracle.jdbc.driver.Accessor.unimpl(Accessor.java:387)
at oracle.jdbc.driver.Accessor.getInt(Accessor.java:497)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:489)
at oracle.jdbc.driver.UpdatableResultSet.getInt(UpdatableResultSet.java:437)
at com.ibm.ws.rsadapter.cci.WSRdbResultSetImpl.getInt(WSRdbResultSetImpl.java:1831)
at com.ibm.ws.ejbpersistence.dataaccess.RawBeanData.getInt(Unknown Source)
at com.hsbc.fxg.esd.persister.websphere_deploy.ORACLE_V9_1.FXDealPersisterBeanExtractor_6847a04c.extractPrimaryKey(FXDealPersisterBeanExtractor_6847a04c.java:52)
at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionImpl.processSingleRow(Unknown Source)
at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionImpl.processRow(Unknown Source)
at com.ibm.ws.ejbpersistence.dataaccess.AbstractResultCollection.get(Unknown Source)
at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionIteratorImpl.next(Unknown Source)
at com.ibm.ejs.container.finder.FinderResultServerImpl.nextPrimaryKey(FinderResultServerImpl.java:883)
at com.ibm.ejs.container.finder.FinderResultServerImpl.getWrapperBase(FinderResultServerImpl.java:525)
at com.ibm.ejs.container.finder.FinderResultServerImpl.getAllWrapperCollection(FinderResultServerImpl.java:772)
at com.ibm.ejs.container.finder.FinderResultFactory.finderResultCollection_Common(FinderResultFactory.java:192)
at com.ibm.ejs.container.finder.FinderResultFactory.getCMP20FinderResultCollection(FinderResultFactory.java:80)
at com.ibm.ejs.container.EJSHome.getCMP20Collection(EJSHome.java:2851)
at com.hsbc.fxg.esd.persister.EJSCMPFXDealPersisterHomeBean_6847a04c.findByStatus(EJSCMPFXDealPersisterHomeBean_6847a04c.java:196)
at com.hsbc.fxg.esd.persister.EJSRemoteCMPFXDealPersisterHome_6847a04c.findByStatus(EJSRemoteCMPFXDealPersisterHome_6847a04c.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.CORBA.iiop.ClientDelegate$3.run(ClientDelegate.java:1140)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1138)
at $Proxy0.findByStatus(Unknown Source)
at com.hsbc.fxg.esd.persister._FXDealPersisterHome_Stub.findByStatus(_FXDealPersisterHome_Stub.java:438)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
I am using oracle version 10g. And Jpub 10.2 as the translator. How can i solve this problems? thxLooking at your trace, I assume you're trying to access ROWID or something like that, which is NOT Integer. If it is just ROWID, you should probably get it as string, if it just some NUMBER, you may try to access it as Long or BigDecimal instead. Or, if nothing helps, try to get this field valus as string also.
Maybe you are looking for
-
My iphone was stolen and we actually recovered it using the find my iphone app! Is there a way I can tell what the thief might have looked at in the interim? I know about hitting the home button twice to see recently used apps, but what if they then
-
Problem with checking file existence by using app.openDoc
Hi Folks, I have to create a script for a big project with many PDF's. (Just like Ingrimm - it's the same company http://forums.adobe.com/thread/747022?tstart=0) This PDF's are made of scanned images. I need to rename the files to names that are extr
-
Manually refreshing TGT leads to "Message stream modified" error
We wish to use Kerberos to implement application authentication without needing username/password. We have code which gets the TGT and can get other tickets from that, and those tickets can successfully be used with LDAP to make queries. However, the
-
Hi guys i have created simple pie chart and it is showing values in % but i want true values to be shown...... i know i need to change SliceLabel textType="LD_TEXT_PERCENT" to SliceLabel textType="LD_VALUE" but i don't know where i need to write this
-
Product: Java X Update X.. removal failed or error status 1602
Hi Managing several different environments I repeatedly run into the same error on "to many" computers. We use SCCM as our primary distribution tool and install Java using the embedded MSI and a custom made MST. End user platform is: Windows XP and/o