source: src/main/java/weka/experiment/DatabaseUtils.props.odbc @ 24

Last change on this file since 24 was 4, checked in by gnappo, 14 years ago

Import di weka.

File size: 1.5 KB
RevLine 
[4]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)
11jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver
12
13# database URL
14jdbcURL=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
29varchar=0
30float=2
31tinyint=3
32int=5
33
34# other options
35CREATE_DOUBLE=DOUBLE PRECISION
36CREATE_STRING=VARCHAR(8000)
37CREATE_INT=INT
38CREATE_DATE=DATETIME
39DateFormat=yyyy-MM-dd HH:mm:ss
40checkUpperCaseNames=false
41checkLowerCaseNames=false
42checkForTable=true
43
44# All the reserved keywords for this database
45Keywords=\
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
60KeywordsMaskChar=_
61
62#flags for loading and saving instances using DatabaseLoader/Saver
63nominalToStringLimit=50
64idColumn=auto_generated_id
65
Note: See TracBrowser for help on using the repository browser.