SetupDb.exe.config 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <appSettings>
  4. <add key="databases" value="mysql;mssql;postgres;oracle" />
  5. </appSettings>
  6. <configSections>
  7. <section name="mysql" type="SectionHandlers.SectionHandler, Setup" allowLocation="true"/>
  8. <section name="mssql" type="SectionHandlers.SectionHandler, Setup" allowLocation="true"/>
  9. <section name="postgres" type="SectionHandlers.SectionHandler, Setup" allowLocation="true"/>
  10. <section name="oracle" type="SectionHandlers.SectionHandler, Setup" allowLocation="true"/>
  11. </configSections>
  12. <mysql>
  13. <database>
  14. <name> mysql </name>
  15. <connectionString> "Server=164.99.152.215;Database=mysql;User Id=sudha;Password=novell" </connectionString>
  16. </database>
  17. <createStoredProc>N</createStoredProc>
  18. <deleteTables>Y</deleteTables>
  19. <createTables>Y</createTables>
  20. <insertData>Y</insertData>
  21. <tables>
  22. <numTables> 3 </numTables>
  23. <table1>
  24. <name>numericTable </name>
  25. <numColumns>15</numColumns>
  26. <column1>
  27. <name> serialNo </name>
  28. <type> TINYINT UNSIGNED</type>
  29. <constraint> primary key </constraint>
  30. </column1>
  31. <column2>
  32. <name> unsigned_tinyInt </name>
  33. <type> TINYINT UNSIGNED</type>
  34. </column2>
  35. <column3>
  36. <name> signed_tinyInt </name>
  37. <type> TINYINT </type>
  38. </column3>
  39. <column4>
  40. <name> bit </name>
  41. <type> BIT </type>
  42. </column4>
  43. <column5>
  44. <name> bool </name>
  45. <type> BOOL </type>
  46. </column5>
  47. <column6>
  48. <name> unsigned_smallint</name>
  49. <type> SMALLINT UNSIGNED</type>
  50. </column6>
  51. <column7>
  52. <name> signed_smallint</name>
  53. <type> SMALLINT </type>
  54. </column7>
  55. <column8>
  56. <name> unsigned_mediumint</name>
  57. <type> MEDIUMINT UNSIGNED</type>
  58. </column8>
  59. <column9>
  60. <name> signed_mediumint</name>
  61. <type> MEDIUMINT </type>
  62. </column9>
  63. <column10>
  64. <name> unsigned_int</name>
  65. <type> INT UNSIGNED</type>
  66. </column10>
  67. <column11>
  68. <name> signed_int</name>
  69. <type> INT </type>
  70. </column11>
  71. <column12>
  72. <name> unsigned_integer</name>
  73. <type> INTEGER UNSIGNED</type>
  74. </column12>
  75. <column13>
  76. <name> signed_integer</name>
  77. <type> INTEGER </type>
  78. </column13>
  79. <column14>
  80. <name> unsigned_bigint</name>
  81. <type> BIGINT UNSIGNED </type>
  82. </column14>
  83. <column15>
  84. <name> signed_bigint</name>
  85. <type> BIGINT </type>
  86. </column15>
  87. </table1>
  88. <table2>
  89. <name>realNoTable </name>
  90. <numColumns>11</numColumns>
  91. <column1>
  92. <name> serialNo </name>
  93. <type> TINYINT UNSIGNED </type>
  94. <constraint> primary key </constraint>
  95. </column1>
  96. <column2>
  97. <name> unsigned_float </name>
  98. <type> FLOAT(24) UNSIGNED </type>
  99. </column2>
  100. <column3>
  101. <name> signed_float </name>
  102. <type> FLOAT(24) </type>
  103. </column3>
  104. <column4>
  105. <name> unsigned_double_float </name>
  106. <type> FLOAT(25) UNSIGNED</type>
  107. </column4>
  108. <column5>
  109. <name> signed_double_float </name>
  110. <type> FLOAT(53) </type>
  111. </column5>
  112. <column6>
  113. <name> unsigned_double</name>
  114. <type> DOUBLE UNSIGNED </type>
  115. </column6>
  116. <column7>
  117. <name> signed_double</name>
  118. <type> DOUBLE </type>
  119. </column7>
  120. <column8>
  121. <name> unsigned_double_precision</name>
  122. <type> DOUBLE PRECISION UNSIGNED</type>
  123. </column8>
  124. <column9>
  125. <name> signed_real</name>
  126. <type> REAL </type>
  127. </column9>
  128. <column10>
  129. <name> unsigned_decimal</name>
  130. <type> DECIMAL(6,3) UNSIGNED</type>
  131. </column10>
  132. <column11>
  133. <name> signed_numeric</name>
  134. <type> NUMERIC(5,3) </type>
  135. </column11>
  136. </table2>
  137. <table3>
  138. <name>dateTable </name>
  139. <numColumns>6</numColumns>
  140. <column1>
  141. <name> serialNo </name>
  142. <type> TINYINT UNSIGNED </type>
  143. <constraint> primary key </constraint>
  144. </column1>
  145. <column2>
  146. <name> dateField</name>
  147. <type> DATE </type>
  148. </column2>
  149. <column3>
  150. <name> datetimeField</name>
  151. <type> DATETIME </type>
  152. </column3>
  153. <column4>
  154. <name> timestampField</name>
  155. <type> TIMESTAMP </type>
  156. </column4>
  157. <column5>
  158. <name> timeField</name>
  159. <type> TIME </type>
  160. </column5>
  161. <column6>
  162. <name> yearField</name>
  163. <type> YEAR </type>
  164. </column6>
  165. </table3>
  166. </tables>
  167. <values>
  168. <numTables>3</numTables>
  169. <table1>
  170. <tableName>numericTable</tableName>
  171. <numRows>4</numRows>
  172. <numCols>15</numCols>
  173. <row1>
  174. <column1> 1 </column1>
  175. <column2> 0</column2>
  176. <column3> -128</column3>
  177. <column4> -128</column4>
  178. <column5> -128</column5>
  179. <column6> 0 </column6>
  180. <column7> -32768 </column7>
  181. <column8> 0</column8>
  182. <column9> -8388608 </column9>
  183. <column10> 0 </column10>
  184. <column11> -2147483648 </column11>
  185. <column12> 0 </column12>
  186. <column13> -2147483648 </column13>
  187. <column14> 0 </column14>
  188. <column15> -9223372036854775808 </column15>
  189. </row1>
  190. <row2>
  191. <column1> 2 </column1>
  192. <column2> 100</column2>
  193. <column3> 50 </column3>
  194. <column4> 100 </column4>
  195. <column5> 100 </column5>
  196. <column6> 3000 </column6>
  197. <column7> -300 </column7>
  198. <column8> 500000 </column8>
  199. <column9> -100000 </column9>
  200. <column10> 4000000 </column10>
  201. <column11> 500000 </column11>
  202. <column12> 4000000 </column12>
  203. <column13> 500000 </column13>
  204. <column14> 5000000000 </column14>
  205. <column15> -5000000000 </column15>
  206. </row2>
  207. <row3>
  208. <column1> 3 </column1>
  209. <column2> 255</column2>
  210. <column3> 127</column3>
  211. <column4> 127</column4>
  212. <column5> 127</column5>
  213. <column6> 65535</column6>
  214. <column7> 32767 </column7>
  215. <column8> 16777215 </column8>
  216. <column9> 8388607 </column9>
  217. <column10> 4294967295 </column10>
  218. <column11> 2147483647 </column11>
  219. <column12> 4294967295 </column12>
  220. <column13> 2147483647 </column13>
  221. <column14> 18446744073709551615 </column14>
  222. <column15> 9223372036854775807 </column15>
  223. </row3>
  224. <row4>
  225. <column1> 4 </column1>
  226. <column2> null </column2>
  227. <column3> null </column3>
  228. <column4> null </column4>
  229. <column5> null </column5>
  230. <column6> null </column6>
  231. <column7> null </column7>
  232. <column8> null </column8>
  233. <column9> null </column9>
  234. <column10> null </column10>
  235. <column11> null </column11>
  236. <column12> null </column12>
  237. <column13> null </column13>
  238. <column14> null </column14>
  239. <column15> null </column15>
  240. </row4>
  241. </table1>
  242. <table2>
  243. <tableName>realNoTable</tableName>
  244. <numRows>6</numRows>
  245. <numCols>11</numCols>
  246. <row1>
  247. <column1> 1 </column1>
  248. <column2> 0 </column2>
  249. <column3> 0 </column3>
  250. <column4> 0 </column4>
  251. <column5> 0 </column5>
  252. <column6> 0 </column6>
  253. <column7> 0 </column7>
  254. <column8> 0 </column8>
  255. <column9> 0 </column9>
  256. <column10> 0 </column10>
  257. <column11> 0 </column11>
  258. </row1>
  259. <row2>
  260. <column1> 2 </column1>
  261. <column2> 1.175494351E-38 </column2>
  262. <column3> -3.402823466E+38 </column3>
  263. <column4> 1.175494351E-38 </column4>
  264. <column5> -1.797693134862315E+308 </column5>
  265. <column6> 1.175494351E-38 </column6>
  266. <column7> -1.797693134862315E+308 </column7>
  267. <column8> 1.175494351E-38 </column8>
  268. <column9> -1.797693134862315E+308 </column9>
  269. <column10> 99.999 </column10>
  270. <column11> -23.456 </column11>
  271. </row2>
  272. <row3>
  273. <column1> 3 </column1>
  274. <column2> 3.402823466E+38 </column2>
  275. <column3> -1.175494351E-38 </column3>
  276. <column4> 3.402823466E+38 </column4>
  277. <column5> -2.2250738585072014E-308 </column5>
  278. <column6> 3.402823466E+38 </column6>
  279. <column7> -2.2250738585072014E-308 </column7>
  280. <column8> 3.402823466E+38 </column8>
  281. <column9> -2.2250738585072014E-308 </column9>
  282. <column10> 778.123 </column10>
  283. <column11> -99.999 </column11>
  284. </row3>
  285. <row4>
  286. <column1> 4 </column1>
  287. <column2> 1.2345E+20</column2>
  288. <column3> 1.175494351E-38 </column3>
  289. <column4> 1.2345E+20 </column4>
  290. <column5> 2.2250738585072014E-308 </column5>
  291. <column6> 1.2345E+20 </column6>
  292. <column7> 2.2250738585072014E-308 </column7>
  293. <column8> 1.2345E+20 </column8>
  294. <column9> 2.2250738585072014E-308 </column9>
  295. <column10> 308.90 </column10>
  296. <column11> 12.345 </column11>
  297. </row4>
  298. <row5>
  299. <column1> 5 </column1>
  300. <column2> 3.452E-19</column2>
  301. <column3> 3.402823466E+38 </column3>
  302. <column4> 4.32E-15 </column4>
  303. <column5> 1.797693134862315E+308 </column5>
  304. <column6> 4.32E-15 </column6>
  305. <column7> 1.797693134862315E+308 </column7>
  306. <column8> 4.32E-15 </column8>
  307. <column9> 1.797693134862315E+308 </column9>
  308. <column10> 999.999 </column10>
  309. <column11> 999.999 </column11>
  310. </row5>
  311. <row6>
  312. <column1> 6 </column1>
  313. <column2> null </column2>
  314. <column3> null </column3>
  315. <column4> null </column4>
  316. <column5> null </column5>
  317. <column6> null </column6>
  318. <column7> null </column7>
  319. <column8> null </column8>
  320. <column9> null </column9>
  321. <column10> null </column10>
  322. <column11> null </column11>
  323. </row6>
  324. </table2>
  325. <table3>
  326. <tableName>dateTable</tableName>
  327. <numRows>9</numRows>
  328. <numCols>6</numCols>
  329. <row1>
  330. <column1> 1 </column1>
  331. <column2> '1000-01-01' </column2>
  332. <column3> '1000-01-01 00:00:00' </column3>
  333. <column4> '1970-01-02 00:00:00' </column4>
  334. <column5> '-23:59:59' </column5>
  335. <column6> 2004 </column6>
  336. </row1>
  337. <row2>
  338. <column1> 2 </column1>
  339. <column2> '1999-12-17' </column2>
  340. <column3> '1999-12-17 08:00:00' </column3>
  341. <column4> '2000-01-01 04:40:00' </column4>
  342. <column5> '-23:45:56' </column5>
  343. <column6> 1999 </column6>
  344. </row2>
  345. <row3>
  346. <column1> 3 </column1>
  347. <column2> '9999-12-31' </column2>
  348. <column3> '9999-12-31 23:59:59' </column3>
  349. <column4> '2037-12-31 23:59:59' </column4>
  350. <column5> '23:59:59' </column5>
  351. <column6> 2155</column6>
  352. </row3>
  353. <row4>
  354. <column1> 4 </column1>
  355. <column2> '1999@12@31' </column2>
  356. <column3> '1999@12@31 11+30+45' </column3>
  357. <column4> '1999@12@31 11+30+45' </column4>
  358. <column5> '12:23:34' </column5>
  359. <column6> 1901</column6>
  360. </row4>
  361. <row5>
  362. <column1> 5 </column1>
  363. <column2> '9999.11.18' </column2>
  364. <column3> '9999.11.18 11*45*50' </column3>
  365. <column4> '2037.11.18 11*45*50' </column4>
  366. <column5> '23:34:34' </column5>
  367. <column6> 2069 </column6>
  368. </row5>
  369. <row6>
  370. <column1> 6 </column1>
  371. <column2> '9999/11/09' </column2>
  372. <column3> '9999/11/09 12:23:34' </column3>
  373. <column4> '2037/11/09 12:23:34' </column4>
  374. <column5> '09:08:07' </column5>
  375. <column6> 1970</column6>
  376. </row6>
  377. <row7>
  378. <column1> 7 </column1>
  379. <column2> 19980404 </column2>
  380. <column3> 19980404083050 </column3>
  381. <column4> 19980404083050 </column4>
  382. <column5> 083045 </column5>
  383. <column6> 0000</column6>
  384. </row7>
  385. <row8>
  386. <column1> 8 </column1>
  387. <column2> '0000-00-00' </column2>
  388. <column3> '0000-00-00 00:00:00' </column3>
  389. <column4> 00000000000000 </column4>
  390. <column5> '00:00:00'</column5>
  391. <column6> 00</column6>
  392. </row8>
  393. <row9>
  394. <column1> 9 </column1>
  395. <column2> null </column2>
  396. <column3> null </column3>
  397. <column4> null </column4>
  398. <column5> null </column5>
  399. <column6> null </column6>
  400. </row9>
  401. </table3>
  402. </values>
  403. </mysql>
  404. <mssql>
  405. <database>
  406. <name> mssql </name>
  407. <connectionString> Server=164.99.155.85;Database=mono-test;User ID=sa;Password=novell;</connectionString>
  408. </database>
  409. <createStoredProc>N</createStoredProc>
  410. <deleteTables>Y</deleteTables>
  411. <createTables>Y</createTables>
  412. <insertData>Y</insertData>
  413. <tables>
  414. <numTables> 5 </numTables>
  415. <table1>
  416. <name>numericTable </name>
  417. <numColumns>6</numColumns>
  418. <column1>
  419. <name> sNo </name>
  420. <type> tinyint </type>
  421. <constraint> primary key </constraint>
  422. </column1>
  423. <column2>
  424. <name> bigInteger </name>
  425. <type> bigint </type>
  426. </column2>
  427. <column3>
  428. <name> integer </name>
  429. <type>int</type>
  430. </column3>
  431. <column4>
  432. <name> smallInteger </name>
  433. <type> smallint </type>
  434. </column4>
  435. <column5>
  436. <name> tinyInt </name>
  437. <type> tinyint </type>
  438. </column5>
  439. <column6>
  440. <name> bit </name>
  441. <type> bit </type>
  442. </column6>
  443. </table1>
  444. <table2>
  445. <name>dateTimeTable </name>
  446. <numColumns>3</numColumns>
  447. <column1>
  448. <name> sNo </name>
  449. <type> tinyInt </type>
  450. <constraint> primary key </constraint>
  451. </column1>
  452. <column2>
  453. <name> date</name>
  454. <type> datetime </type>
  455. </column2>
  456. <column3>
  457. <name> smalldate </name>
  458. <type> smalldatetime </type>
  459. </column3>
  460. </table2>
  461. <table3>
  462. <name>realNosTable </name>
  463. <numColumns>5</numColumns>
  464. <column1>
  465. <name> sNo </name>
  466. <type> tinyInt </type>
  467. <constraint> primary key </constraint>
  468. </column1>
  469. <column2>
  470. <name> decimalCol </name>
  471. <type> decimal(8,4) </type>
  472. </column2>
  473. <column3>
  474. <name> numericCol </name>
  475. <type> numeric(6,4) </type>
  476. </column3>
  477. <column4>
  478. <name> floatCol </name>
  479. <type> float </type>
  480. </column4>
  481. <column5>
  482. <name> realCol </name>
  483. <type> real </type>
  484. </column5>
  485. </table3>
  486. <table4>
  487. <name>moneyTable </name>
  488. <numColumns>3</numColumns>
  489. <column1>
  490. <name> sNo </name>
  491. <type> tinyInt </type>
  492. <constraint> primary key </constraint>
  493. </column1>
  494. <column2>
  495. <name> money </name>
  496. <type> money </type>
  497. </column2>
  498. <column3>
  499. <name> smallmoney </name>
  500. <type> smallmoney </type>
  501. </column3>
  502. </table4>
  503. <table5>
  504. <name>charTable </name>
  505. <numColumns>5</numColumns>
  506. <column1>
  507. <name> sNo </name>
  508. <type> tinyInt </type>
  509. <constraint> primary key </constraint>
  510. </column1>
  511. <column2>
  512. <name> characterCol </name>
  513. <type> char(20) </type>
  514. </column2>
  515. <column3>
  516. <name> ncharacterCol </name>
  517. <type> nchar(20) </type>
  518. </column3>
  519. <column4>
  520. <name> varchar </name>
  521. <type> varchar(20) </type>
  522. </column4>
  523. <column5>
  524. <name> nvarchar </name>
  525. <type> nvarchar(20) </type>
  526. </column5>
  527. </table5>
  528. </tables>
  529. <values>
  530. <numTables>5</numTables>
  531. <table1>
  532. <tableName>numericTable</tableName>
  533. <numRows>4</numRows>
  534. <numCols>6</numCols>
  535. <row1>
  536. <column1> 1 </column1>
  537. <column2> -9223372036854775808 </column2>
  538. <column3> -2147483648 </column3>
  539. <column4> -32768 </column4>
  540. <column5> 0</column5>
  541. <column6> 0</column6>
  542. </row1>
  543. <row2>
  544. <column1> 2 </column1>
  545. <column2> 1244 </column2>
  546. <column3> -50 </column3>
  547. <column4> 234 </column4>
  548. <column5> 128 </column5>
  549. <column6> 0</column6>
  550. </row2>
  551. <row3>
  552. <column1> 3 </column1>
  553. <column2> 9223372036854775807 </column2>
  554. <column3> 2147483647 </column3>
  555. <column4> 32767 </column4>
  556. <column5> 255 </column5>
  557. <column6> 1</column6>
  558. </row3>
  559. <row4>
  560. <column1> 4 </column1>
  561. <column2> null </column2>
  562. <column3> null </column3>
  563. <column4> null </column4>
  564. <column5> null </column5>
  565. <column6> null </column6>
  566. </row4>
  567. </table1>
  568. <table2>
  569. <tableName> dateTimeTable</tableName>
  570. <numRows>3</numRows>
  571. <numCols>3</numCols>
  572. <row1>
  573. <column1> 1 </column1>
  574. <column2> '1/1/1753 03:04:05.234' </column2>
  575. <column3> '1/1/1970 12:24'</column3>
  576. </row1>
  577. <row2>
  578. <column1> 2 </column1>
  579. <column2> '12/31/9999 00:00:00' </column2>
  580. <column3> '6/6/2079 00:00'</column3>
  581. </row2>
  582. <row3>
  583. <column1> 3 </column1>
  584. <column2> null </column2>
  585. <column3> null </column3>
  586. </row3>
  587. </table2>
  588. <table3>
  589. <tableName> realNosTable</tableName>
  590. <numRows>6</numRows>
  591. <numCols>5</numCols>
  592. <row1>
  593. <column1> 1 </column1>
  594. <column2> -9.99E+3</column2>
  595. <column3> -99 </column3>
  596. <column4> -1.7976931348623157E+308 </column4>
  597. <column5> -3.402823466E+38 </column5>
  598. </row1>
  599. <row2>
  600. <column1> 2 </column1>
  601. <column2> -1.23E3 </column2>
  602. <column3> -12 </column3>
  603. <column4> -2.2250738585072014E-308 </column4>
  604. <column5> -3.4E-38 </column5>
  605. </row2>
  606. <row3>
  607. <column1> 3 </column1>
  608. <column2> 0 </column2>
  609. <column3> 0 </column3>
  610. <column4> 0 </column4>
  611. <column5> 0 </column5>
  612. </row3>
  613. <row4>
  614. <column1> 4 </column1>
  615. <column2> 1.2E1 </column2>
  616. <column3> 12 </column3>
  617. <column4> 2.2250738585072014E-308 </column4>
  618. <column5> 4.56E-3 </column5>
  619. </row4>
  620. <row5>
  621. <column1> 5 </column1>
  622. <column2> 9.999E3 </column2>
  623. <column3> 99 </column3>
  624. <column4> 1.7976931348623157E+308 </column4>
  625. <column5> 3.4E+38 </column5>
  626. </row5>
  627. <row6>
  628. <column1> 6 </column1>
  629. <column2> null </column2>
  630. <column3> null </column3>
  631. <column4> null </column4>
  632. <column5> null </column5>
  633. </row6>
  634. </table3>
  635. <table4>
  636. <tableName> moneyTable</tableName>
  637. <numRows>4</numRows>
  638. <numCols>3</numCols>
  639. <row1>
  640. <column1> 1 </column1>
  641. <column2> -922337203685477.5808 </column2>
  642. <column3> -214748.3648 </column3>
  643. </row1>
  644. <row2>
  645. <column1> 2 </column1>
  646. <column2> 5477.5808 </column2>
  647. <column3> 748.3648 </column3>
  648. </row2>
  649. <row3>
  650. <column1> 3 </column1>
  651. <column2> 922337203685477.5807 </column2>
  652. <column3> 214748.3647 </column3>
  653. </row3>
  654. <row4>
  655. <column1> 4 </column1>
  656. <column2> null </column2>
  657. <column3> null </column3>
  658. </row4>
  659. </table4>
  660. <table5>
  661. <tableName> charTable</tableName>
  662. <numRows>2</numRows>
  663. <numCols>5</numCols>
  664. <row1>
  665. <column1> 1 </column1>
  666. <column2> '12345678901234567890' </column2>
  667. <column3> 'abcdefghijklmnopqrst' </column3>
  668. <column4> 'zyxwvutsrqponmlkjihg' </column4>
  669. <column5> '12345678901234567890' </column5>
  670. </row1>
  671. <row2>
  672. <column1> 2 </column1>
  673. <column2> null </column2>
  674. <column3> null </column3>
  675. <column4> null </column4>
  676. <column5> null </column5>
  677. </row2>
  678. </table5>
  679. </values>
  680. <StoredProc>
  681. <NumStoredProc> 1 </NumStoredProc>
  682. <StoredProc1>
  683. <type> generic </type>
  684. <name> Select_{{TABLE}}_proc </name>
  685. <template>
  686. <numStmts> 1 </numStmts>
  687. <stmt1><![CDATA[
  688. create procedure Select_{{TABLE}}_proc As
  689. BEGIN
  690. Select {{COLUMNS}} from {{TABLE}};
  691. END]]>
  692. </stmt1>
  693. </template>
  694. </StoredProc1>
  695. </StoredProc>
  696. </mssql>
  697. <postgres>
  698. <database>
  699. <name> postgres </name>
  700. <connectionString> Server=164.99.168.144;Database=test;User Id=sudha;Password= </connectionString>
  701. </database>
  702. <createStoredProc>N</createStoredProc>
  703. <deleteTables>Y</deleteTables>
  704. <createTables>Y</createTables>
  705. <insertData>Y</insertData>
  706. <tables>
  707. <numTables> 5 </numTables>
  708. <table1>
  709. <name>numericTable </name>
  710. <numColumns> 4 </numColumns>
  711. <column1>
  712. <name> serialNo </name>
  713. <type> smallint </type>
  714. <constraint> primary key </constraint>
  715. </column1>
  716. <column2>
  717. <name> small_int </name>
  718. <type> smallint </type>
  719. </column2>
  720. <column3>
  721. <name> int </name>
  722. <type> integer </type>
  723. </column3>
  724. <column4>
  725. <name> bigInteger </name>
  726. <type> bigint </type>
  727. </column4>
  728. </table1>
  729. <table2>
  730. <name>realNoTable </name>
  731. <numColumns> 5 </numColumns>
  732. <column1>
  733. <name> serialNo </name>
  734. <type> smallint </type>
  735. <constraint> primary key </constraint>
  736. </column1>
  737. <column2>
  738. <name> numeric_column </name>
  739. <type> numeric(10,6) </type>
  740. </column2>
  741. <column3>
  742. <name> numeric_noscale </name>
  743. <type> decimal(10) </type>
  744. </column3>
  745. <column4>
  746. <name> realNo </name>
  747. <type> real </type>
  748. </column4>
  749. <column5>
  750. <name> doubleNo </name>
  751. <type> double precision </type>
  752. </column5>
  753. </table2>
  754. <table3>
  755. <name> charTable </name>
  756. <numColumns> 4 </numColumns>
  757. <column1>
  758. <name> serialNo </name>
  759. <type> smallint </type>
  760. <constraint> primary key </constraint>
  761. </column1>
  762. <column2>
  763. <name> charColumn </name>
  764. <type> char(20) </type>
  765. </column2>
  766. <column3>
  767. <name> varcharColumn </name>
  768. <type> varchar(20) </type>
  769. </column3>
  770. <column4>
  771. <name> textColumn </name>
  772. <type> text </type>
  773. </column4>
  774. </table3>
  775. <table4>
  776. <name> dateTimeTable </name>
  777. <numColumns> 5 </numColumns>
  778. <column1>
  779. <name> serialNo </name>
  780. <type> smallint </type>
  781. <constraint> primary key </constraint>
  782. </column1>
  783. <column2>
  784. <name> timestampCol </name>
  785. <type> timestamp </type>
  786. </column2>
  787. <column3>
  788. <name> intervalCol </name>
  789. <type> interval </type>
  790. </column3>
  791. <column4>
  792. <name> dateCol </name>
  793. <type> date </type>
  794. </column4>
  795. <column5>
  796. <name> timeCol </name>
  797. <type> time </type>
  798. </column5>
  799. </table4>
  800. <table5>
  801. <name> booleanTable </name>
  802. <numColumns> 2 </numColumns>
  803. <column1>
  804. <name> serialNo </name>
  805. <type> smallint </type>
  806. <constraint> primary key </constraint>
  807. </column1>
  808. <column2>
  809. <name> bool </name>
  810. <type> boolean </type>
  811. </column2>
  812. </table5>
  813. </tables>
  814. <values>
  815. <numTables>5</numTables>
  816. <table1>
  817. <tableName>numericTable</tableName>
  818. <numRows>4</numRows>
  819. <numCols>4</numCols>
  820. <row1>
  821. <column1> 1 </column1>
  822. <column2> -32768 </column2>
  823. <column3> -2147483648 </column3>
  824. <column4> -9223372036854775808 </column4>
  825. </row1>
  826. <row2>
  827. <column1> 2 </column1>
  828. <column2> 123 </column2>
  829. <column3> -648 </column3>
  830. <column4> 0 </column4>
  831. </row2>
  832. <row3>
  833. <column1> 3 </column1>
  834. <column2> 32767 </column2>
  835. <column3> 2147483647 </column3>
  836. <column4> 9223372036854775807 </column4>
  837. </row3>
  838. <row4>
  839. <column1> 4 </column1>
  840. <column2> null </column2>
  841. <column3> null </column3>
  842. <column4> null </column4>
  843. </row4>
  844. </table1>
  845. <table2>
  846. <tableName>realNoTable</tableName>
  847. <numRows>6</numRows>
  848. <numCols>5</numCols>
  849. <row1>
  850. <column1> 1 </column1>
  851. <column2> -9999.999999 </column2>
  852. <column3> -9999999999 </column3>
  853. <column4> -9.99999E-38 </column4>
  854. <column5> -9.999999999999999E-308 </column5>
  855. </row1>
  856. <row2>
  857. <column1> 2 </column1>
  858. <column2> -123.99 </column2>
  859. <column3> -1239 </column3>
  860. <column4> 9.99999E-38 </column4>
  861. <column5> 9.999999999999999E-308 </column5>
  862. </row2>
  863. <row3>
  864. <column1> 3 </column1>
  865. <column2> 0 </column2>
  866. <column3> 0 </column3>
  867. <column4> 0 </column4>
  868. <column5> 0 </column5>
  869. </row3>
  870. <row4>
  871. <column1> 4 </column1>
  872. <column2> 123.99 </column2>
  873. <column3> 123 </column3>
  874. <column4> -9.99999E37 </column4>
  875. <column5> -1.79769313486231E308 </column5>
  876. </row4>
  877. <row5>
  878. <column1> 5 </column1>
  879. <column2> 9999.999999 </column2>
  880. <column3> 9999999999 </column3>
  881. <column4> 9.99999E37 </column4>
  882. <column5> 1.79769313486231E308 </column5>
  883. </row5>
  884. <row6>
  885. <column1> 6 </column1>
  886. <column2> null </column2>
  887. <column3> null </column3>
  888. <column4> null </column4>
  889. <column5> null </column5>
  890. </row6>
  891. </table2>
  892. <table3>
  893. <tableName>charTable</tableName>
  894. <numRows>2</numRows>
  895. <numCols>4</numCols>
  896. <row1>
  897. <column1> 1 </column1>
  898. <column2> 'abcdefghijklmnopqrst' </column2>
  899. <column3> '1234567890' </column3>
  900. <column4> 'This is a fixed length text' </column4>
  901. </row1>
  902. <row2>
  903. <column1> 2 </column1>
  904. <column2> null </column2>
  905. <column3> null </column3>
  906. <column4> null </column4>
  907. </row2>
  908. </table3>
  909. <table4>
  910. <tableName>datetimeTable</tableName>
  911. <numRows>4</numRows>
  912. <numCols>5</numCols>
  913. <row1>
  914. <column1> 1 </column1>
  915. <column2> '0001-01-01 00:00:00.000000' </column2>
  916. <column3> '-178000000 years +4 days' </column3>
  917. <column4> '0001-01-01' </column4>
  918. <column5> '12:23:34' </column5>
  919. </row1>
  920. <row2>
  921. <column1> 2 </column1>
  922. <column2> '2004-10-21 11:15:23' </column2>
  923. <column3> '7890 years 5 days 07:30' </column3>
  924. <column4> '2004-01-12' </column4>
  925. <column5> '00:00:00' </column5>
  926. </row2>
  927. <row3>
  928. <column1> 3 </column1>
  929. <column2> '9999-12-31 23:59:59.9999' </column2>
  930. <column3> '178000000 years 00:19:23' </column3>
  931. <column4> '9999-12-31' </column4>
  932. <column5> '23:59:59' </column5>
  933. </row3>
  934. <row4>
  935. <column1> 4 </column1>
  936. <column2> null </column2>
  937. <column3> null </column3>
  938. <column4> null </column4>
  939. <column5> null </column5>
  940. </row4>
  941. </table4>
  942. <table5>
  943. <tableName>booleanTable</tableName>
  944. <numRows>3</numRows>
  945. <numCols>2</numCols>
  946. <row1>
  947. <column1> 1 </column1>
  948. <column2> TRUE </column2>
  949. </row1>
  950. <row2>
  951. <column1> 2 </column1>
  952. <column2> FALSE </column2>
  953. </row2>
  954. <row3>
  955. <column1> 3 </column1>
  956. <column2> null </column2>
  957. </row3>
  958. </table5>
  959. </values>
  960. </postgres>
  961. <oracle>
  962. <database>
  963. <name> oracle </name>
  964. <connectionString> Data Source=testdb.com;User Id=user9i;Password=oracle9i </connectionString>
  965. </database>
  966. <createStoredProc>Y</createStoredProc>
  967. <deleteTables>Y</deleteTables>
  968. <createTables>Y</createTables>
  969. <insertData>Y</insertData>
  970. <tables>
  971. <numTables> 4 </numTables>
  972. <table1>
  973. <name>numericTable </name>
  974. <numColumns> 3 </numColumns>
  975. <column1>
  976. <name> serialNo </name>
  977. <type> number(1)</type>
  978. <constraint> primary key </constraint>
  979. </column1>
  980. <column2>
  981. <name> intCol </name>
  982. <type> number(6)</type>
  983. </column2>
  984. <column3>
  985. <name> decimalCol </name>
  986. <type> number(6, 3)</type>
  987. </column3>
  988. </table1>
  989. <table2>
  990. <name> charTable </name>
  991. <numColumns> 5 </numColumns>
  992. <column1>
  993. <name> serialNo </name>
  994. <type> number(1)</type>
  995. <constraint> primary key </constraint>
  996. </column1>
  997. <column2>
  998. <name> charCol </name>
  999. <type> char(10) </type>
  1000. </column2>
  1001. <column3>
  1002. <name> ncharCol </name>
  1003. <type> nchar(10) </type>
  1004. </column3>
  1005. <column4>
  1006. <name> varcharCol </name>
  1007. <type> varchar2(10) </type>
  1008. </column4>
  1009. <column5>
  1010. <name> nvarcharCol </name>
  1011. <type> nvarchar2(10) </type>
  1012. </column5>
  1013. </table2>
  1014. <table3>
  1015. <name> RealNoTable </name>
  1016. <numColumns> 2 </numColumns>
  1017. <column1>
  1018. <name> serialNo </name>
  1019. <type> number(1)</type>
  1020. <constraint> primary key </constraint>
  1021. </column1>
  1022. <column2>
  1023. <name> floatCol </name>
  1024. <type> float(24) </type>
  1025. </column2>
  1026. </table3>
  1027. <table4>
  1028. <name> DateTimeTable </name>
  1029. <numColumns> 5 </numColumns>
  1030. <column1>
  1031. <name> serialNo </name>
  1032. <type> number(1)</type>
  1033. <constraint> primary key </constraint>
  1034. </column1>
  1035. <column2>
  1036. <name> dateCol </name>
  1037. <type> date </type>
  1038. </column2>
  1039. <column3>
  1040. <name> timestampCol </name>
  1041. <type> timestamp </type>
  1042. </column3>
  1043. <column4>
  1044. <name> Int_year </name>
  1045. <type> interval year to month</type>
  1046. </column4>
  1047. <column5>
  1048. <name> int_day </name>
  1049. <type> interval day to second </type>
  1050. </column5>
  1051. </table4>
  1052. </tables>
  1053. <values>
  1054. <numTables>4</numTables>
  1055. <table1>
  1056. <tableName>numericTable</tableName>
  1057. <numRows>4</numRows>
  1058. <numCols>3</numCols>
  1059. <row1>
  1060. <column1> 1 </column1>
  1061. <column2> -999999 </column2>
  1062. <column3> -999.999 </column3>
  1063. </row1>
  1064. <row2>
  1065. <column1> 2 </column1>
  1066. <column2> 1000 </column2>
  1067. <column3> 234 </column3>
  1068. </row2>
  1069. <row3>
  1070. <column1> 3 </column1>
  1071. <column2> 999999 </column2>
  1072. <column3> 999.999 </column3>
  1073. </row3>
  1074. <row4>
  1075. <column1> 4 </column1>
  1076. <column2> null </column2>
  1077. <column3> null </column3>
  1078. </row4>
  1079. </table1>
  1080. <table2>
  1081. <tableName>charTable</tableName>
  1082. <numRows>2</numRows>
  1083. <numCols>5</numCols>
  1084. <row1>
  1085. <column1> 1 </column1>
  1086. <column2> '0123456789' </column2>
  1087. <column3> 'abcdefghij' </column3>
  1088. <column4> '0123456789' </column4>
  1089. <column5> 'abcdefghij' </column5>
  1090. </row1>
  1091. <row2>
  1092. <column1> 2 </column1>
  1093. <column2> null </column2>
  1094. <column3> null </column3>
  1095. <column4> null </column4>
  1096. <column5> null </column5>
  1097. </row2>
  1098. </table2>
  1099. <table3>
  1100. <tableName>RealNoTable</tableName>
  1101. <numRows>6</numRows>
  1102. <numCols>2</numCols>
  1103. <row1>
  1104. <column1> 1 </column1>
  1105. <column2> 9.9999999E125 </column2>
  1106. </row1>
  1107. <row2>
  1108. <column1> 2 </column1>
  1109. <column2> -9.999999E-126 </column2>
  1110. </row2>
  1111. <row3>
  1112. <column1> 3 </column1>
  1113. <column2> 1.23E-15 </column2>
  1114. </row3>
  1115. <row4>
  1116. <column1> 4 </column1>
  1117. <column2> -9.999999E-126 </column2>
  1118. </row4>
  1119. <row5>
  1120. <column1> 5 </column1>
  1121. <column2> 9.9999999E125 </column2>
  1122. </row5>
  1123. <row6>
  1124. <column1> 6 </column1>
  1125. <column2> null </column2>
  1126. </row6>
  1127. </table3>
  1128. <table4>
  1129. <tableName>DateTimeTable</tableName>
  1130. <numRows>3</numRows>
  1131. <numCols>5</numCols>
  1132. <row1>
  1133. <column1> 1 </column1>
  1134. <column2> to_date('0001-01-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss') </column2>
  1135. <column3> TIMESTAMP'0001-01-01 00:00:00' </column3>
  1136. <column4> '-99-11' </column4>
  1137. <column5> '-99 23:59:59' </column5>
  1138. </row1>
  1139. <row2>
  1140. <column1> 2 </column1>
  1141. <column2> to_date('2004-11-23 12:34:45', 'yyyy-mm-dd hh24:mi:ss') </column2>
  1142. <column3> TIMESTAMP'2004-11-23 12:34:45' </column3>
  1143. <column4> '34-5' </column4>
  1144. <column5> '-34 20:50:00' </column5>
  1145. </row2>
  1146. <row3>
  1147. <column1> 3 </column1>
  1148. <column2> to_date('9999-12-31 23:59:59', 'yyyy-mm-dd hh24:mi:ss') </column2>
  1149. <column3> TIMESTAMP'9999-12-31 23:59:59' </column3>
  1150. <column4> '99-11' </column4>
  1151. <column5> '00 23:59:59' </column5>
  1152. </row3>
  1153. </table4>
  1154. </values>
  1155. <StoredProc>
  1156. <NumStoredProc> 1 </NumStoredProc>
  1157. <StoredProc1>
  1158. <type> generic </type>
  1159. <name> {{TABLE}}_pkg.Select_{{TABLE}}_data</name>
  1160. <template>
  1161. <numStmts> 2 </numStmts>
  1162. <stmt1><![CDATA[
  1163. create or replace package {{TABLE}}_pkg As
  1164. type {{TABLE}}Cur is ref cursor return {{TABLE}}%rowtype;
  1165. procedure Select_{{TABLE}}_Data (ref_cur out {{TABLE}}Cur);
  1166. END {{TABLE}}_pkg;]]>
  1167. </stmt1>
  1168. <stmt2><![CDATA[
  1169. create or replace package body {{TABLE}}_pkg As
  1170. procedure Select_{{TABLE}}_Data ( ref_cur out {{TABLE}}Cur) is
  1171. BEGIN
  1172. open ref_cur for select {{COLUMNS}} from {{TABLE}} order by {{COLUMN_1}};
  1173. End Select_{{TABLE}}_Data;
  1174. END {{TABLE}}_pkg;]]></stmt2>
  1175. </template>
  1176. </StoredProc1>
  1177. </StoredProc>
  1178. </oracle>
  1179. </configuration>