Package com.jk.core.config
Class JKConstants.Database
java.lang.Object
com.jk.core.config.JKConstants.Database
- Enclosing class:
- JKConstants
This class provides constants related to Database.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Represents the configuration property for specifying the creation of a default data source for database operations.static final String
Represents the configuration property for specifying the maximum cache size for database operations.static final String
Represents the default value for the maximum cache size for database operations.static final String
Represents the default data source type for database operations.static final String
Represents the default database driver class.static final String
Represents the default packages containing database entity classes.static final String
Represents the default database password.static final String
Represents the default database URL.static final String
Represents the default database user.static final int
Represents the default query limit.static final String
Represents the default persistence unit name.static final String
Represents the default initial size of the default pool.static final String
Represents the default maximum size of a default pool.static final String
Represents the default field name for primary keys in database entities.static final String
Represents the default number of rows for query results.static final String
Represents the configuration property for specifying the maximum number of results in an ORM query.static final String
Represents the configuration property for specifying the packages containing JPA entity classes.static final String
Represents the configuration property for specifying the query limit.static final String
Represents the configuration property for specifying the accepted execution time for a query.static final int
Represents the default accepted execution time in milliseconds for a query.static final String
Represents the configuration property for specifying the maximum execution time for a query.static final int
Represents the default maximum execution time in milliseconds for a query.static final String
Represents the configuration property for specifying the buffer size for query logging.static final int
Represents the default buffer size for query logging.static final String
Represents the configuration property for specifying the maximum number of rows in query results.static final String
Represents the configuration property for specifying the client information on a database connection. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROPERTY_QUERY_LIMIT
Represents the configuration property for specifying the query limit.- See Also:
-
DEFAULT_LIMIT
public static final int DEFAULT_LIMITRepresents the default query limit.- See Also:
-
DEFAULT_POOL_INITIAL_SIZE
Represents the default initial size of the default pool.- See Also:
-
DEFAULT_POOL_MAX_SIZE
Represents the default maximum size of a default pool.- See Also:
-
DEFAULT_DB_DRIVER
Represents the default database driver class.- See Also:
-
DEFAULT_DB_URL
Represents the default database URL.- See Also:
-
DEFAULT_DB_USER
Represents the default database user.- See Also:
-
DEFAULT_DB_PASSWORD
Represents the default database password.- See Also:
-
DEFAULT_PERSISINCE_UNIT_NAME
Represents the default persistence unit name.- See Also:
-
PROPERTY_DB_ENTITY_PACKAGES_NEW
Represents the configuration property for specifying the packages containing JPA entity classes.- See Also:
-
DEFAULT_DB_ENTITY_PACKAGES
Represents the default packages containing database entity classes.- See Also:
-
DB_MAX_CACHE_SIZE
Represents the configuration property for specifying the maximum cache size for database operations.- See Also:
-
DB_MAX_CACHE_SIZE_DEFAULT
Represents the default value for the maximum cache size for database operations.- See Also:
-
DEFAULT_QUERY_ROW_COUNT
Represents the default number of rows for query results.- See Also:
-
QUERY_ROWS_COUNT
Represents the configuration property for specifying the maximum number of rows in query results.- See Also:
-
DEFAULT_PRIMARY_KEY_FIELD_NAME
Represents the default field name for primary keys in database entities.- See Also:
-
DEFAULT_DATASOURCE_TYPE
Represents the default data source type for database operations.- See Also:
-
SET_CLIENT_INFO
Represents the configuration property for specifying the client information on a database connection.- See Also:
-
CREATE_DEFAULT_DATASOURCE
Represents the configuration property for specifying the creation of a default data source for database operations.- See Also:
-
ORM_RESULTS_MAX
Represents the configuration property for specifying the maximum number of results in an ORM query.- See Also:
-
QUERY_EXEC_ACCEPTED_TIME
Represents the configuration property for specifying the accepted execution time for a query.- See Also:
-
QUERY_EXEC_ACCEPTED_TIME_DEFAULT
public static final int QUERY_EXEC_ACCEPTED_TIME_DEFAULTRepresents the default accepted execution time in milliseconds for a query.- See Also:
-
QUERY_EXEC_MAX_TIME
Represents the configuration property for specifying the maximum execution time for a query.- See Also:
-
QUERY_EXEC_MAX_TIME_DEFAULT
public static final int QUERY_EXEC_MAX_TIME_DEFAULTRepresents the default maximum execution time in milliseconds for a query.- See Also:
-
QUERY_LOG_BUFFER_SIZE
Represents the configuration property for specifying the buffer size for query logging. Used to buffer queries calls count to database.- See Also:
-
QUERY_LOG_BUFFER_SIZE_DEFAULT
public static final int QUERY_LOG_BUFFER_SIZE_DEFAULTRepresents the default buffer size for query logging.- See Also:
-
-
Constructor Details
-
Database
public Database()
-