summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/ebean-example.properties
blob: 3ec87a208a92c7edddf271b38f75866dfd174dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

## -------------------------------------------------------------
## Load (Dev/Test/Prod) server specific properties
## -------------------------------------------------------------
## This is a possible alternative to using JNDI to set environment
## properties externally (to the WAR file).  This is another way 
## your Dev, Test and Prod servers can have different properties.

#load.properties.override=${CATALINA_HOME}/conf/myapp.ebean.properties

ebean.autofetch.querytuning=true
ebean.autofetch.profiling=true
ebean.autofetch.implicitmode=default_on
ebean.autofetch.profiling.min=1
ebean.autofetch.profiling.base=10
#ebean.autofetch.profiling.rate=0.05

#ebean.columnAliasPrefix=
ebean.log.level=0

## -------------------------------------------------------------
## Transaction Logging
## -------------------------------------------------------------
ebean.debug.sql=false
ebean.debug.lazyload=true
#ebean.debug.jointree=true

## Log transaction begins and ends etc
## (0=NoLogging 1=minimal ... 9=logAll)
ebean.debug.transaction=3


## location of transaction logs
ebean.log.directory=nvhome/logs
#ebean.log.directory=${catalina.base}/logs/trans

## General logging level: (0=None, 1=Explicit, 2=All)
ebean.log.level=2

## Sharing log files: (0=None Share, 1=Implicit Share, 2=All Share)
ebean.log.share=1

## Specific Log levels
## 0=none  1=summary  2=bindings  3=sql
ebean.log.iud=3
ebean.log.findid=3
ebean.log.findmany=3

##ebean.transaction.rollbackOnChecked=false

## -------------------------------------------------------------
## Data Types
## -------------------------------------------------------------

ebean.type.boolean.false=F
ebean.type.boolean.true=T
## use varchar or integer (defaults to varchar)
#ebean.type.boolean.dbtype=varchar


## -------------------------------------------------------------
## Batch Mode 
## -------------------------------------------------------------

#ebean.batch.mode=false
#ebean.batch.getgeneratedkeys=true
#ebean.batch.size=20


## -------------------------------------------------------------
## DataSource Factory (JNDI, Default or custom)
## ------------------------------------------------------------- 

## Default (Ebean DataSourceFactory)
ebean.datasource.factory=default

## JNDI
#ebean.datasource.factory=jndi

## Custom DataSourceFactory## -------------------------------------------------------------

#ebean.datasource.factory=yourpackage.YourDataSourceFactory


## -------------------------------------------------------------
## DataSources (If using default Ebean DataSourceFactory)
## ------------------------------------------------------------- 

datasource.default=netview

datasource.netview.username=netview
datasource.netview.password=
datasource.netview.databaseUrl=jdbc:h2:nvhome/db/netview
datasource.netview.databaseDriver=org.h2.Driver
datasource.netview.minConnections=1
datasource.netview.maxConnections=25
datasource.netview.isolationlevel=read_committed
datasource.netview.capturestacktrace=true

## -------------------------------------------------------------
## Naming Conventions
## -------------------------------------------------------------

ebean.ddl.generate=true 
ebean.ddl.run=true 

ebean.updatetimestamp.property=updtime
ebean.updatetimestamp.dbcolumn=updtime

ebean.inserttimestamp.property=cretime
ebean.inserttimestamp.dbcolumn=cretime
    
ebean.counter.property=vercount
ebean.counter.dbcolumn=vercount