|
From: <mla...@us...> - 2002-08-04 01:07:16
|
Update of /cvsroot/dbunit/dbunit/src/sql
In directory usw-pr-cvs1:/tmp/cvs-serv24183/dbunit/src/sql
Modified Files:
hypersonic.sql
Log Message:
I added a system property that allows schema, table and column names escaping.
The property value is an escape pattern where the ? is replaced by the name.
For example, the pattern "[?]" is expanded as "[MY_NAME]" for a table named
"MY_TABLE".
Attention this feature is not compatible with the qualified names name feature!
Index: hypersonic.sql
===================================================================
RCS file: /cvsroot/dbunit/dbunit/src/sql/hypersonic.sql,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** hypersonic.sql 26 Mar 2002 15:40:11 -0000 1.4
--- hypersonic.sql 4 Aug 2002 01:07:13 -0000 1.5
***************
*** 29,32 ****
--- 29,44 ----
COLUMN3 VARCHAR(32));
+ /*
+ -----------------------------------------------------------------------------
+ -- ESCAPED TABLE
+ -----------------------------------------------------------------------------
+
+ CREATE TABLE "ESCAPED TABLE"
+ (COLUMN0 VARCHAR(32),
+ COLUMN1 VARCHAR(32),
+ COLUMN2 VARCHAR(32),
+ "COLUMN 3" VARCHAR(32));
+ */
+
-----------------------------------------------------------------------------
-- PK_TABLE
***************
*** 46,50 ****
CREATE TABLE ONLY_PK_TABLE
(PK0 NUMERIC(38, 0) NOT NULL PRIMARY KEY);
!
-----------------------------------------------------------------------------
-- EMPTY_MULTITYPE_TABLE
--- 58,62 ----
CREATE TABLE ONLY_PK_TABLE
(PK0 NUMERIC(38, 0) NOT NULL PRIMARY KEY);
!
-----------------------------------------------------------------------------
-- EMPTY_MULTITYPE_TABLE
|