Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4557

Make it possible to parameterize ij scripts.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Tools
    • None
    • Newcomer

    Description

      It would be nice to be able to parameterize ij scripts. At a high level, this would be akin to the $N parameters which you pass on the command line to Unix shell scripts. I think it would be easiest to understand if parameter substitution happened before the script was handed to the ij parser.

      It would be nice to write something like the following:

      connect 'jdbc:derby:$1;user=$2;password=$3';

      insert into $4( a ) values ( $5 );

      or something like this:

      connect 'jdbc:derby:${dbname};user=${user};password=${password}';

      insert into ${tableName} values ( ${intValue} );

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: