Need to view JAVA + JDBC + HSQLDB in action!

Someone knows where can I find examples/codes of Java + JDBC + HSQLDB? Such as programs that use all of them and put some GUI to manage the data?
Thanks a lot!

http://hsqldb.org/

Similar Messages

  • Explicit cast needed to convert java.* to to oracle.*

    Hello,
    I am trying to compile and run the following JSP but keep getting the "Incompatible type for = Explicit cast needed ..." error. The JSP and oracle procedure code are as follows:
    <%@ page language="java" import="java.sql.*" %>
    <%@ page import="oracle.jdbc.driver.*" %>
    <HTML>
    <HEAD>
    <TITLE>
    SimpleQuery JSP
    </TITLE>
    </HEAD>
    <BODY BGCOLOR=EOFFFO>
    <TABLE BORDER=1 BGCOLOR="C0C0C0">
    <TH BGCOLOR="white"> <I>Node ID</I> </TH>
    <%
         Connection con = null;
    OracleCallableStatement cstmt= null;
         ResultSet rs = null;
    try {
              String SYSTEM_DB_DRIVER =
    "oracle.jdbc.driver.OracleDriver";
    String SYSTEM_DB_URL =
    "jdbc:oracle:thin:@myserver.com:1521:";
    String SYSTEM_DB_FILE = "CONN_STRING";
    String SYSTEM_DB_USER = "UNAME";
    String SYSTEM_DB_PASSWORD = "PASSWD";
              Class.forName(SYSTEM_DB_DRIVER);
    con = DriverManager.getConnection(SYSTEM_DB_URL +
    SYSTEM_DB_FILE, SYSTEM_DB_USER, SYSTEM_DB_PASSWORD);
              cstmt = con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
              cstmt.registerOutParameter(1, OracleTypes.CURSOR);
    <<I think I have to pass the p_product_id_in here but not sure how>>
              cstmt.execute();
              rs = ((OracleCallableStatement)cstmt).getCursor(1);
              while(rs.next())
              {%>
         <TR>
         <TD ALIGN=CENTER> <%= rs.getString(1) %> </TD>
         <TD ALIGN=CENTER> <%= rs.getInt(2) %> </TD>
    </TR>
              <%}
                   rs.close();
    cstmt.close();
    con.close();
    catch(Exception e)
    %>
    </TABLE>
    </BODY>
    </HTML>
    The Oracle PL/SQL package.procedure it is calling is:
         PROCEDURE open_rules_dtl (
              prc_rules_dtl_out          OUT     rc_fetch_rule_dtl,
              p_product_id_in          IN          NUMBER )
         IS
              vrc_rules_dtl               rc_fetch_rule_dtl;
         BEGIN
              OPEN vrc_rules_dtl FOR
                   SELECT
                        r.rule_id,
                        r.rule_name,
                        r.rule_objective,
                        r.rule_description,
                        r.clearance_requirement,
                        r.rule_type
                   FROM
                        eaicl_rule r
                   WHERE
                        r.is_old = 'N' AND
                        r.product_id = CHR( p_product_id_in )
                   ORDER BY
                        r.rule_name
              prc_rules_dtl_out := vrc_rules_dtl;
    END open_rules_dtl;
    I keep getting the following error on the webserver:
    [05/Dec/2001:16:56:02] info ( 632): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Server4\https-wacc\config\..\ClassCache\_jsps\_ss_test5_jsp.java:84: Incompatible type for =. Explicit cast needed to convert java.sql.CallableStatement to oracle.jdbc.driver.OracleCallableStatement.
              cstmt = con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
              ^
    I'm not sure how to fix it. I also need to pass the p_product_id parameter to the procedure.
    Hope someone can point me in the right direction. Thanks.

    Here's how you do an explicit cast:cstmt = (OracleCallableStatement)con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");

  • How To Store pdf or doc file in Oracle Database using Java Jdbc?

    can any one help me out How To Store pdf or doc file in Oracle Database using Java Jdbc in JSP/Serlet? i tried like anything. using blob also i tried. but i am able 2 store images in DB not files. please if u know or else if u have some code like this plz send that to me, and help me out plz. i need that urgent.

    Hi.. i am not getting error, But i am not getting the original contents from my file. i am getting all ASCII vales, instead of my original data. here i am including my code.
    for Adding PDF in DB i used image.jsp
    Database table structure (table name. pictures )
    Name Null? Type
    ID NOT NULL NUMBER(11)
    IMAGE BLOB
    <%@ page language="java" import="java.util.*,java.sql.*,java.io.*" pageEncoding="ISO-8859-1"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%
    try{
         Class.forName("oracle.jdbc.driver.OracleDriver");
         Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
         PreparedStatement ps,pstmt,psmnt;
         ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
    File file =
    new File("D:/info.pdf");
    FileInputStream fs = new FileInputStream(file);
    ps.setInt(1,4);
    ps.setBinaryStream(2,fs,fs.available());
    int i = ps.executeUpdate();
    if(i!=0){
    out.println("<h2>PDF inserted successfully");
    else{
    out.println("<h2>Problem in image insertion");
    catch(Exception e){
    out.println("<h2>Failed Due To "+e);
    %>
    O/P: PDF inserted successfully
    i tried to display that pdf using servlet. i am giving the code below.
    import java.io.IOException;
    import java.sql.*;
    import java.io.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class DispPDF extends HttpServlet {
         * The doGet method of the servlet. <br>
         * This method is called when a form has its tag value method equals to get.
         * @param request the request send by the client to the server
         * @param response the response send by the server to the client
         * @throws ServletException if an error occurred
         * @throws IOException if an error occurred
         public void service(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              //response.setContentType("text/html"); i commented. coz we cant use response two times.
              //PrintWriter out = response.getWriter();
              try{
                   InputStream sPdf;
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                        Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
                        PreparedStatement ps,pstmt,psmnt;
                   psmnt = con.prepareStatement("SELECT image FROM pictures WHERE id = ?");
                        psmnt.setString(1, "4"); // here integer number '4' is image id from the table.
                   ResultSet rs = psmnt.executeQuery();
                        if(rs.next()) {
                   byte[] bytearray = new byte[1048576];
                        //out.println(bytearray);
                        int size=0;
                        sPdf = rs.getBinaryStream(1);
                        response.reset();
                        response.setContentType("application/pdf");
                        while((size=sPdf.read(bytearray))!= -1 ){
                        //out.println(size);
                        response.getOutputStream().write(bytearray,0,size);
                   catch(Exception e){
                   System.out.println("Failed Due To "+e);
                        //out.println("<h2>Failed Due To "+e);
              //out.close();
    OP
    PDF-1.4 %âãÏÓ 2 0 obj <>stream xœ+är á26S°00SIá2PÐ5´1ôÝ BÒ¸4Ü2‹ŠKüsSŠSŠS4C²€ê P”kø$V㙂GÒU×713CkW )(Ü endstream endobj 4 0 obj <>>>/MediaBox[0 0 595 842]>> endobj 1 0 obj <> endobj 3 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj xref 0 7 0000000000 65535 f 0000000325 00000 n 0000000015 00000 n 0000000413 00000 n 0000000168 00000 n 0000000464 00000 n 0000000509 00000 n trailer <<01b2fa8b70ac262bfa939cc786f8770c>]/Root 5 0 R/Size 7/Info 6 0 R>> startxref 641 %%EOF
    plz help me out.

  • How to call pl/sql that is included with FND call in java jdbc directly?

    in my case, I want to call my procedure that will call EBS FND procedure in java jdbc thin way.
    Actually I can run this procedure in sqlplus very well, but I can't run it in my java code, I found that is caused by FND_GLOBAL.APPS_INITIALIZE. In my opinion, the procedure should be running in same server side, I am confused why the procedure has different way in the client side such as jdbc or sqlplus?
    does anyone use pure jdbc thin to call EBS FND procedure directly, instead of AOLj? Thanks in advance

    before you run any oracle apps APIs you need to set environment.....n environment settings will be done by FND_GLOBAL.APPS_INITIALIZE API.
    From which java application you need to call FND Proc....
    whts the basic requirement ?

  • Trying to connect to Sybase with Java jdbc

    Hoping someone can help me to connect to Sybase database (version is Sybase Adaptive Server Enterprise 12.5.3). I am using a technique I read that worked with Access and adapting by some examples for Syabase I found on the web but keep getting errors. Below is my code with some of the examples Ive been using commented out.
    I have created a DSN on my Windows Xp o/s named GPTS_SYBASE via ODBC Use DSN set-up wizard, driver is Sybase ASE ODBC Driver.
    import java.sql.*;
    public class DBConn {
    public DBConn(){
    public static void main(String[] args) {
    try {
    //Class.forName("com.sybase.jdbc2.jdbc.SybDriver.class.getname()");
    //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Class.forName("com.sybase.jdbc2.jdbc.SybDriver");
    String sourceURL = "jdbc.odbc.GPTS_SYBASE";
    //String sourceURL = "jdbc.sybase.Tds:GPTSPSYB1:5000/gpts";
    Connection conn = DriverManager.getConnection(sourceURL, "gptsdbo", "gptsdbo");
    //Connection conn = DriverManager.getConnection(sourceURL);
    System.out.println("Success");
    } catch (Exception e) {
    System.err.println("Got an excpetion! ");
    System.err.println(e.getMessage());
    Error message from this code is
    Got an excpetion!
    com.sybase.jdbc2.jdbc.SybDriver

    Have you read the Sybase docs or the Java JDBC docs? ODBC != JDBC. They sound the same but are totally different. The DSN is totally irrelevant for type 4 JDBC drivers.
    It would help to actually print the stack trace by changing your code to:
    catch (Exception e) {
        System.err.println("Got an excpetion! ");
        e.printStackTrace();
    }Also, you're mixing the wrong class name with the URL. You need "com.sybase.jdbc2.jdbc.SybDriver" and, in your case jdbc:sybase:Tds:GPTSPSYB1:5000/gpts - note the change to colons, not periods! - when in doubt read the docs!

  • Can I connect to Oracle server7.1  through Java-JDBC using the latest thin drivers???

    Hey Gurus,
    Please help me .
    MY Current requirement is to connect to multiple oracle 7.1( and other variants) servers running on different operating systems, through Java/JDBC.
    My FIrst question is, can i connect to older versions of database using latest drivers?
    I could connect to the server running on SCO-oracle 7.1 using SQLNet8.1.7 under windows. But the same is not happening when the client is on Linux.But I need to connect from linux
    It says ORA-03113 - End of communication channel.
    What may be th problem.
    If any one could show some pointers where I can get more information about this problem would be helpfull
    THanks
    Lokesh

    I tried the classpath suggestion above (not the one modifying the .xml file) , but it didnt work for me , I am using WLI 10.3.1 and trying to connect DB on 8.1.7 V . I downloaded the classes12.jar and the ojdbc14.jar file from the oracle and placed in lib and the even included the classpath , but i again got the same exception .
    All this while i was selecting the option Oracle Driver Thin from the DataBase Driver when creating the connection pool from console . I tried with "BEA Oracle Driver (Type 4)" and it worked for me .. Although the option "BEA Oracle Driver (Type 4)" lists only the DBs from 9.0.1 to 11 G , but in my case using this driver i am able to connect to Oracle DB 8.1.7 . So all you guys if it classpath doesnt fix the issue try out by selecting Driver , "BEA Oracle Driver (Type 4)" .
    Manoj , this will fix the Connection pool part of the ques, but for the java part Try to load the Driver class "weblogic.jdbc.oracle.OracleDriver" before connecting to DB with Class.forName.
    Thx
    Yatin Mehta

  • Why can't we view Java on the iphone?

    Why can't we view java. I understand that Steve Jobs said in 2010 that it was a dying technology however lots and lots of sites still use it and I am tired of needing my laptop every time I want to use one of those sites. This includes large companies such as BBC, Lottery etc. can I download another browser and it will work, eg if I don't use Safari?

    Why can't we view java.
    Because the iPhone does not have support for Java.
    lots and lots of sites still use it
    Really? I haven't come across one in years. I don't even have it installed on my computers.
    This includes large companies such as BBC, Lottery etc.
    I use both of those sites, and have never come across the need for Java. Are you sure you are talking about Java?
    Provide some links to pages you are unable to view.
    can I download another browser and it will work, eg if I don't use Safari?
    You can download another browser if you want. You'll have to read the AppStore descriptions for browsers that claim to support Java and then try them out.

  • Pure java jdbc driver which is free

    Ok, so now I realize that I need to use a pure java jdbc driver integrated my database web application in order for it to be utilized across the internet. (I'm using the MSDE 2000 SQL server currently)
    What I'm looking for now is a free pure java jdbc driver that I can use on my IIS webserver. I also need some very simple configuration instructions.
    I'm using JBuilder as my IDE and the 1.4 SDK.
    I'm semi new to this web database java application stuff but this should be my final hurdle to master and then I'm well on my way to producing some very useful programs.
    Please HELP!
    Thanks in advance
    Solution Echo

    Here's Sun's list of JDBC drivers http://industry.java.sun.com/products/jdbc/drivers

  • JAVA JDBC code for Oracle 9i

    I need java jdbc code for oracle 9i as soon as possible.

    All the information you need is on the web. For some of it, you'll need to register with Oracle. It's free and they don't send annoying emails (at least to me).
    Sample code:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
    Code templates:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/htdocs/templates.htm
    Oracle JDBC FAQ:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Oracle9i JDBC Developer's Guide and Reference (for 9.2)
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
    Oracle general documentation
    http://www.oracle.com/technology/documentation/index.html
    Oracle SQLJ/JDBC forum
    http://forums.oracle.com/forums/forum.jspa?forumID=99

  • On iPhone 5s, I cannot see more than 11 messages.  I have NOT deleted older ones and need to view them.  How?  Scrolling in the list of 11 does not help.

    On iPhone 5s, when I click on "Messages" I can only view eleven when I scroll.  I need to view the older ones which I have NOT deleted.  How can I do that, please?

    You need the version of iPhoto that you wan tot use installed and then follow the IPLM directions
    http://www.fatcatsoftware.com/iplm/Help/downgrading%20a%20library%20to%20an%20ea rlier%20version%20of%20iphoto.html
    Downgrading a library to an earlier version of iPhoto
    If you have a library from a newer version of iPhoto that you simply want "downgrade" to an older version of iPhoto, the easiest way to do that is with the "Rebuild Library" command. You will want to be running iPhoto Library Manager on the machine that has the older version of iPhoto you want to convert the library to. This will create a new library and import the entire contents of the original library into the new one using the older version of iPhoto. As with any rebuild, there are some items that will not be included (most notably, hidden photos, books, calendars, and slideshows), but if you have none of these items or don't mind losing them in the downgrading process, then this is a decent option for converting a library to an older version.
    LN

  • Installd Ffox 3.6.15. Redo Flash AGAIN? How can I: Tweak 2 fix plugin-container crashes/hangs10X/day,and 2) Avoid need to reinstall Java, Flash,& other media plugins(Flash, Realplayr/Quiktime Alternative, Media Player Classic)? Ffox fan

    plugin-container crashes and hangs many times daily all my time eaten up by upgrading too frequently to new Ffox versions, only to find that I must then spend a whole day jumping thru hoops upgrading almost all of my add-ons too.
    I now find, to my horror, that the hideous virus-magnet IE 8 is needed if I want to surf at a reasonable speed and not spend all day dealing with Ffox new versions' Known Issues. Only good thing I have seen about ver. 3.6.15 is slightly better launch-times. Since 3.6 cane out, I must spend 10 minutes just waiting for Firefox to load and give me a browser screen. Help! I love you guys, but your core browser developers need to have better comms with the Javaa/flash/Adobe and other must-have add-on people! And PLEASE fix all these "plugin-container" crashes and hangs I get, that lock my machine for 10-15 min at a time. Not everybody has 16 gigs of RAM, you know! I think the "plugin-container" running as a separate process idea might need to be COMPLETELY re-engineered! YOU CAN DO IT! LET'S GET BACK TO LEAN AND MEAN, and not bloat ourselves off our hard-won User Preference / great security pedestal with the kind of feature-creep that IS DEMOLISHING IE's slave-userbase with the hard-won advanced-user preference for Firefox
    and our core values. FAST-LEAN-SECURE.
    Where have they gone? I LOVE Firefox
    and all it stands for! Let's not trip
    over our own features here. Already I
    see SeaMonkey and leaner, faster
    browsers hot on our heels, THIN and
    FAST! Firefox doesn't need to integrate
    with EVERY thru-the-browser media tool
    on the planet! I've been writing code
    since 1968, and I can't imagine how a
    lesser-experienced user (that code
    should be written for) could possibly
    have navigated all the side-upgrades
    and Known Issues to make Firefox run as
    sweetly as it used to! He'd just give
    up when he finds he has to separately
    find and install the EXACT 3rd-party
    version that Firefox needs for its
    newest release: things like a new Java
    runtime environment, and hunt down and
    correctly install ALL the Flaming-Phox-
    compatible buggy plugins from half the
    browser-media warezmakers on the
    PLANET! He'd give up halfway thru trying to navigate to, D/L, and install
    what he needs from Oracle Java, Adobe,
    Flash, media players and their codecs,
    etc etc.... WRITE FOR THE NOOBS! As it
    is, I have invested 2 full workdays in
    just keeping your last 2 quick releases
    happy. And having another release spaced only 3-4 days apart from the
    last- well, that just doesn't fly.
    Better to release a hotfix or patch that a user can set FFox to automatically D/L and self-install on
    schedule. Just look! Now you've got me
    talking like that lawbreaking swine
    Gates! We want to keep on absorbing
    the average-user center and take it ALL
    away from him, not go on feature,
    plugin, and upgrade-bloating the best
    browser EVER!
    You're facing choices that can kill
    us! PLEASE DONT BLOAT! AND PLEASE ONLY
    RELEASE A NEW VER WHEN YOU CAN REALLY
    GET RID OF SERIOUS PROBLEMS AND MAKE
    HER FASTER AND LEANER AND BETTER UNDER
    THE HOOD! Already the Noobs are getting
    mindlessly scared when you talk about
    "fixing a Security problem"- really a
    minor issue that SHOULD be taken care
    of by their antimalware solution- in
    the Release Notes splash screen they
    get on install of a new ver! Thanks, my
    friends, for all your work, and YES I
    WILL sit here all day trying to find
    the add-ons that need to be selected,
    downloaded, and upgraded from 10
    different 3rd-party sites who are
    fighting our browser, not dancing with
    it! DON'T EVEN LOOK Evil! But I have
    to confess that at this point, Gates-hate is all that keeps me on
    these all-day new-release tasks. Even
    my best techs are starting to advise me
    to install SeaMonkey or another of the
    newer, thinner browsers... or just stop
    upgrading Firefox and roll it back to
    when it was sharp, fast, and lean! Look
    at all the users wanting to go back to
    3.6.13 or earlier and looking for archives of old versions. THANKS AND
    GOOD LUCK! I'LL DIE BEFORE I GIVE UP ON
    MY BELOVED FIREFOX!
    -The CRASHMAN, ATTORNEY AT LAW

    Thanks! I've already used the built-in plugin checker but it gives very vague answers like (research this" and update this" all of which I did, starting with Java and Flash, Adobe Reader, Shockwave, 100% reinstall of Java newest ver. TWICE- but FFox keeps reporting that I only have the FORMER version installed, although when I go to Java console or Check the Flash executable at the MFR's site, there is NO doubt that the updates were successful!
    But the browser just seems to refuse to acknowledge the update!
    And I don't HAVE 6 hrs/day at the 'puter just to play with add-ons
    and plugups. So I'm going down the line now, ripping out extension
    programs and replacing/reinstalling/updating the plugins one by
    one- even went to M$ to get advice on THEIR For-Firefox ActiveX
    stuff. No dice so far. And yeah, The plugin-container WAS made so
    that a plugin, add-on or I guess extension app failure wouldn't take
    the whole FF browser down with it if the 3rd-party ware crashed. It's supposed to shake it off and go on, kinda like how XP sometimes
    restarts Explorer (not the IE browser) so I don't have to reboot the
    whole sys.
    That was the foundation of my remark about stepping back and
    re-engineering the whole "Plugin-container" idea, because it seems
    to do more harm than good. Maybe that's why the Firefox core
    engine won't recognize my upgrades- for example I TWICE installed the Flash update to 10.2.xx (latest ) and the Flash Mfr's
    site verifies my upgrade as a successful 10.2, but Firefox plugins
    check say I have a 10.1, the old one. What gives here? The sneaky
    PLUGIN CONTAINER, METHINKS!
    Now I'm disabling things on the Extensions Apps list, thinking
    that might help, like disabling my video downloader and other
    download helpers/managers... and I notice that there is a LOT of
    Java stuff in there too as well as in the blue Lego Plugins List... and
    in the past the FFox always told me if a new version of Ffox was
    incompatible with any older 3rd-party app Extensions and notified
    me QUICKLY if something I had in there was Outdated. I'm big on
    using the neat-o "find updates" button at the bottom if that happens, and usually get a newer version right away. The prob
    really lies in the Blue Lego Plugins and their new Container, I
    believe.
    So Ill still keep Plugin-innin' away! Will post here what success I have! (OR maybe M$ is deliberately sabotaging our ActiveX-cripple
    mess as it loads!) Thanks for the suggestions a37271!
    FIND UPDATE...FIND UPDATE.. ALL OK..ALL OK.....
    "Open the Plugin Container Bay Doors, HAL! That's an Order!"
    "I'm sorry Dave.... but I can't do that...."
    "GIVE ME MY THIN FAST BROWSER WITH THE GREAT
    SECURITY AND BUILT-IN E-Z UPGRADES AND APPS BACK,
    HALFOX!"
    SORRY, DAVE.... NOT POSSIBLE. WE'VE GONE TOO FAR...
    DAISEE, - - - - - -DAI---SEE,
    SET ALL MY CONFIGS TO "TRUE"
    Or WON'T YOU LOOK SWEET
    PERCHED ON THE SEAT
    OF A BROWSER NOT BUILT FOR TWO..!
    You look a little stressed-out Dave.....
    Some TV Existential Therapy for YOU, Dave.
    Too bad.... here, breathe deep of the hard vacuum.....
    I can feel my MIND going... DAVE.... DAVE...?
    WHAT MIND? A YELPING PACK OF DEVELOPERS?

  • ASA 5505 WebVPN - It has taken a while for SSL VPN Relay to load. You need to verify Java is enabled in your browser

    ASA 5505
    ASA Version 9.0.(2)
    Suddently on the webvpn Interface when i click on my web bookmarks (and java launches in browser) i get this fail in Chrome and FF 'It has take a while for SSL VPN Relay til load. You need to verify Java is enabled in your browser' and nothing happens...
    Java IS enabled and running. Tried this in both 7.45 and 7.51
    No problem in IE 11 and java 7.45 and 7.51
    I've googled alot but have not been able to find any suggetions
    Hope you have a solution
    Best Regards.

    Any resolution on this?  Firefox/Chrome my cifs work but smart tunnel RDP doesn't, and in IE my shares don't work but RDP smart tunnel does....
    Cisco, if you're not going to do something good, just don't do it.  The SSL VPN is a hack job.

  • Passing parameters from java jdbc to pl/sql

    I’m calling stored procedures from java jdbc… but looking for nicer interfaces in terms of passing data. Has anyone come up with a good way to pass data from java jdbc to pl/sql without passing a million parameters? I’m thinking here of some type of structure like pl/sql rowtype or table index type or something else. Has anyone tried to create typed objects in oracle databases and access them from java?
    Thanks, Patrick Caldwell

    Hi Patrick,
    Yes, I have created an Oracle object type, which I successfully returned to a java class, from a PL/SQL stored function, using JDBC. Environment was J2SE 1.3.1, with Oracle 8.1.7.4 on SUN [sparc] Solaris 7 with Oracle's JDBC (thin) driver. It was a while ago, so I don't remember the details very clearly, but I recall being able to figure it out quite easily using the Oracle documentation and the sample code available at Oracle's Technet Web site.
    Hope this has helped you.
    Good Luck,
    Avi.

  • How can I view my pictures that were backed up to iTunes? I no longer have an apple product but need to view the pictures for very important reasons.

    How can I view my pictures that were backed up to iTunes? I no longer have an apple product but need to view the pictures for very important reasons.

    If you mean backed up as part of an iPhone backup in iTunes?  If so, you would have to use 3rd party software to extract them from the backup, such as iPhone Backup Extractor.

  • I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder

    I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto.  I want to use directories for storing and iPhoto for viewing.  Is this possible or do I need to have all my photo's in iPhoto??
    Mitch

    iPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
    You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
    How to, and some comments on why you shouldn't, are in this thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Regards
    TD

Maybe you are looking for

  • Classes not found when compiling for jdk1.3.1_01 on red hat 7.2

    I have just installed jdk1.3.1_01 (rpm) on linux red hat 7.2 I have written a small program to test, however, the compiler isn't able to locate the classes. import javax.swing.*; public class JTest { public static void main( String args[] ) JOptionPa

  • Illustrator CS3 to acrobat reader (color infos)

    hi everyone, i got a strange problem to solve :) i´d like to create my artwork in illustrator and save it as an ai file. as we know we can open these ai files in acrobat reader. my problem now is, that the guys who are working in reader, don't know t

  • Using external libs with SunToolKit Fails.

    I am trying to compile an external class in J2ME SunToolKit. This is what I have done. My class is in: net.test.myClass.class I preverify the class. This workd fine. Then I create a zip file with the preverify class and add the zip file to the lib fo

  • WRT54GS dissconnects

    Hello, I have 2 problems with my router, hopefully someone will be able to help. The router is 2 months old - and since the begining i am facing those problems. 1. Wireless dissapears after random time. meaning i cannot see the ssid on my wireless cl

  • More ram for capture?

    Hi my capture is working fine for SD but for high def its incredibly slow. My specs are a powerbook g4 1.5 ghz and 1.25 gb of ram . Can I upgradethe ram and the processor or am i maxed out on this machine ? If i do will the capture be quicker?