From 8b486ee057cb41cba7b582ffd50d43e33ee8a3e7 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 23 Sep 2013 17:34:03 +0200 Subject: [PATCH] [#2352] Enhance to allow for forcing a type upon all columns / parameters / attributes of a given data type - Regenerated SQL Server test schema --- .../configuration/lukas/sqlserver/library.xml | 18 +++ .../src/org/jooq/test/sqlserver/create.sql | 3 + .../generatedclasses/tables/TDates.java | 17 ++- .../tables/records/TAuthorRecord.java | 16 ++- .../tables/records/TBookRecord.java | 19 ++- .../tables/records/TBookStoreRecord.java | 11 +- .../records/TBookToBookStoreRecord.java | 13 +- .../tables/records/TBooleansRecord.java | 21 ++- .../tables/records/TDatesRecord.java | 121 +++++++++++++++++- .../tables/records/TExoticTypesRecord.java | 12 +- .../tables/records/TIdentityPkRecord.java | 12 +- .../tables/records/TIdentityRecord.java | 12 +- .../tables/records/TLanguageRecord.java | 14 +- .../tables/records/TTriggersRecord.java | 13 +- .../tables/records/TUnsignedRecord.java | 14 +- .../records/T_639NumbersTableRecord.java | 23 +++- .../tables/records/T_725LobTestRecord.java | 12 +- .../tables/records/T_785Record.java | 13 +- .../tables/records/VAuthorRecord.java | 16 ++- .../tables/records/VBookRecord.java | 19 ++- .../tables/records/VLibraryRecord.java | 12 +- .../tables/records/XTestCase_2025Record.java | 12 +- .../tables/records/XTestCase_64_69Record.java | 12 +- .../tables/records/XTestCase_71Record.java | 12 +- .../tables/records/XTestCase_85Record.java | 13 +- .../tables/records/XUnusedRecord.java | 24 +++- 26 files changed, 454 insertions(+), 30 deletions(-) diff --git a/jOOQ-test/configuration/org/jooq/configuration/lukas/sqlserver/library.xml b/jOOQ-test/configuration/org/jooq/configuration/lukas/sqlserver/library.xml index f906b62fb6..28c55afcac 100644 --- a/jOOQ-test/configuration/org/jooq/configuration/lukas/sqlserver/library.xml +++ b/jOOQ-test/configuration/org/jooq/configuration/lukas/sqlserver/library.xml @@ -52,6 +52,24 @@ (?i:(.*?.)?T_BOOLEANS.(VC|C|N)_BOOLEAN) + + + VARCHAR + .*1.* + (?i:datetimeoffset) + + + DATETIMEOFFSET + .*2.* + (?i:datetimeoffset) + + + DATE + (?i:datetimeoffset) + +