blob: 7a8665e5f9a401c729e581501c8f61bd89994389 [file] [log] [blame]
ij> --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may not use this file except in compliance with
-- the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- Use a valid attribute, but do not display message.
connect 'jdbc:derby:wombat;dataEncryption=true';
WARNING 01J17: You cannot encrypt, re-encrypt, or decrypt a database which is already booted. You must shutdown the database before attempting these operations.
ij(CONNECTION1)> -- Find an unknown attribute.
connect 'jdbc:derby:wombat;unknown=x';
URL Attribute [unknown=x]
Attribute is unknown to Derby.
ij(CONNECTION2)> -- Check for duplicate.
connect 'jdbc:derby:wombat;dataEncryption=true;dataEncryption=false';
URL Attribute [dataEncryption=true]
Attribute is a duplicate.
URL Attribute [dataEncryption=false]
Attribute is a duplicate.
ERROR XJ05B: JDBC attribute 'dataEncryption' has an invalid value 'false', valid values are 'true'.
ij(CONNECTION2)> -- Perform case check.
connect 'jdbc:derby:wombat;dataencryption=true';
URL Attribute [dataencryption=true]
Attribute is unknown to Derby.
ij(CONNECTION3)> -- Check for true/false.
connect 'jdbc:derby:wombat;dataEncryption=x';
ERROR XJ05B: JDBC attribute 'dataEncryption' has an invalid value 'x', valid values are '{true|false}'.
ij(CONNECTION3)>