Package de.Keyle.MyPet.api
Class MyPetGlobal.Repository.MySQL
java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
- Enclosing class:
MyPetGlobal.Repository
Connection details for the
MySQL repository type.-
Field Summary
FieldsModifier and TypeFieldDescriptionCharacter encoding used for the connection.Name of the MySQL database.Address of the MySQL server.Password of the MySQL user.Size of the connection pool.Port of the MySQL server.Table prefix, for when the database is shared with other applications.Username MyPet connects as. -
Method Summary
-
Field Details
-
DATABASE
Name of the MySQL database.MyPet.Repository.MySQL.Database-- default"mypet". -
PREFIX
Table prefix, for when the database is shared with other applications.MyPet.Repository.MySQL.TablePrefix-- default"". -
HOST
Address of the MySQL server.MyPet.Repository.MySQL.Host-- default"localhost". -
PASSWORD
Password of the MySQL user.MyPet.Repository.MySQL.Password-- default"". -
USER
Username MyPet connects as.MyPet.Repository.MySQL.User-- default"root". -
CHARACTER_ENCODING
Character encoding used for the connection.MyPet.Repository.MySQL.CharacterEncoding-- default"utf8". -
PORT
Port of the MySQL server.MyPet.Repository.MySQL.Port-- default3306. -
POOL_SIZE
Size of the connection pool. Defaults to twice the available processor count.MyPet.Repository.MySQL.MaxConnections-- defaultRuntime.getRuntime().availableProcessors() * 2.
-