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 "Albert (JIRA)" <ji...@apache.org> on 2013/06/21 09:44:19 UTC

[jira] [Created] (DERBY-6271) Backup error when in-memory with jar

Albert created DERBY-6271:
-----------------------------

             Summary: Backup error when in-memory with jar
                 Key: DERBY-6271
                 URL: https://issues.apache.org/jira/browse/DERBY-6271
             Project: Derby
          Issue Type: Bug
    Affects Versions: 10.8.2.2
            Reporter: Albert


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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira