Please!  How the hell do I use javax.sql in WSAD?

I am migrating from VAJ 3.5 to WSAD 4.0. I am getting errors at certain import statements, such as the ones for javax.sql. I noticed that this package is not in WSAD. Is there another package it uses instead? How can I import this package?

I highly doubt it uses another package. I know the javax.sql package comes with j2se 1.4 but I'm not sure about previous releases. If WSAD is like VAJ you may just need to add the package into the workspace.

Similar Messages

  • How the hell do you use map finder?

    basically, I have downloaded the map finder onto my PC and then downloaded the UK maps, but to where I have no idea. I have followed all instructions to plug my phonein and set it as pc suite, but my downloads seem to go nowhere despite telling me it has been successful....
    any ideas on what im doing wrong??
    Message Edited by jacko122 on 24-Jun-2009 11:38 PM
    Solved!
    Go to Solution.

    Map finder?  Are you talking about Nokia Map Loader?  If you were able to download the maps and transfer them to your phone, you won't see a list anywhere.  Just go to the location in the UK that you want to navigate.  Or Search for a location in the UK and you will be able to find it.
    Lumia 920, Lumia 800
    Nokia N8-00 (NAM, Product Code: 059C8T6), Symbian Belle, Type RM-596, 111.030.0609
    Nokia 5800 XpressMusic (NAM, Product Code: 0577454) Software v51.2.007, Type RM-428

  • How the hell can I use a Zen Micro Photo with Win 20

    I can't believe it is not supported! It's like the good old days when computing was still a novelty. Are Creative Labs not proficient enough to write the software?

    http://forums.americas.creative.com/creativelabs/board/message?board.id=dap&message.id=3044
    Problem solved

  • HOW THE HECK DO I USE SAFARI WITHOUT WI FI?????????????? PLEASE HELP ME !!!

    HOW THE HECK DO I USE SAFARI WITHOUT WI FI?????????????? PLEASE HELP ME !!!

    HOW THE HECK DO I USE SAFARI WITHOUT WI FI?????????????? PLEASE HELP ME
    You can't. Safari is an Internet browser and therefore requires a connection to the internet. The only way to connect an iPod touch to the internet, for any purpose, is via WiFi.
    By the way, your capslock and ? keys appear to be stuck - you might want to get them looked at.

  • How the hell does a person share session data between JSP page and a Servle

    1. How the hell does one share session data between a servlet and a JSP page without using a bean but rather using a normal string variable.
    2. When using session scope to access a bean the application complains about not finding the bean on the specified scope, however when I use an application scope the save the same bean, the application does find it.
    Please help!!!!!!!
    SERVLET:
    HttpSession session = request.getSession(true);
    ServletContext servletContext = session.getServletContext();
    customerID = result.getString("CustomerID");
    userName = result.getString("UserName");
    session.setAttribute("UserName",userName);
    session.setAttribute("CustomerID",customerID);
    System.out.println("Customer UserName = " + session.getAttribute("UserName"));
    response.sendRedirect("/economics/subscriptions/default.jsp");
    JSP PAGE:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root xmlns:jsp=http://java.sun.com/JSP/Page mlns:c="http://java.sun.com/jsp/jstl/core" xmlns:sql="http://java.sun.com/jsp/jstl/sql" version="2.0">
    <jsp:directive.page isThreadSafe="true" session="true" contentType="text/xml"/><jsp:output omit-xml-declaration="false"/><jsp:scriptlet>response.addHeader("x-xslt-nocache", "true");</jsp:scriptlet><pml>
    <page type="web" search="y">
         <pageName>Commercial Banking</pageName>
         <jsp:directive.include file="/economics/header.inc"/>
         <jsp:directive.include file="/login.inc"/>
         <jsp:directive.include file="/economics/leftMenu.inc"/>
         <!--<jsp:useBean id="UserName" type="java.lang.String" scope="session" />-->
         <content>
         <searchSum>Commercial - Main Content</searchSum>
         Value = <c:out value="${request.session.getAttribute("UserName")}"/>
         </content>
         <jsp:directive.include file="/economics/rightNav.inc"/>
         <jsp:directive.include file="/footer.inc"/>
    </page></pml></jsp:root>

    For a start, just "session" instead of "request.session" would work better. But why did you post this here and not in the JSP forum? Doesn't seem to have anything to do with Java programming.

  • How to create a database using a SQL statement? Please help.

    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@192.168.0.25:1521:mydb","system","12345678");
    but mydb database does not exist.
    I want to make a connection to oracle server without database name.
    How can I do?

    Colleauge, what is the purpose of making a connection to a non-existent database.
    connections are made to the database to retrieve some data or put some data.
    for which the database should exists.
    so please create the mydb database first using Database Configuration Assistant (DBCA) which is much easier as it is GUI based rather than doing it with sql scripts.

  • How the HELL do I stop this damned thing from eliminating my LSO,s. Damn this is a BAD program/

    I'm an 80 year old guy who has not had a problem with my computer until I downloaded some damn addon from Firefox. Now every time I close a web site I get a message that says that you are going to eliminate my LSO's. How the hell do I get rid of this anoying problem? Does ANYONE know?

    You can stop this happening by unininstall the add-on that you downloaded, for details of how to do that see [[Uninstalling add-ons]].
    The add-on that is doing this is probably called Better Privacy.

  • How to get Listener Information using PL/SQL code

    How to get Listener Information using PL/SQL code

    user2075318 wrote:
    How to get Listener Information using PL/SQL codeThis approach (somewhat of a hack) can be used - but it does not really provide meaningful data at application layer.
    SQL> create or replace function TnsPing( ipAddress varchar2, port number default 1521 ) return varchar2 is
      2          type THexArray is table of varchar2(2);
      3          --// tnsping packet (should be 10g and 11g listener compatible)
      4          TNS_PING_PACKET constant THexArray := new THexArray(
      5                  '00', '57', '00', '00', '01', '00', '00', '00',
      6                  '01', '39', '01', '2C', '00', '00', '08', '00',
      7                  '7F', 'FF', '7F', '08', '00', '00', '01', '00',
      8                  '00', '1D', '00', '3A', '00', '00', '00', '00',
      9                  '00', '00', '00', '00', '00', '00', '00', '00',
    10                  '00', '00', '00', '00', '00', '00', '00', '00',
    11                  '00', '00', '00', '00', '00', '00', '00', '00',
    12                  '00', '00', '28', '43', '4F', '4E', '4E', '45',
    13                  '43', '54', '5F', '44', '41', '54', '41', '3D',
    14                  '28', '43', '4F', '4D', '4D', '41', '4E', '44',
    15                  '3D', '70', '69', '6E', '67', '29', '29'
    16          );
    17 
    18          socket  UTL_TCP.connection;
    19          txBytes number;
    20          rxBytes number;
    21          rawBuf  raw(1024);
    22          resp    varchar2(1024);
    23  begin
    24          socket := UTL_TCP.open_connection(
    25                          remote_host => ipAddress,
    26                          remote_port => port,
    27                          tx_timeout => 10
    28                  );
    29 
    30          --// convert hex array into a raw buffer
    31          for i in 1..TNS_PING_PACKET.Count loop
    32                  rawBuf := rawBuf || HexToRaw( TNS_PING_PACKET(i) );
    33          end loop;
    34 
    35          --// send packet
    36          txBytes := UTL_TCP.write_raw( socket, rawBuf, TNS_PING_PACKET.Count  );
    37 
    38          --// read response
    39          rxBytes := UTL_TCP.read_raw( socket, rawBuf, 1024 );
    40 
    41          UTL_TCP.close_connection( socket );
    42 
    43          --// convert response to varchar2
    44          resp := UTL_RAW.Cast_To_Varchar2( rawBuf );
    45 
    46          --// strip the header from the response and return the text only
    47          return( substr(resp,13) );
    48  end;
    49  /
    Function created.
    SQL>
    SQL> select tnsping( '10.251.93.30' ) as TNSPING from dual;
    TNSPING
    (DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=0)(ALIAS=LISTENER))
    SQL> select tnsping( '10.251.95.69' ) as TNSPING from dual;
    TNSPING
    (DESCRIPTION=(TMP=)(VSNNUM=0)(ERR=0)(ALIAS=LISTENER))
    SQL>

  • How the hell do I get rid of Download Firefox 29.X .dmg. The damn thing is the trash bucket but when I try to erase it ti keeps telling me it is in use.

    THis is the mozilla app wwhich asks me to transfer firefox to applications. I did this correctly but this bloody app is in the trash can and wehn i try to emty the trash can, I keep being the app is in use!!!
    ''Moderator edited the title of this thread - See the [http://support.mozilla.com/kb/Forum+and+chat+rules+and+guidelines Rules & Guidelines] .''

    Make sure that Firefox gets installed properly.
    Open the Firefox disk image file and drag the Firefox program into the Applications folder on your hard drive.
    You shouldn't double-click the Firefox application to run it from the disk image, but instead drag it out of the DMG folder.
    *http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
    *https://support.mozilla.org/kb/Installing+Firefox+on+Mac

  • Apple ..Please Help the Older people who use your products:

    My mother is 73 yrs old. She wants to purchase a iphone 5. She can use the pc, or safari on her iphone 4, or the apple store app.  The app works best for her, but she kept trying to load the APP STORE APP.   Do you think we could rename one of these?  App Store App  & APPLE Store App. ... Maybe combine them?
    Thanks,
    Confused

    Its all good. I just had a long day..and sure enough at 3 am not only would the website not allow you to pre-order, but the apple store app (for iphone) would not either... very frustrating. Right at 3:01 am eastern, the web site changes..you seen it was ready..i grabed the iphone.. and the app ..errored out... just too many people thats all.. 20 min latter it worked and website did as well.
    BUT .. Good ole mom kept trying to load the app store app ... i said do you see the iphone... mom: no i see catagories and apps. So even though I asked her to open the app with the shopping cart, she would keep opening the other. I said why mom?... mom: well thats the one I always use?    omg
    Ya gotta love mom  lol
    But does anyone know,.. if there is a way that I could order an item like that for my mother, with my Apple Store App?  I have full authorization on her att account?  The website, I think I could, but it wasnt working at the time. 
    Thanks everone for the help,
    Dan

  • Urgent HELP required on forming the Matrix of data using PL/SQL

    Hi All,
    I'm new to this thread and require your urgent help in this regard.
    I've got a requirement for building a 5000 X 5000 matrix using PL/SQL. My original data tables have 5000 rows each and I need to do a correlation analysis using this data and need to store in a physical table and not in-memory. Is this feat achievable using mere PL/SQL? I understand that Oracle DB has a limitation of 1000 columns(but not sure) and hence I'd like to know whether there is any work-around for such scenarios. If not, what are the other alternative method(s) to achieve this feat? Do I need to use any 3rd party tools to get this done? An early reply from the experts is highly appreciated.
    Thanking you all Gurus in advance.
    Rgds
    Sai

    Welcome to OTN!
    I'll get to your quesiton in a moment, but first some welcome information. Many OTN posters consider it impolite to mark threads as "urgent". We are volunteers and have jobs of our own to do without people we don't know making demands. You are brand new and deserve some patience but please understand this. It is very likely before I finish this post someone will complain about the word "urgent" in your subject.
    On to more interesting things :)
    You can do the matrix, but are out of luck with a 5000 x 5000 table because Oracle only allows 1000 columns per table. There are ways to work around this.
    How do do the matrix depends on what you want to do. You can do this different ways. You can create a table beforehand and use PL/SQL or simple SQL to populate it, or use the CREATE TABLE AS syntax to create and populate it in one step if you can get the underlying SQL to work the way you want, something like
    create table my_table as
      select a.*, b.*
        from table1 a, table2 bcan populate a matrix from 2 tables with an intentional cartesian join (the WHERE clause was left out intentionally, provided your data is already in the data base.
    If not you can use a PL/SQL routine to populate the data.
    There are a couple of ways to solve the 1000 column limit. The easiest way might be to have 5 collections of 1000 columns each. A more complicated but more elegant soltion would be to have nested collections, allowing 2 colliections that you can loop through - a collection of collections. Nested collections can be hard to work with. A third way would be to use nested tables in the database but I personally do not like them and the insert, update, and delete statements for nested tables are hard to use.
    I'm not going to give a code example because I am not sure which solution is best for you. If you have further questions post them.

  • How to create a counter using Oracle SQL Developer?

    Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
    Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
    Page Access statistics is recorded on an hourly basis. Users may select the statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)

    I'm giving here one basic post - hope this will solve your problem --
    SQL>
    SQL>
    SQL> create table audit_info
      2   (
      3     usr        varchar2(50),
      4     log_time   timestamp(6)
      5    );
    Table created.
    SQL>
    SQL>
    SQL>  create table err_log
      2     (
      3       log_cd      varchar2(20),
      4       log_desc    varchar2(500)
      5     );
    Table created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_err(errcd   in  varchar2,
      2                                        errnm   in  varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into err_log values(errcd,errnm);
      7      commit;
      8    end;
      9  /
    Procedure created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_aud(ud   in varchar2,
      2                                        unm  in varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into audit_info values(ud,unm);
      7      commit;
      8    exception
      9      when others then
    10        ins_err(sqlcode,sqlerrm);
    11    end;
    12  /
    Procedure created.
    SQL>
    SQL>
    SQL>
    SQL> create or replace trigger log_odsuser1
      2   after logon on odsuser1.schema
      3   begin
      4     ins_aud('ODSUSER1',sysdate);
      5   exception
      6     when others then
      7       ins_err(sqlcode,sqlerrm);
      8   end;
      9  /
    Trigger created.
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL>
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> select * from audit_info;
    USR
    LOG_TIME
    ODSUSER1
    12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
    Regards.
    Satyaki De.

  • PL/SQL--How to calculate a median using PL/SQL

    How would I calculate a median, not an average, using PL/SQL? Thanks.

    1. The MEDIAN value is the value of the item in the middle of a data set.
    2. For a dataset with 5 rows (sorted by the value) it is the value in row 3; for any ODD number of rows n use row number 'TRUNC(n/2) + 1'.
    3. For a dataset with 6 rows the average of the two middle rows (rows 3 and 4) is usually used; for any EVEN number of rows n use row numbers 'TRUNC(n/2)' and 'TRUNC(n/2) + 1'.
    4. Check for the special case where there are no rows in the result set first.
    Using pseudo-code it might look like:
    SELECT COUNT(1) INTO num_rows FROM mytable;
    IF num_rows = 0 THEN
    RETURN 0;
    END IF;
    first_row := TRUNC(num_rows/2);
    -- set 2nd row to be same as first if ODD number of rows
    second_row := first_row;
    IF first_row * 2 = num_rows THEN
    -- set 2nd row to be row after 1st if EVEN number of rows
    second_row := second_row + 1;
    END IF;
    -- query the average needed. Note that for an ODD number of rows this still works.
    SELECT avg(myvalue) FROM (SELECT ROWNUM rnum, rvalue FROM (SELECT myvalue rvalue FROM mytable ORDER BY myvalue))
    WHERE rnum BETWEEN first_row AND second_row;
    END IF;
    I suggest you write and test the innermost query above first (SELECT myvalue rvalue FROM MYTABLE ORDER BY myvalue).
    Then use it as a subquery for the '(SELECT ROWNUM ...' query.
    Then when you have both of those working wrap it in the outermost query.
    At that point you can make it a PL/SQL function or if you really want to confuse people you can perform it all with one big UNION query (to take care of the case where there are no rows).
    Good luck!
    null

  • HOW TO CALL ANOTHER PAGE USING PL/SQL PDK?

    Hi,
    I am using pl/sql pdk to create portlets. When I need to call
    another page I am using wwpob_page.show(p_pageid) but instead it
    displays File Download wizard.
    Anyone knows workaroud for this?
    Are there any other ways to call other pages with portlets from
    pl/sql portlets?
    Thank you,
    ya

    Hello Yuri
    If you want to call any component of an application from PL/SQL
    you have to take a look to the manage of the component and then
    to Call Interface (Show), There you can see the way to call the
    component, but if you want to call a Page the way I found to do
    it, even thought it is not the best, was put an url like
    this /pls/portal30/url/page/PAGE_NAME on the link.
    I hope this could help you, if you dont understand please let me
    know and I'll give you a hand
    Ana Maria

  • HOW TO START MAKING DATABASE USING ORACLE SQL PLUS in 10g?

    how will i create database using sql plus?
    does the code of sql applicable to it..?
    do i have to use the "create db <database name>", use and " create table also,.."
    pls help me..
    thanks

    At dos prompt :
    C:\>set ORACLE_SID=<your SID>
    C:\>sqlplus / as sysdba
    you get connected as sys user. Don't use this connection to create your own objects, create users instead.... but it would be useful to read some documentation, for example Starting SQL*Plus and manuals mentioned there.

Maybe you are looking for

  • Final Cut Express 4.0.1 bug

    Hello Forgive me for my English language, I translated with Google Translate French into English ... My problem: I have Final Cut Express 4.0.1, but there is a big bug! Sometimes hi just blend films is that the images are from the beginning to the en

  • Document for PO Change

    Dear Experts, Please suggest me where can i see the change document generated while doing change in Process Order. Regards Sumit Kalyan

  • This is my experience with MSI, and their NVIDIA GTX 570 reference card.

    Hello my name is James king. and This is my experience with MSI, and their NVIDIA GTX 570  reference card. (5/27/12) Day one. I update my driver from Beta 301.24 To WHQL 301.42. and as you would expect, it worked. so i restart and go play kerbal spac

  • Pixma printer adding color while trying to print black and white.

    I've had this printer (Pixma MG5320) for about a year and a half now and recently noticed a problem with it.  I have been doing a lot of black and white photography lately (both digital and analog), and every black and white photo I print has some co

  • Can I print DIRECT with from my iPad

    Can I print direct from my IPad without a computer?