You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kim Haase (JIRA)" <ji...@apache.org> on 2011/08/01 17:12:09 UTC

[jira] [Commented] (DERBY-5361) Document use of URLs with SQLJ.INSTALL_JAR

    [ https://issues.apache.org/jira/browse/DERBY-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073568#comment-13073568 ] 

Kim Haase commented on DERBY-5361:
----------------------------------

Thanks, Dag!

The first example in http://db.apache.org/derby/docs/dev/ref/rrefstorejarinstall.html doesn't actually have a directory name, so I guess that is required only if the file is not in the current directory. Would it make sense to add another example similar to the example for REPLACE_JAR, which does use the directory name?


> Document use of URLs with SQLJ.INSTALL_JAR
> ------------------------------------------
>
>                 Key: DERBY-5361
>                 URL: https://issues.apache.org/jira/browse/DERBY-5361
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5361.diff, DERBY-5361.stat, DERBY-5361.zip
>
>
> The reference manual's topic on SQLJ.INSTALL_JAR says the first argument is the path of the jar file to add. That argument doesn't have to be a file path, it can also be a URL.
> Changes needed:
> - rename JAR_FILE_PATH to JAR_FILE_URL (or perhaps JAR_FILE_PATH_OR_URL?)
> - update description of said parameter to reflect that it can also take a URL
> - add a new example in the SQL examples paragraph:
> -- SQL statement
> -- install jar from remote location
> CALL SQLJ.INSTALL_JAR('http://www.example.com/tours.jar', 'APP.Sample3', 0)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira