Beginning java - extension documentation issue

Hi
I'm a java beginner. I have installed an extension on my system (mysql-connector-java-5.0.4-bin.jar) which seems to work fine. I'm using eclipse for development.
If I look in system library I can find the relevant mysql stuff. I would like to take a closer look att the class ResultSet class found in mysql-connector. When i double click on it am told "source not found". I have tried changing attached source to no avail.
Since I'm new at this I'm not quite sure if I actually need to download any source or if this is just a path issue.
I would appreciate any help pointing me in the right direction.
Thanks

Hi
The source files appear to be included as a separate folder in the download bundle, available from here:
http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.0.4.tar.gz /from/pick#mirrors
Pick a download mirror, then unzip/untar the download and you'll find a folder called src. The sources should be in there. You don't need the sources to be available if you have the jar file, but it can sometimes be useful to have them.
Bob

Similar Messages

  • Java extension for SQL Developer 2.1 (SqlEditor)

    Hello,
    we are developing a java extension for SQL Developer. It was working fine in version 1.5.5 but it seems that some of the java classes were changed in version 2.1 so it does not any more. In the SQL editor, we want to have a context menu action that gets the selected SQL statement and calls a database function with it as an argument. Our code looks like
    @RegisteredByExtension("our.developer.extension")
    public final class OurCommand extends Command {
    public int doit() {
    SqlEditor sqlEditor = (SqlEditor)getContext().getView();
    String query = sqlEditor.getView().getSqlStatement();
    sqlEditor.executeSql(query, "");
    //or
    //sqlEditor.getView().scriptRunner(query);
    Unforunately, in SQL Developer 2.1 the class oracle.dbtools.sqlworksheet.sqlview.SqlEditor does not exist. Does anybody know how to write this example for version 2.1? Is there an API documentation (alas, [http://wiki.oracle.com/page/SDK+2.0] is an empty article)?
    BTW, does anybody know how to open the dialog for connecting to a database when sqlEditor.getConnection() is null?

    I got it to work using a BASIC call instead of my normal TNS call.
    We use MS SMS to package the Oracle client and SQL Developer and push it out to users so we don't have people visiting desktops. Also, we use OID to store the entries instead of a tnsnames file so that we don't have to maintain a TNSNAMES file.
    I am testing 2.1 as we would eventually upgrade when it goes GA.
    2.1 seems to be built on Oracle 11g. Issue will be that since 99% of our databases are 10gr2 as well as 100% of our client population will be be forced to upgrade the Oracle client to use 2.1 as we do today without lots of changes for the end user?
    We don't broadcast the information the average user requires for a BASIC connection so that is out for non technical users..
    We have SQL Developer 1.5.5 right now and this is not and issue.
    Hopefully, this will be resolved during EAI for 2.1.

  • Searching java sdk documentation

    My question is: "Is there a way to search the Java 2 SDK, Standard Edition Documentation using JDeveloper?"
    I know how to browse it, using either browse javadoc or through the help file, but when I do a search using the Help Navigator it does not go trough the Java reference documentation. This is rather inconvenient. I've been looking for answers on this issue in this forum but found nil.
    Thanks for any help.

    The only references and documenation is [here|http://www.sdn.sap.com/irj/boc/sdklibrary]
    Typically new methods and such are not introduced in a current product version so most likely nothing has changed in the SDK.  It does sometimes happen and when it does new documenation is usually released.
    Jason

  • Looking for SAP CRM Internet Sales (ISA) Java Extension Guides

    HI, SDN Fellow.
    I am looking for some SAP CRM Internet Sales (ISA) Java Extension Guide and ISA Java API Documentation (for CRM 5.0).
    Also, I need some customed development documentation on ISA Java application (for CRM 5.0).
    Can anyone point me to some online resources or send the documentations to the following email address: [email protected]?
    Thanks for help.
    Kent

    Hi Kent,
    You can download the SAP E-Commerce 5.0 - Development and Extension Guide
    and SAP E-Commerce 5.0 - Examples and Tutorials (Dev./Ext.)  from SAP Market place.
    The quick link is service.sap.com/crm-inst -> CRM core and Standalone Components.
    Regards,
    Prashil

  • Problem in deploying Java Extension to ORacle SQL Developer

    Hi all,
    I have developed a simple Java extension using Oracle Jdeveloper. This extension creates a preference in Tools->Preferences.
    I have deployed it on Jdeveloper and it works fine. But when I deploy it on Oracle SQL Developer its functionality does not work
    I am using JDeveloper 11.1.1.4
    and Oracle SQL Developer 3.2.20.09 (Latest Version).

    Hello,
    You are giving few informations. Is the extension listed in the extensions tab in the 'About' tab? Are you able to deploy any extension to SQLD?
    Joop

  • Reg ::Java Plug in issue in linux 5.7

    Folks,
    I am facing jave plug in issue and cant open the form as itis geting error java plug in need
    FYI,
    [root@apps12 ns7]# uname -a
    Linux apps12.com 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 20:
    **11 i686 i686 i386 GNU/Linux**
    <!-- JDK plugins -->
    <sun_plugin_ver oa_var="s_sun_plugin_ver">1.5.0_10</sun_plugin_ver>
    <sun_plugin_type oa_var="s_sun_plugin_type">jdk</sun_plugin_type>
    /usr/java/jre1.5.0_10/plugin/i386/ns7
    [root@apps12 ns7]# ls -ltr
    total 112
    -rwxr-xr-x 1 root root 102464 Nov 10 2006 libjavaplugin_oji.so
    [root@apps12 firefox-3.6]# cd plug*
    [root@apps12 plugins]# ls -ltr
    total 4
    lrwxrwxrwx 1 root root 58 Mar 31 05:53 libjavaplugin_oji.so -> /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so
    [root@apps12 plugins]# cd /usr/lib/mozilla/plugins
    total 4
    lrwxrwxrwx 1 root root 58 Mar 31 06:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so
    pls advise for the same
    Thanks
    Edited by: JuniorDBA on Mar 30, 2012 3:13 PM

    I am facing jave plug in issue and cant open the form as itis geting error java plug in needAre you trying to run the application from a Linux client? If yes, please note it is not certified -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Linux+AND+client&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    If you are trying to do something else, please post the details of the application release, database version and OS along with what you are trying to achieve.
    Thanks,
    Hussein

  • Pls need help with Java Extension

    hi guys
    i have created a class let say it "RectangleArea" and i created a jar file " myjar.jar" containing class "RectangleArea" so i put the jar in the ext folder to use the java extension .then i create class "AreaApp" inside "AreaApp" i instantiate "RectangleArea" .and when compiling "AreaApp" it compile good.but the problem is when runing it through an exception:-
    Exception in thread "main" java.lang.NoClassDefFoundError: RectangleArea at AreaApp.main(AreaApp.java:9)
    so i wonder how to slove this problem?

    It may be due to the following reasons
    1)myjar.jar may not be included in the classpath
    2)RectangleArea.class may be inside wrong package
    Just correct it and try again.
    Cheers,
    Pushparaj.

  • Java extensions to XSLT

    Hi,
    I'm just starting with the new features in the XML/XSLT parser.
    I would like to use the Java extensions to do something like
    this: I want to be able to insert an XML document at a certain
    position based on user input. I have tried something like
    <xsl:template match="page">
    <xsl:variable name="myparser" select="parser:new()"/>
    <xsl:value-of select="parser:parse
    ($myparser, 'file:/D:/Razvan/OracleXMLParser/sample/prefs.xml')"/
    >
    <xsl:variable name="mydocument" select="parser:getDocument
    ($myparser)"/>
    This is the line ------V
    <xsl:value-of select="$mydocument"/>
    <xsl:apply-templates/>
    </xsl:template>
    and it doesn't work.
    Any ideas?
    Thanks,
    Razvan
    null

    Dear Sateesh,
    Declare xlst variables at start of xsl program like below
                             <xsl:output method="xml" indent="yes"/>
         <xsl:variable name="today_formatted" select="java:java.text.SimpleDateFormat.new('yyyyMMdd')"/>
         <xsl:variable name="time_formatted" select="java:java.text.SimpleDateFormat.new('HHmmss')"/>
          and use them in xsl mapping
    <xsl:value-of select="substring(concat(java:format($today_formatted, $date),$blanks),1,8)"/>
    <xsl:value-of select="substring(concat(java:format($time_formatted, $date),$blanks),1,6)"/>
    thanks,
    madhu

  • Mapviewer Java Class Documentation

    Is the Mapviewer java clase documented anywhere?
    TIA

    It is described in the mapviewer user's guide (accessible from OTN mapviewer site or the iAS 9.0.4/10.1.2 documentation library).
    Detailed JavaDoc references of this API can be accessed off the main (Welcome) page of a typical MapViewer installation, including the quick start kit.

  • How to download Java API documentation?

    How to download Java API documentation?

    Oh my... don't the question in here just get more and
    more basic?
    Try and have a look at http://java.sun.com/docs/
    Tell me if you need help with pressing on any of the
    links at that page.
    :)I keep pressing on the links and nothing happens and now my screen is covered in finger smudges.

  • Native extension - compiler issue

    Hi,
    First, I compile an iOS app with a native extension developped by ADOBE : http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html#articl econtentAdobe_numberedheader_3
    It's work well
    Then, I made myself the iOS library on xcode. It's OK as well
    Then, I made the ANE file following the tutorial http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/. It's seem OK
    I create my air app with Flash Builder. I load ANE, SWC...everything seem ok
    When I compile my Iphone Application with Flex, there is this error :
    An erreor appears during the application packaging (my translation):
    ld warning: in C:\\Users\\Tony\\AppData\\Local\\Temp\\c6468656-be35-4f05-8d51-0dd54063cefd/libcom.adobe. LEDTorch.a, file is not of required architecture
    Undefined symbols:
      "_ExtFinalizer", referenced from:
          _g_com_adobe_air_fre_fmap in extensionglue.o
      "_ExtInitializer", referenced from:
          _g_com_adobe_air_fre_fmap in extensionglue.o
    ld: symbol(s) not found
    Compilation failed while executing : ld64
    Someone could help me?
    I'm working on this bug for 2 days
    Thanks in advance !
    Emmanuel

    Hi,
    Apparently, the issue  is the following:  (find in the forum of
    http://www.liquid-photo.com/2011/10/28/native-extension-for-adobe-air-and-ios-101/#comment -322
    Apparently X-Code was trying to build NativeAlert.m as Objective-C++ source
    instead of Objective-C source. Silly mistake really. It took starting the
    project over again and trauling through the project settings to figure out
    what was wrong. Oh well, all sorted now.
    But i didn't succeed in setting the project with the corrects parameter.
    Could you help me?
    Thanks in advance
    Regards
    E.Fuchs
    2012/2/10 Saumitra Bhave <[email protected]>
       Re: Native extension - compiler issue  created by Saumitra Bhave<http://forums.adobe.com/people/SaumiB>in
    Mobile Development - View the full discussion<http://forums.adobe.com/message/4198519#4198519>

  • Deploying Java extensions by Java installers

    Hi!
    I've developed an Applet that needs a couple of Java extensions (Java Advanced Imaging + Image I/O Tools for JAI) in order to correctly run. I've put an appropriate MANIFEST file into my applet's JAR and signed my applet with a valid certificate.
    Java Advanced Imaging is shipped with an appropriate native installer by Sun: so I put appropriate entries in my Applet MANIFEST file, which cause the native installer to be executed the first time my Applet gets loaded by a client:
    jai-Extension-Name: javax.media.jai
    jai-Specification-Version: 1.1-mr
    jai-Implementation-Version: 1.1.2
    jai-Implementation-Vendor-Id: com.sun
    jai-Implementation-URL: http://myserver/myAppletDir/jai_windows-i586.jar
    One first question is: the "Implementation-URL" manifest parameter has to be an ABSOLUTE http URL? I've tried to specify relative URLs, but I got errors. It would be extremely useful to be able to specify the extension implementation URL as a relative URL, with respect to the applet Code Base...
    In any case, if you specify an absolute URL, this extension is regularly installed on the client the first time my Applet is loaded into the client's browser.
    I have some problems with the installation of the other extension (Image I/O Tools for JAI): this extension is shipped by Sun as a set of JAR and DLL native files (for Windows), with no automatic installer. The JAR files have to be copied into %JRE_HOME%/lib/ext, while the DLL files have to be copied into %JRE_HOME%/bin.
    I am trying to develop a Java application that would act as a Java installer to be listed among the Java extensions required by my applet. This application would take care of copying the required files into the required directories. I added the following lines to my Applet's MANIFEST:
    jiio-Extension-Name: jiio
    jiio-Specification-Version: 1.0
    jiio-Implementation-Version: 1.0
    jiio-Implementation-Vendor-Id: com.sun
    jiio-Implementation-URL: http://myServer/myAppletDir/MyJavaInst.jar
    Also, I packed my Java application into a JAR file, with appropriate manifest, and signed it.
    This Java application is actually executed when my Applet loads, and correctly executes its code.
    The problem is that this Java application/installer gets executed EVERY time I load my Applet, not just the first time. How can I avoid this behavior? How could I say to the Java Plug-in that this extension has already been installed?
    Thanks a lot for any help / suggestion.
    Best regards,
    Marco.

    I solved the problem of multiple installations of the Image I/O extension, by modifying the manifest of my JAR archive as follows:
    jiio-Extension-Name: com.sun.media.imageio
    jiio-Specification-Version: 1.0-rc
    jiio-Implementation-Version: 1.0-rc
    jiio-Implementation-Vendor-Id: com.sun
    jiio-Implementation-URL: http://myServer/myAppletDir/MyJavaInst.jar
    Since one of the extensions installed by my Java installer is a signed extension having "com.sun.media.imageio" as Extension-Name and the versions as specified, my Java Installer is run only the first time the Applet is loaded on the client.
    But I still have the problem of the "Implementation-URL" parameter: is it possible to specify this URL as a RELATIVE URL (with respect to my Applet's codebase) instead of as an ABSOLUTE URL?
    Any help / hint would be greatly appreciated.
    Thank you,
    Marco.

  • Java extension functions

    I am trying to execute XSL transformation of XML document in Oracle 9i database
    and I am using java extension function in XSL stylesheet.
    The XSL stylesheet namespace for the extension function is defined as follows:
    xmlns:distance="http://www.oracle.com/XSL/Transform/java/Helper
    Apparently the Oracle XSLT processor can not resolve this reference.
    However, the error message is somewhat misleading:
    ORA-03113: end-of-file on communication channel
    I tried to load the java helper function in the database but this does not help.
    I would appreciate if you could give me some info how to resolve the reference to a java extension function in Oracle 9i database.
    Thanks in advance.

    We are trying to run java extension functions in Oracle 8i (8.1.7), using the 9.2.0.2 XDK and running into a similar problem.
    For testing, the following xsl was used :
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" exclude-result-prefixes="math"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://www.oracle.com/XSL/Transform/java/java.lang.Math">
    <xsl:template match="/">
    <xsl:value-of select="math:ceil(12.34)"/>
    </xsl:template>
    </xsl:stylesheet>
    A stack trace yields the following:
    java.lang.NullPointerException
    at oracle.xml.parser.v2.XSLExtFunctions.getClass(XSLExtFunctions.java:351)
    at oracle.xml.parser.v2.XSLExtFunctions.getMethod(XSLExtFunctions.java:229)
    at oracle.xml.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:178)
    at oracle.xml.parser.v2.XPathExtFunction.getValue(XPathExtFunction.java:137)
    at oracle.xml.parser.v2.XSLExprBase.getStringValue(XSLExprBase.java:369)
    at oracle.xml.parser.v2.XSLValueOf.processAction(XSLValueOf.java:99)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:369)
    at oracle.xml.parser.v2.XSLTemplate.processAction(XSLTemplate.java:200)
    at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:473)
    at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:450)
    at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:248)
    at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:138)
    at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:210)
    Seems like the classloader cannot find the java class files or having some access-related problems.
    Any help is appreciated.
    Thanks,
    Atul

  • EP6SP2 Portal patch 4prob: java developement - documentation not running

    hi,
    Before applying EP6SP2 portal patch 4 everything was working fine ... but after applying portal patch 4 <b>java developement -> Documentation and examples tabs</b>are not working ... It is giving <b>Portal runtime error ....... page could not create the iview.</b>
    has neone got this error before?
    rgds,
    Nilz

    Hi vibhu,
    this is the detailed error i am getting .....
    <i>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/developercontent/portaldevelopmentkit/Roles/com.sap.pdk.JavaDeveloper/com.sap.portal.pdk.Documentation/com.sap.portal.pdk.GettingStarted/com.sap.portal.pdk.GettingStarted
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file
    </i>
    rgds,
    Nilz

  • SQL Developer Java Extension possible?

    Hello,
    I need to parse Oracle SQL queries (to get information about tables used in queries and kind of filtering criteria) for some project.
    So, I would like to know if SQL Developer exposes such features in the context of Java extensions.
    Moreover, I've read a thread dealing with SQL Devloper java extensions but the sample does exist anymore, are there some docs available somewhere else?
    Thanks for your comments.
    Regards,
    Loïc

    Hi,
    If you get JDeveloper and download the ESDK (extension SDK), there are a set of sample extensions that you will find helpful in getting up to speed with some of the terms used (commands, actions, the different parts of the IDE, etc) - quite a few of them "just work" with SQL Developer without any fiddling.
    It would be nice to have a bit more visibility of the SQL Developer specifics, though...
    HTH,
    John

Maybe you are looking for

  • Computer constantly restarting due to an error - 2010 Macbook Pro

    Hi guys, so this is my first post here in the service community so please let me know if I need to provide any additional information. Anyway, on to the issue.  So this has been going on for a while now, but in the last month or so it has really gott

  • Netui:form in edit mode

    Hi, I am trying to use netui:form in the JSP of the edit mode like this : <netui:form action="testAction">      <netui:button value="Valider" type="submit"/>      <netui:button value="Annuler" type="reset"/> </netui:form> but I always get the followi

  • JTree properties

    Hi all! I guess this is a simple problem for most of you guys... How to change color of the lines in JTree that connect opened nodes? I guess there must be some property like "JTree.lineColor" because this color changes with changing LookAndFeel. I h

  • Sometimes the screen goes purple when in at a certain angle

    When I open the screen, at a certain angle/position the screen suddenly goes purple at the top, and the purple spreads all the way and covers the whole screen, and then it goes sort of black, and then shakes a bit and goes back to normal. its not com

  • Appleworks database to windows programs

    I have a AW database file that I use for creating mailing labels. I am no longer the person in charge of doing the labels or mailing. Can I translate my AW file to something that can be used by several different windows apps for creating labels. Part