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

Backup error when in-memory with jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 10.8.2.2
    • None
    • Store

    Description

      connect 'jdbc:derby://localhost:1527/memory:imdb4tf;create=true';
      call sqlj.install_jar('E:\baocr\NetBeansProjects\derbyFunc\dist\derbyFunc.jar', 'app.bcrFunc',0);
      call syscs_util.syscs_set_database_property('derby.database.classpath', 'app.bcrFunc');
      CREATE FUNCTION regexp_substr
      ( srcstr varchar(100), pattern varchar(100))
      RETURNS varchar(100)
      PARAMETER STYLE JAVA
      NO SQL LANGUAGE JAVA
      EXTERNAL NAME 'bcr.derby.MyFunc.regexp_substr';

      call syscs_util.syscs_backup_database('C:\Users\Albert\derby-IMDB');
      ------------------------
      错误代码 -1, SQL 状态XSRS5: 在备份期间将文件从 (db=E:\baocr\.netbeans-derby\imdb4tf)E:\baocr\.netbeans-derby\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459#exists=true, isDirectory=false, length=2698, canWrite=true 复制到 C:\Users\Albert\derby-IMDB\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459 时出错。
      ------------------
      help please!

      Attachments

        Activity

          People

            Unassigned Unassigned
            baocr Albert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: