1 | # Database settings for ODBC in conjunction with MS SQL Server 2000 |
---|
2 | # |
---|
3 | # General information on database access can be found here: |
---|
4 | # http://weka.wikispaces.com/Databases |
---|
5 | # |
---|
6 | # url: http://weka.wikispaces.com/Windows+Databases |
---|
7 | # author: Fracpete (fracpete at waikato dot ac dot nz) |
---|
8 | # version: $Revision: 5837 $ |
---|
9 | |
---|
10 | # JDBC driver (comma-separated list) |
---|
11 | jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver |
---|
12 | |
---|
13 | # database URL |
---|
14 | jdbcURL=jdbc:odbc:DSN_name |
---|
15 | |
---|
16 | # specific data types |
---|
17 | # string, getString() = 0; --> nominal |
---|
18 | # boolean, getBoolean() = 1; --> nominal |
---|
19 | # double, getDouble() = 2; --> numeric |
---|
20 | # byte, getByte() = 3; --> numeric |
---|
21 | # short, getByte()= 4; --> numeric |
---|
22 | # int, getInteger() = 5; --> numeric |
---|
23 | # long, getLong() = 6; --> numeric |
---|
24 | # float, getFloat() = 7; --> numeric |
---|
25 | # date, getDate() = 8; --> date |
---|
26 | # text, getString() = 9; --> string |
---|
27 | # time, getTime() = 10; --> date |
---|
28 | |
---|
29 | varchar=0 |
---|
30 | float=2 |
---|
31 | tinyint=3 |
---|
32 | int=5 |
---|
33 | |
---|
34 | # other options |
---|
35 | CREATE_DOUBLE=DOUBLE PRECISION |
---|
36 | CREATE_STRING=VARCHAR(8000) |
---|
37 | CREATE_INT=INT |
---|
38 | CREATE_DATE=DATETIME |
---|
39 | DateFormat=yyyy-MM-dd HH:mm:ss |
---|
40 | checkUpperCaseNames=false |
---|
41 | checkLowerCaseNames=false |
---|
42 | checkForTable=true |
---|
43 | |
---|
44 | # All the reserved keywords for this database |
---|
45 | Keywords=\ |
---|
46 | AND,\ |
---|
47 | ASC,\ |
---|
48 | BY,\ |
---|
49 | DESC,\ |
---|
50 | FROM,\ |
---|
51 | GROUP,\ |
---|
52 | INSERT,\ |
---|
53 | ORDER,\ |
---|
54 | SELECT,\ |
---|
55 | UPDATE,\ |
---|
56 | WHERE |
---|
57 | |
---|
58 | # The character to append to attribute names to avoid exceptions due to |
---|
59 | # clashes between keywords and attribute names |
---|
60 | KeywordsMaskChar=_ |
---|
61 | |
---|
62 | #flags for loading and saving instances using DatabaseLoader/Saver |
---|
63 | nominalToStringLimit=50 |
---|
64 | idColumn=auto_generated_id |
---|
65 | |
---|