Annotation Type DataSourceDefinition
@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(DataSourceDefinitions.class)
public @interface DataSourceDefinition
- Since:
- Common Annotations 1.1
- 
Required Element SummaryRequired Elements
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
classNameString className- Returns:
- the className
 
- 
nameString name- Returns:
- the name
 
- 
description
- 
url
- 
user
- 
password
- 
databaseName
- 
portNumberint portNumber- Returns:
- the port number
 - Default:
- -1
 
- 
serverName
- 
isolationLevelint isolationLevel- Returns:
- the isolation level
 - Default:
- -1
 
- 
transactionalboolean transactional- Returns:
- true if the data source is transactional
 - Default:
- true
 
- 
initialPoolSizeint initialPoolSize- Returns:
- the initial pool size
 - Default:
- -1
 
- 
maxPoolSizeint maxPoolSize- Returns:
- the max pool size
 - Default:
- -1
 
- 
minPoolSizeint minPoolSize- Returns:
- the min pool size
 - Default:
- -1
 
- 
maxIdleTimeint maxIdleTime- Returns:
- the max idle time
 - Default:
- -1
 
- 
maxStatementsint maxStatements- Returns:
- the max statements
 - Default:
- -1
 
- 
properties
- 
loginTimeoutint loginTimeout- Returns:
- the login timeout
 - Default:
- 0
 
 
-