Trouble using getLong to get an Oracle Number(8,2) field from ResultSet

I am having trouble using getLong to get an Oracle Number(8,2) field from ResultSet. The error message starts with:
java.lang.ExceptionInInitializerError: [exception was kaffe.utilNotImplemented] at oracle.jdbc.dbaccess.DBConversion.NumberBytesToLong(....
and similar messages when I try getString, getDouble, etc. I am able to getString on the VARCHAR and DATE fields but have not been able to access the NUMBER(8,2) fields.

java.lang.ExceptionInInitializerError: [exception was
kaffe.utilNotImplemented] at
oracle.jdbc.dbaccess.DBConversion.NumberBytesToLong(...
kaffe.utilNotImplemented may be being thrown internally by your JDK.. AFAIK the Kaffe JDK is only JAVA 1.1 compatible and your driver may require JAVA 2.
Col

Similar Messages

  • Can I get the serial number of my iTouch from iTunes

    I lost my iPod touch and I don't have the serial number.  Can I get the serial number for my iPod from iTunes.

    Welcome to the Apple Community.
    If you registered it, you can get it here.
    You may need to change your country.

  • Using BC4J, Cannot Cast an Oracle Number to a java int

    Hi,
    I am using bc4j in jdev 9i, version 9.0.2.822. I have a type Row, to get the data from oracle, bc4j, and all work fine, except that I cannot
    cast or convert the number returned to an int where I can use it for other java functions.
    Is there any way to convert the number, using a wrapper or a function to do so?
    Any help is greatly appreciated.

    Use Number.intValue() method.

  • Trouble using variable to get mc property

    I'm creating a rollover effect for a collection of 12 mcs so
    that on mouseover the clip grows a little bit. This involves
    locating the x and y coordinates each clip, and to do so I've tried
    to farm the job out to a few variables and one function, so that
    the onRollOver event simply sets the variables and calls the
    function.
    It's not working. Flash seems to be implying that I can't use
    a variable (string type) to get a property -- ie. variable._x
    rather than myInstanceName._x
    Is this correct, or is my error elsewhere?
    Hope you can help.
    (By the way, there will of course be an onRollOut event as
    well. Just getting this bit to work first.)
    Thanks;
    Rick
    (Here's the code):

    When using brackets to do what you are doing can be
    frustrating if you are not aware on how to use them especially when
    you start nested movieclips. Below I have several variations on
    ways to do it and ways not to do it. I am using a variable ( i ) to
    show how it is done by dynamically referencing a movieclip. My
    rule-of-thumb are the following when using brackets ( [ ] );
    1. Encapsulate ONLY ONE movieclip with brackets.
    2. Never have a dot next to the outer left bracket.
    3. Always have a dot next to the outer right bracket when
    accessing a movieclip’s property.
    For the first part of code I have a movieclip on stage with
    an instance name of “ball3_mc”. For the second part of
    the code I have a movieclip named “ballholder_mc” that
    now contains ‘ball3_mc’ inside of it. I hope this
    helps.

  • Getting the number of rows returned from ResultSet

    Hi,
    Does anyone know a method to get the number of rows returned with a query using the Resultset class?
    Thanks.

    Hi 281080,
    If your database and JDBC driver support it, in order to use the solution that da-alexj has suggested, you need to create a 'scrollable' "ResultSet" -- the javadoc for method "createStatement()" (in class "java.sql.Connection") has more details.
    However, I have found with Oracle 8.1.7.4 database and Oracle (thin) JDBC driver, that part of their implementation of the "last()" method (in class "java.sql.ResultSet") is to actually iterate through the entire "ResultSet" in order to reach the last row. If your "ResultSet" is very large (I tested it with a 100,000 row "ResultSet"), this will take a long time.
    Just wanted to make you aware of that.
    Of-course, this may be irrelevant to you since I didn't see any mention in your post of what database and JDBC driver you are using.
    Hope this has helped you, anyway.
    Good Luck,
    Avi.

  • How to get Document type , number , part and version from mm01

    Hi ,
    Can you help me out so that i can able to get the document type , number , part ,version from mm01. Iam using exit EXIT_SAPLMGMU_001 but i was not able to get those details inside the parameters . I not able to get any values inside wmara parameter. ?
    Regards,
    Sivaganesh

    Hello Siva,
    Try with the below 2 BADI's
    BADI_MM_MATNR
    BADI_MATERIAL_CHECK
    Regards,
    TP

  • Get the Last Value of Status Field from SQL TABLE using SQL 2008

    I have a table with Fields such as
    UploadstartTime, UploadEndtime, STATUS From TBLA.
    The STATUS Field, has values =7 and 11 are failed and 12 is SUCCESS. I cannot do a max, since it will always show 12, I need to get the MAX(UPLOADENDTIME, and get STATUS For that record. How can I do that using 1 SQL Query?
    My current code is: The issue is
    select
      TBLNAME
    MaxUploadstarttime
    =
    max(UploadStartTime),
    MaxUploadEndtime
    =
    max(UpLoadEndTime),
         Status=max(status)
    from  DB.DBO.LOGTABLE
    p1

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You failed! Temporal
    data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. 
    >> I have a table with Fields such as <<
    Fields are not columns! There is no generic status in RDBMS. Putting “tbl-” in a table name is called tibbling and we make fun of people who do it (Google Phil Factor's humor columns. If you were polite is this what you wanted to post? 
    CREATE TABLE Something_Uploads
    (upload_source_name CHAR(15) NOT NULL,
     upload_start_timestamp DATETIME2(0) NOT NULL,
     PRIMARY KEY (upload_source_name, upload_start_timestamp),
     upload_end_timestamp DATETIME2(0),
     CHECK(upload_start_timestamp < upload_end_timestamp),
     upload_status INTEGER NOT NULL 
       CHECK (upload_status IN (7,11,12, ..))
    >> I cannot do a max, since it will always show 12, I need to get the MAX(UPLOADENDTIME, and get upload_status For that record [sic]. How can I do that using 1 SQL Query?  <<
    Since you told us nothing and gave no sample data, want to correct this postign? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Just got a mac air and started using it. after getting it set up i migrated files from my old pc.  i did not realize that the files migrated to a different user account.  how do i delete this user account and not lose the migrated files which i need

    I just got a mac air and set it up and started using. after getting famiiar with it i migrated my files from my old pc. i did not realise that the files migrated to a new user account.  how do i delete this user account but not lose the migrated files?

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

  • How can I get my serial number for my iPad from Apple?

    My iPad 1 was stolen and I need the serial number but the box is not available to me at this time. Does Apple have the serial number?

    Having the serial number does no good.  Apple does not attempt to track lost devices by serial number.  Of course if you are trying to fill out an insurance form for reimbursement of a stolen device, then that is another matter.  It all depends on where you bought the device.  The seller would have to have a record of the sales, one that includes the serial number.  Contact the seller.  Better still, search for your receipt.

  • When I try to watch movies on FF using Netflix I get a private browsing error preventing me from doing so even though I do not have private browsing activated/turned on. Solutions?

    When I try to play a movie on Netflix I get an error telling me that Firefox's private browsing mode is restricting Netflix from storing settings on my computer.
    The suggests were to click the Tools menu and select private browsing. My private browsing was not activated.
    Or to click the Tools menu at the top of the browser and select Options, then Privacy and then Remember history. This setting was also as it should.
    Additionally, I went into the history and made sure the permanent private browsing was unchecked and I cleared all cookies. Still Netflix is not working.
    I called Netflix and they say that everything is streaming correctly from their end and it is this computer. I can watch Netflix on other computers or my TV on this network but not this computer.
    I am at a loss at how to disengage private browsing when the private browsing does not appear to be engaged.

    I had this problem as well, just right click on the error, and click Silverlight, go to the Application Storage tab, and check enable application storage located on the bottom left corner. Your movies should play after that. If that doesn't work uninstall then reinstall Silverlight, make FF remember history and make sure application storage is enabled on Silverlight.

  • I need to get the serial number for my ipod can i find it on itunes?

    Can I get the serial number for my ipod from itunes?

    Do the following:
    Launch iTunes on your computer.
    Hold down your Control key, then on the menu bar in iTunes click iTunes>About iTunes (Mac) or Help>About iTunes(PC).
    Any previously synced devices will scroll in a pop-up window; press the space bar to stop scrolling so you can write down the serial number.

  • I NEED TO GET A PHONE NUMBER THAT I DELETED BY MISTAKE FROM MY IPHONE

    I NEED TO GET A PHONE NUMBER THAT I DELETED FROM MY IPHONE

    You can check your call logs, either on the phone or on your MyVerizon account online....

  • How do you use the windows User32.dll Library functions to read variables from other applications that are running

    I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
    User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
    various other defined input variables to access the sting.
    I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
    example Labview code showing how this might be done.
    Thanks

    If you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
    Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
    Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
    Attachments:
    AutoIt Example (v7).vi ‏25 KB

  • Pre-Hire process to get an employee number from Oracle

    Does anyone know of a solution that has been done to implement a so called Pre-hire process where you can get an initial Oracle employee number assigned before the person is actually entered into the system? For instance, if you hire someone in 2 weeks, but you use the Oracle employee number to also setup email, computers, etc. prior to them starting so that they have what they need on the first day of work. We use the Oracle employee number as our employee number to set up a multitude of things but we do not always get the person in the system soon enough to get an employee number. Can anyone shed some light on what others are doing?

    We are looking at modifying the Self-Service screens to only put in the minimum required data but we need to do a Correction the second time we go into the screen to correct the rest of the data. Has anyone done this?

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

Maybe you are looking for

  • List Tile View not working with include rule on iOS?

    hi Expert, I used the List Tile View with include rule in Agentry 6.0 on WinCE before to generate "selected" object list upon different conditions, e.g., assigning tasks based on scenarios. Currently, I am experimenting the same function on iOS table

  • Every time I charge my shuffle, my songs get deleted

    I have a first gen shuffle, every time I plug it into my comp's USB, the songs on my shuffle get deleted. It blinks orange, green, orange, green... So I have to rechoose all my songs onto my shuffle. How can I get it so that I don't have to do this e

  • Sql code error

    Hi, I am working with the Database Toolset for a Labview 7.1 application. I would like to know if it is possible to catch real server error code from SQL server 2000. Example:  for a code SQL = 1105, "Can't allocate space for object '???' in database

  • "To Do" button in Mail toolbar not working...

    The "To Do" icon in my toolbar stays grayed out when I select test but if I control click I get the option to create a new to do.  Am I doing something wrong?

  • Interface connectivity ALE

    We are setting up an interface between ERP and  decentralised WMS system.. Both the systems are SAP systems but belong to two different companys' what kind of interface will be suitable for this... I meant will ALE/BAPI interface be sufficient...? Wh