SQLDev 3.1: Number-Fields in tables show "oracle.sql.NUMBER@..."
Hello all,
Windows XP SP 3 32 bit
Java(TM) Platform 1.6.0_11
Oracle IDE 3.1.07.42
Versioning Support 3.1.07.42
Installed SQL Developer 3.1.07.42 in a fresh directory. Imported Connections from SQL Dev. 3.0. Connected to a 9i/11g-database and did a select on an ordinary table in the worksheet. Get an error in the Logging Page - Log Window:
Source: oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer
Message: oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:28)
All NUMBER-Fileds are displayed with "oracle.sql.NUMBER@...", for example "oracle.sql.NUMBER@lb5889c". And everytime i select a field in this table the Logging-Page grows (actually 3674 entries). And it's regardless which table i select. This error occurs also in the table-data-grid.
Can you help?
Thank you
Markus
Hi Markus,
I usually download SQL Developer without the JDK, so I had to download sqldeveloper-3.1.07.42.zip to verify. Yes, in fact tzmappings and the zi are there, both when inspecting the archive and after performing unzip.
Something must have gone wrong with your download/unzip. Looking at various Java JDKs I have installed, or the Java that comes with Oracle 11.2.0.1, all have tzmappings and the zi directory. The file timestamps and the number of files in the zi directory may vary, but it should always be there in some form.
Regards,
Gary
SQL Developer Team
Similar Messages
-
Hi,
I want Serial number field and table,
Scenario like this,for returnable packging material we have assigned serial numbers,mtrl type is LEIH,so for tracking of RTP material now we are going to Develop one Report for this i need ur Help.
Logic is:1)Matrl doc at the time of Delievery.
Qty,Posting Date,Customer,Mvt type,Serial numbers for all.
Beacause at the time of Del we are mentioned all serial numbrs.
2)Material Document at the time of GI.
Same field as mentioned as above.
After that,3)System is to Calculate How many Matrl are deliever to Custmer upto current Period.Say 10.
4)Calculte How many Matrl are Recieved from the Custmer upto current period.say 5
5)Del - Issue=Total Number of Material is in Customer side.Say 5
6)According to the Serial Number wise system has to calculate in which month delieverred matrl is in still customer side.
(Ex PGI date 20.02.2007 3 qty
Serial Number 1,2,3
Issue date 20.03.2007 2 qty
Serial Number 2,3
Serial number 1 still is in Customer side.
Age is 2 month)
I am giving simple ex.
so pls any body is having this idea pls Shared with me.
Thanks
RaghuHi Raghu,
Check table SER01(Document Header for Serial Numbers for Delivery).
OBJK is the object table and you will have SERNR as serial number in this table.
check table EQUI
EQUI -SERGE
EQUI-GERNR.
EQUI-SERGE is Manufacturer serial number.chk if this is the one u r looking for.
MARC-SERNP.
key in plant and material in this table to fetch the Serial number profile of the material.
Check in IKPF AND ISEG Tables... ( inventory )
MSEG~EQUNR
Hope it will hep u
Regards
Hareesha -
How to get all tables in oracle sql developer with MS SQLServer
Hi All,
I am using microsoft SQL server 2000. For displaying the tables and other stuff i am using oracle SQL developer tool. The problem is when i connect to sql developer with oracle database i can see all the tables in that database. But when i connect to MS SQL server database it is not showing all the tables in that database. I don't know why?.
i tried doing the samething using another tool called Aqua Data Studio , there i can able to see all the tables in microsoft SQL server 2000.
do you have any knowledge regarding this, why i am not getting all the tables in oracle sql developer when i connect to microsoft SQL server 2000.Same issue here. Haven't found the answer yet..
-
How to use a Sybase table in Oracle SQL statement?
How to use a Sybase table in Oracle SQL statement?
Sybase version : 11.9.2.4
Oracle version : 10.2.05
Thanks.user12088323 wrote:
How to use a Sybase table in Oracle SQL statement?
Sybase version : 11.9.2.4
Oracle version : 10.2.05
Thanks.Any Oracle client connected to the Oracle database can access Sybase data through the <font style="background-color: #FFFFCC">Database Gateway for Sybase</font> (it requires an additional license) or the <font style="background-color: #FFFFCC">Database gateway for ODBC</font> (it's free).
The Oracle client and the Oracle database can reside on different machines. The gateway accepts connections only from the Oracle database.
A connection to the gateway is established through a database link when it is first used in an Oracle session. In this context, a connection refers to the connection between the Oracle database and the gateway. The connection remains established until the Oracle session ends. Another session or user can access the same database link and get a distinct connection to the gateway and Sybase database.
Database links are active for the duration of a gateway session. If you want to close a database link during a session, you can do so with the ALTER SESSION statement.
To access the Sybase server, you must create a <font style="background-color: #FFFFCC">database link</font>. A public database link is the most common of database links.
SQL> CREATE PUBLIC DATABASE LINK dblink CONNECT TO
2 "user" IDENTIFIED BY "password" USING 'tns_name_entry';
--dblink is the complete database link name.
--tns_name_entry specifies the Oracle Net connect descriptor specified in the tnsnames.ora file that identifies the gatewayAfter the database link is created you can verify the connection to the Sybase database, as follows:
SQL> SELECT * FROM DUAL@dblink;
Configuring Oracle Database Gateway for Sybase
<font style="background-color: #FFFFCC">{message:id=10649126}</font> -
Issue with Oracle.sql.NUMBER in Java Stored Procedure
When we try to make a call to the Oracle.sql.NUMBER(String) inside a java stored procedure and pass values from '01' to '09', it throws java.lang.StringIndexOutOfBoundsException: String index out of range: 3
We use Oracle 9.2.0.6 - JServer Release 9.2.0.6.0.
It works fine for other values. Please find below the code used for simulating the issue outside the application. Thanks.
create or replace and compile java source named testNumber as
import oracle.sql.NUMBER;
import java.sql.SQLException;
public class TestNumber
public static String convertNumber(String parm) {
NUMBER nTest;
try {
nTest = new NUMBER(parm);
return "TRUE";
}catch (SQLException sqle) {
return "FALSE";
create or replace function test_number (p_str in varchar2) return varchar2 as
language Java name 'TestNumber.convertNumber(java.lang.String) return
java.lang.String';
select test_number('05') from dual; - Throws exception ORA-29532: Java call terminated by uncaught Java exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 3
select test_number('5') from dual; - Works fine
select test_number('010') from dual; - Works fineSiva,
I'm only guessing, but it could be an Oracle bug, in which case I suggest checking with Oracle Support.
(You do have a support contract, don't you? ;-)
Did you try compiling and running your java class "TestNumber" outside the database?
Class "oracle.sql.NUMBER" should be in Oracle's JDBC driver, I believe.
Good Luck,
Avi. -
How to display oracl.sql.NUMBER in the debugger?
Hi,
I would like to use oracle.sql.NUMBER for various reasons.
Unfortunately, I found no way to display in the JDev debugger
the actual VALUE that is represented by an oracle.sql.NUMBER object.
Is this really not possible or am I missing something here?
Thanks for any hints.
MarcelHi Steven,
I get the following warnings and errors if I use oracle.jbo.domain.Number
in a SQLJ-Class (using JDev 3.1.1.2):
Warning: (39) Invalid CustomDatum implementation in oracle.jbo.domain.Number:
missing the factory method getFactory.
Error: (39) Nicht unterst|tzter Java-Typ f|r Host-Element SeqNr (bei Position #1):
oracle.jbo.domain.Number..
Error: (66) Nicht unterst|tzter Java-Typ f|r Host-Element SeqNr (bei Position #1):
oracle.jbo.domain.Number..
I translate the last two error-messages to english:
Unsupported Java-type for host item SeqNr (at Position #1)
So now I am caught, I can't debug with oracle.sql.NUMBER, and I can't compile
with oracle.jbo.domain.Number.
Anyway, could you please convince the JDev-debugger team that the oracle.sql.NUMBER
needs to be displayed in the debugger as nice as its jbo twin. Without this
capability, this class is (at least for me) nearly useless.
Thank you for your support.
Marcel -
Tomcat: java.lang.NoClassDefFoundError: oracle/sql/NUMBER
hi,
i have managed to come this far with my "simple" webapplication under tomcat.
the exception is:
java.lang.NoClassDefFoundError: oracle/sql/NUMBER
since i have tried to put the classes12.jar in every reasonable directory without effect, i have to bother this forum. does anyone know "where the dog is burried"(german saying)?
greetz
Selim KeserHi yves,
This class is in the jdev_home/jdbc.lib/ojdbc14.jar.
But prior to deploying your ADF application, did you install the ADF runtime libraries to Tomact as explained here?:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=j2ee_ptomcatdeploy_html
Thanks
Prasanth -
MIGO tr Serial number field and table?
Hi guys,
can anybody tell me how to find the field name and table for Serial number in MIGO tr Code?
in MIGO the Serial number field and Structure are GOSERIAL-SERIALNO.but i was not able to find the Actucal Field name and table where i can get the values based on PO and Asset Number's?
Thanks,
Gopi.Hello,
I'm looking at the same problem here. I found the table SER03 in which you can enter the the material document. This returns 1 line in this table and from this one you need the OBKNR element
You can copy this data and paste it into table OBJK element OBKNR and this returns all serialnumbers for the relevant material document.
My problem is that i can't get these items on the sapscript. (WESCHEINVERS 1,2 or 3)
Greetings
Edited by: Lode Vandecruys on Apr 9, 2008 11:04 AM
Edited by: Lode Vandecruys on Apr 9, 2008 11:09 AM -
Invoice number field in Table BSEG..
I have the accouting document no.I want to find out the invoice no.Which field in BSEG table is invoice no.??
Hi,
In BSEG you don't find Invoice number. You can see the purchasing document number.
BSEG- EBELN
Invoice number in BKPF table. As suggested by other frined .
BKPF -AWKEY (Invoice number+Year).
Regards,
Chandra -
Get FI Documet number from BKPF table using CO document number in COVP tabl
Hi,
In datasource 0CO_OM_CCA_9 , we have written a code in CMOD to get the FI Document Number from CO document Number.
The flow of code is:
1) From the CO document number, get reference document number (REFBNfield) from, COVP table
2) Pass this REFBN in AWKEY(10) field of BKPF table.
3) We have created new field in datasource named 'ZBELRE' which gets populated with BELNR field obtained from BKPF table.
This ZBELNR is the FI Document number.
But somehow wrong FI Document number is getting populated.
After analyzing code, we found that the AWKEY which we passed in BKPF table is incomplete and the full AWKEY is
COVP-REFBN+COVP-AWORG
Is this condition always remains true in all the cases? Also, is the selection criterion which we have used to find the FI document number from BKPF table is sufficient?
Our CO Consultant says that we should also pass AWTYP along with AWKEY in BKPF table.
Please suggest a solution.
Following is the code :
***********Datasource Modification for0CO_OM_CCA_9*******************
WHEN '0CO_OM_CCA_9'." Data Source
TYPES:BEGIN OF ty_bkpf,
belnr TYPE bkpf-belnr,
xblnr TYPE bkpf-xblnr,
bktxt TYPE bkpf-bktxt,
awkey TYPE bkpf-awkey,
bukrs TYPE bkpf-bukrs,
gjahr TYPE bkpf-gjahr,
END OF ty_bkpf.
TYPES : BEGIN OF ty_bseg1,
lifnr TYPE bseg-lifnr,
belnr TYPE bseg-belnr,
bukrs TYPE bseg-bukrs,
gjahr TYPE bseg-gjahr,
END OF ty_bseg1.
DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf,
wa_bkpf TYPE ty_bkpf,
it_bseg1 TYPE STANDARD TABLE OF ty_bseg1,
wa_bseg1 TYPE ty_bseg1,
l_s_icctrcsta1 TYPE icctrcsta1.
"Extract structure for Datasoure 0co_om_cca_9.
DATA: l_awkey TYPE bkpf-awkey.
DATA: l_gjahr1 TYPE gjahr.
DATA: len TYPE i,
l_cnt TYPE i.
l_cnt = 10.
SELECT lifnr
belnr
bukrs
gjahr
FROM bseg
INTO TABLE it_bseg1.
DELETE ADJACENT DUPLICATES FROM it_bseg1 COMPARING belnr gjahr .
SELECT belnr
xblnr
bktxt
awkey
bukrs
gjahr
FROM bkpf
INTO TABLE it_bkpf.
IF sy-subrc EQ 0.
CLEAR: l_s_icctrcsta1,
wa_bkpf,
l_awkey,
wa_bseg1.
LOOP AT c_t_data INTO l_s_icctrcsta1.
MOVE l_s_icctrcsta1-fiscper(4) TO l_gjahr1.
READ TABLE it_bkpf INTO wa_bkpf WITH KEY awkey(10) =
l_s_icctrcsta1-refbn
gjahr = l_gjahr1.
IF sy-subrc EQ 0.
MOVE wa_bkpf-belnr TO l_s_icctrcsta1-zzbelnr.
MOVE wa_bkpf-xblnr TO l_s_icctrcsta1-zzxblnr.
MOVE wa_bkpf-bktxt TO l_s_icctrcsta1-zzbktxt.
MODIFY c_t_data FROM l_s_icctrcsta1.
READ TABLE it_bseg1 INTO wa_bseg1
WITH KEY
belnr = wa_bkpf-belnr
bukrs = wa_bkpf-bukrs
gjahr = wa_bkpf-gjahr.
IF sy-subrc EQ 0.
MOVE wa_bseg1-lifnr TO l_s_icctrcsta1-lifnr.
MODIFY c_t_data FROM l_s_icctrcsta1.
CLEAR: l_s_icctrcsta1,
wa_bseg1,
l_gjahr1.
ENDIF.
ENDIF.
CLEAR: l_s_icctrcsta1.
ENDLOOP.
ENDIF.
***End of Datasource Modification for 0CO_OM_CCA_9*******************Hi,
this forum is for the SAP BusinessObjects BI Solution Architecture. Please post your question into the corresponding product forum for SPA BW
regards
Ingo Hilgefort -
I've had my old O2 number transferred to my new iphone 4s on 3. my facetime and imessage show my transferred number but in the phone settings its still showing as the number that came with the phone.
When i message someone it seems to be showing as either one or the other if its a text conversation its converting from one to the other then back again. Also on imessage its reverted to using my email address.
Does anyone know how to make it so that everything is showing the correct number. i have turned both facetime/imessage off, turned my phone off and on again turned facetime/imessage back on again which sorted the numbers showing on them. But in phone settings thats not done the trick.
Please Help!!!When you go to Settings>Phone, what shows as your phone number? Is the temporary number you describe there or your regular phone number? You should be able to set it there. I don't know if there is a new place for setting anything associated with iMessage. I cannot find any reference in the iOS 5 manual regarding changing settings.
-
Field and table for PO item number in Invoice(MIR4)
I have 6lines in PO and when I looked at MIR4 (the invoice) .It has only 3 lines which are invoiced.
In mir4, we have a column which says which lines got invoiced for me 2, 3 and 5. Is there any table which will hold this fields data for invoiced lines.
That field is called " Item Number of Purchasing Document".
Please helpHi,
For MIR4, table and field is RSEG-EBELP.
Cheers ! -
How to get date from html form through php to show table from oracle sql
I have a form method post.Also an input date like input date (html 5,the one that picks the date from a window below)
I want to take the date the user inputs and use it in a php which contains a contains a select statement that is like that $stid = DBExecute($conn, "select customer_name,product_name,order_date,quantity and ends like this.. and order_date>='".$_POST['date']."'");
Then i have echo "<table....
And while ($row = oci_fetch_array($stid, OCI_ASSOC)) {......
But I have a problem on that. No results shown. Why?
Does anybody know to help me?
What value the date input gives in HTML5 and in which format? How can i fix that?There's not enough info posted to help. Do some googling. Do some debugging - add some 'var_dump' calls in PHP to check everything
e.g. var_dump($_POST);
And never, ever, ever do concatenation like you do with $_POST to build up a query string. This is a major "SQL Injection" security risk.
instead, use an OCI8 bind variable. See PHP: OCI8 - Manual -
I purchased Acrobat Pro and cannot open the program. It says that my subscription has expired. What can I do.
You don't have a serial number with a subscription. You have to sign in instead. Once you are signed in, it will be able to check what subscriptions are active.
-
How to get a week number for the year using oracle sql query?
hi everyone,
i have the requirement to find the week number for the calender..
so that week number should start with 01 when the year starts and it should end with week end date(that is first saturday of the january month).. so next week number starts with sunday and ends with saturday ,continously.. in the end date of the year it should not be 'saturday' but week number should end with last date of the year.. again in the next year it should start with '01'.
for example:
01-JAN-13 tuesday 01
02-JAN-13 wednesday 01
03-JAN-13 thursday 01
04-JAN-13 friday 01
05-JAN-13 saturday 01
06-JAN-13 sunday 02
07-JAN-13 monday 02
26-DEC-13 thursday 52
27-DEC-13 friday 52
28-DEC-13 saturday 52
29-DEC-13 sunday 53
30-DEC-13 monday 53
31-DEC-13 tuesday 53
01-JAN-14 wednesday 01
02-JAN-14 thursday 01
how can i achieve this, can anyone please help me out on this..
i have a query that starts with 01 when year starts but it gives problem in the end of the year .. described below with a query..
select mydate,
to_char(mydate,'day') as weekday,
to_char(next_day(mydate,'sunday'),'iw') as week_num
FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
FROM dual
CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
- TRUNC (SYSDATE, 'yy')
FROM DUAL))
this query gives date, weekday and week_num for 2 years 2013 and 2014,
when i run this query ,at the end of the 2013 it gives the result as,
26-DEC-13 thursday 52
27-DEC-13 friday 52
28-DEC-13 saturday 52
29-DEC-13 sunday 01
30-DEC-13 monday 01
31-DEC-13 tuesday 01
01-JAN-14 wednesday 01
02-JAN-14 thursday 01
for dates 29 ,30,31st it should give 53 .. how can i achieve that using this this query .. can any one help me out on this please...
thanks,
pradeepI tried with the IW ...
it is giving week_id for the year.
select
mydate,
to_char(mydate,'day'),
case when mydate between trunc(mydate,'yyyy') and next_day(trunc(mydate,'yyyy'),'saturday')
then to_number(to_char(mydate,'yyyy')||to_char(trunc(mydate,'yyyy'),'iw'))
when mydate between next_day(trunc(mydate,'yyyy'),'saturday') and trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1
then to_number(to_char(mydate,'yyyy')||to_char(next_day(mydate,'sunday'),'iw'))
when mydate between trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d') and add_months(trunc(mydate,'yyyy'),12)-1
then to_number(to_char(mydate,'yyyy')||to_char(trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1,'iw')+1) end as WEEK_ID
FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
FROM dual
CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
- TRUNC (SYSDATE, 'yy')
FROM DUAL
))
Maybe you are looking for
-
How do you pass a column link value into modal dialog
Hi everyone, I've got quite a tricky problem...To spell it out: 1. I have a calendar with column links. 2. I have a (popup) report on a separate page that shows detailed information about the record selected in 1. 3. To eliminate the extra page, I've
-
Take the content of another web page...
Hi all... Is there any way make me possible to get the content of the other web page. for example, there is a governement web page(http://www.moea.gov.XX/doc-cgi/cepgA0001),used POST method with a key T2;I wanna get all of the response of the http://
-
Runtime exception with ADG when compiled with ANT
Hi, We are using Advanced Data Grid in our project and it compiles and produces a correct SWF file when compiled using the licensed FlexBuilder. This work fine for the development environment, but for the testing and staging environments we use ANT t
-
Custom tag attributes and rtexprvalue property
I have created a custom tag. In my .tld file I have added <rtexprvalue>true</rtexprvalue> for several of the tag's attributes. Now I want to be able to pass values to these attributes with the expression syntax: eg <mytagprefix:pager maxRecordCount="
-
How do I reset my Windows 10 computer to factory defaults?
QuestionHow do I reset my Windows 10 computer to factory defaults? AnswerNote: This article describes resetting a Windows 10 computer to factory defaults. You can read separate articles on performing something similar in Windows 8 or Windows 7. A sys