🛠️ Code cleanup & added many new features #1

Merged
gnmyt merged 121 commits from features/code-cleanup into master 2021-09-02 13:34:00 +00:00

121 Commits

Author SHA1 Message Date
0b59c1a11c Removed line from the ConnectSettingsManager 2021-09-02 15:29:23 +02:00
f1f1fcbe2d Added new sql types 2021-09-02 15:26:59 +02:00
84641c9550 Created the FUNDING.yml file 2021-09-02 15:09:20 +02:00
6f57860564 First test to create a java ci workflow 2021-09-02 14:46:41 +02:00
58f49a7c69 Added some new connection properties to the ConnectSettingsManager 2021-09-02 14:41:40 +02:00
f51b938893 English is hard 2021-09-01 19:20:14 +02:00
054a02ba76 Updated the README.md 2021-08-30 19:17:57 +02:00
e7b5a422de Cleaned up code 2021-08-30 12:29:54 +02:00
a207aca196 Updated the README.md 2021-08-28 00:28:19 +02:00
d55e681a6c Created the QueryExample 2021-08-28 00:26:20 +02:00
614c557d7e Updated the LoginExample 2021-08-28 00:17:39 +02:00
86f3ce2f3e Updated the LoginExample 2021-08-27 14:14:51 +02:00
e96bb22814 Integrated the new ConnectSettingsManager 2021-08-27 14:05:49 +02:00
f579b69ae6 Added the new ConnectSettingsManager 2021-08-27 14:04:53 +02:00
97431c7c1f Removed the old connection parameters 2021-08-27 13:27:54 +02:00
f29731cdd2 Updated the register logic in the TableFactory 2021-08-27 12:50:45 +02:00
3883d5f3d4 Integrated the TableCreationQuery into the SQLTable 2021-08-27 12:50:04 +02:00
52ca4879f9 Integrated the TableCreationQuery into the TableGenerator 2021-08-27 12:44:08 +02:00
bf7565a8dc Created the TableCreationQuery 2021-08-27 12:23:57 +02:00
8eb4033704 Integrated the changes of the TableField into the SQLTable and the CustomTableFieldManager 2021-08-27 12:23:26 +02:00
6ce3671099 Added the FIELD_LIST and the PRIMARY_KEY to the QueryParameter 2021-08-27 12:22:46 +02:00
0ab4ae3fed Updated the TableField 2021-08-27 12:22:07 +02:00
db70fda9a5 Changed the name in the queries 2021-08-27 00:09:12 +02:00
d60c2a806f Changed the access modifier of UpdateManager#build 2021-08-26 23:42:10 +02:00
d970568158 Cleaned up code 2021-08-26 23:31:19 +02:00
3cb1f2d151 Integrated the UpdateQuery into the UpdateManager 2021-08-26 23:30:48 +02:00
75dc54b17a Added the UpdateQuery 2021-08-26 23:30:08 +02:00
81aaf4a0bf Cleaned up the SelectionQuery 2021-08-26 23:29:49 +02:00
65f8f12077 Updated the InsertQuery 2021-08-26 23:18:36 +02:00
d48ebe05c0 Added a comment to the InsertManager 2021-08-26 22:26:16 +02:00
262baee54c Changed InsertManager#from to InsertManager#to 2021-08-26 22:20:04 +02:00
a859aa1d32 Created the InsertQuery 2021-08-26 22:07:43 +02:00
c6ed5d9b8d Added the appendDefault method to the StatementBuilder 2021-08-26 21:38:29 +02:00
4a6f0c6901 Integrated the DeletionQuery into the DeletionManager 2021-08-26 18:21:22 +02:00
3897733d6d Added the DeletionQuery 2021-08-26 18:16:16 +02:00
b9139e77ab Updated the SelectionManager 2021-08-26 18:01:43 +02:00
537706ddca Added the SelectionQuery to create a 'select'-statement 2021-08-26 17:59:39 +02:00
0772017633 Added the StatementBuilder 2021-08-26 17:59:06 +02:00
d41de8cfcc Added AbstractQuery#defaults 2021-08-26 17:05:19 +02:00
a3e97cda44 The QueryBuilder now loads the defaults of the query 2021-08-26 17:04:49 +02:00
405f405174 Updated the return type of the sql query 2021-08-26 17:03:00 +02:00
7f45e465f4 Added the selection list to the QueryParameter enum 2021-08-26 16:46:16 +02:00
cd3ce709d9 Cleaned up code 2021-08-26 16:35:32 +02:00
7c07f7086e Integrated the SQLQuery into the update method of the MySQLConnection 2021-08-26 16:35:07 +02:00
07126218af Integrated the SQLQuery into the MySQLConnection 2021-08-26 16:29:54 +02:00
357a69f3ac Changed the parameter type of the SQLQuery from string to object 2021-08-26 16:24:56 +02:00
de37860dd7 Integrated the QueryBuilder into the MySQLConnection 2021-08-26 16:22:14 +02:00
fb6b1d3a7d Added the QueryBuilder 2021-08-26 16:21:51 +02:00
a752a2269a Added the AbstractQuery class 2021-08-26 16:21:39 +02:00
787d325314 Added the SQLQuery object 2021-08-26 16:21:17 +02:00
5680c1968f Added the query parameter enum 2021-08-26 16:20:59 +02:00
e8b29e1ff6 Cleaned up code in the StorageMediumExample 2021-08-25 17:23:51 +02:00
9b8a395e33 Edited the README.md 2021-08-25 17:22:22 +02:00
93858ebbcd Created the storage medium example 2021-08-25 17:17:06 +02:00
3a21863990 Created the login example 2021-08-25 14:30:43 +02:00
9ef0fbcba4 Created the table example 2021-08-25 13:24:29 +02:00
f4f6546cae Fixed a important bug in the SelectionManager 2021-08-24 21:12:42 +02:00
0605b4fcd9 Changed the return type of TableGenerator#create to void 2021-08-24 20:27:25 +02:00
7c4582b043 Changed the package name from de.gnmyt.SQLToolkit to de.gnmyt.sqltoolkit 2021-08-20 14:59:36 +02:00
043bd2139d Added /target to the .gitignore 2021-08-20 14:57:57 +02:00
fefbebeb3a Updated the consumer methods in the MySQLConnection 2021-08-20 14:53:12 +02:00
b28b2606cb Changed user to something & changed value to 3 2021-08-20 14:46:44 +02:00
788cec76fa Integrated the CustomTableFieldManager into the readme 2021-08-20 14:43:28 +02:00
2be583685f Integrated the CustomTableFieldManager into the SQLTable 2021-08-20 14:42:37 +02:00
7925f2f1af Created the CustomTableFieldManager 2021-08-20 14:42:03 +02:00
1bea0fd0b2 Added default values to the table field 2021-08-20 14:07:52 +02:00
5114296b74 Added default values to the table field 2021-08-20 14:05:24 +02:00
7daa494272 Added a comment to the table factory 2021-08-20 00:09:15 +02:00
a3766aa490 Cleaned up code 2021-08-19 23:24:16 +02:00
a1b8e4f3d9 Cleaned up readme 2021-08-19 23:18:51 +02:00
62a789b7de Updated the boolean logic in the sql table class 2021-08-19 22:25:00 +02:00
3af9a7a880 Added the string sql type & updated boolean & varchar 2021-08-19 22:24:25 +02:00
f6d89ee3f2 Cleaned up code 2021-08-19 22:09:11 +02:00
34c1ec14fa Updated the comments in the MySQLConnection class 2021-08-19 22:08:07 +02:00
ce8042c530 Cleaned up the update method of the MySQLConnection class 2021-08-19 22:01:33 +02:00
d5bd0e4248 Cleaned up the getResultSet method of the MySQLConnection class 2021-08-19 21:55:32 +02:00
356624ce07 Updated the readme file 2021-08-19 21:46:35 +02:00
8a16e172ad Cleaned up code 2021-08-19 21:16:55 +02:00
c77aaa413f Changed the return value of the insert & update manager 2021-08-19 21:15:57 +02:00
2446395f4c Fixed a bug in the deletion manager 2021-08-19 21:14:53 +02:00
6b82120e17 Changed update to updateTo 2021-08-19 21:02:58 +02:00
6b2862a64b Changed the access modifier of the optional query variable 2021-08-19 21:00:24 +02:00
5cc960b21a Renamed the delete method to deleteFrom 2021-08-19 20:57:06 +02:00
c61b4d07e9 Integrated the deletion manager into the sql table & the storage medium 2021-08-19 20:54:47 +02:00
7c2f408ef5 Integrated the deletion manager into the MySQLConnection & renamed the update method 2021-08-19 20:54:11 +02:00
4661c7d4ec Added the deletion manager 2021-08-19 20:49:01 +02:00
f6bfcb30d9 Changed UpdateManager#update to UpdateManager#execute 2021-08-19 20:41:52 +02:00
f7eebbed86 Removed useless method 2021-08-19 20:41:14 +02:00
d56a4e9580 Integrated the table generator into MySQLConnection#generateTable 2021-08-19 20:19:36 +02:00
42f2b37b8b Removed the delete feature from the update manager & cleaned up the update manager 2021-08-19 20:19:03 +02:00
cebb2c8c98 Changed method name from processStatement to prepareStatement 2021-08-19 20:08:14 +02:00
2786ca124f Cleaned up code of the DataBaseSelection & renamed it to SelectionManager 2021-08-19 20:05:58 +02:00
3f2987b576 Cleaned up code of the insert manager 2021-08-19 19:59:58 +02:00
387f9d7b35 Removed the table prefix integration 2021-08-19 19:42:36 +02:00
5efc36d1b0 Removed the table prefix from the mysql connection 2021-08-19 19:40:52 +02:00
e58d96b58a Cleaned up code 2021-08-19 17:31:13 +02:00
e88169147c Added the get method to the storage medium 2021-08-19 17:20:33 +02:00
96ad704707 Added the TableFactory#getStorage method to get a storage medium 2021-08-19 17:14:03 +02:00
264d33db4f Cleaned up some code 2021-08-19 17:11:38 +02:00
e8544ff761 Added the sql storage medium to easily manage storages 2021-08-19 17:11:26 +02:00
7fe1fc9644 Added select, update & insert to the sql table class for quicker access to the table 2021-08-19 17:01:41 +02:00
2e5f651afa Added the ResultManager#exists method 2021-08-19 17:00:57 +02:00
59705367ed Added the jitpack dependency to the readme file 2021-08-19 16:52:40 +02:00
38b3c3bbf4 Updated the project version to 2.0 2021-08-19 16:52:17 +02:00
2fecd3b402 Cleaned up code 2021-08-19 16:44:15 +02:00
961778bb0e Integrated the table factory to the mysql connection 2021-08-19 16:43:26 +02:00
ab81160ac4 Added the table factory class 2021-08-19 16:42:40 +02:00
5f5f425c04 Added the sql table class 2021-08-19 16:42:17 +02:00
50fc5d50d5 The table generator can now add fields by the TableField class 2021-08-19 16:41:30 +02:00
f83d806674 Added the table field class 2021-08-19 16:40:35 +02:00
2106c27799 Added the boolean sql type 2021-08-19 16:40:06 +02:00
1ddfecd907 Made the value variable final 2021-08-19 15:51:19 +02:00
2532257f53 Removed the LogLevelType.java file 2021-08-19 15:50:40 +02:00
bbf1232684 Removed the sql field & cleaned up the table generator 2021-08-19 14:56:31 +02:00
2d220c0211 Cleaned up the MySQLConnection class 2021-08-19 12:41:15 +02:00
47c8a1391d Updated the constructor & the readme file 2021-08-19 12:32:52 +02:00
ca3e4d180c Removed the old log manager & integrated the new log manager 2021-08-19 12:23:58 +02:00
2f396093d1 Cleaned up the pom.xml file 2021-08-19 12:08:36 +02:00
cca349ef60 Added the slf4j log manager to the dependencies 2021-08-19 12:06:38 +02:00
21376fbf77 Removed static modifier 2021-08-19 12:03:42 +02:00
a04c670e02 Removed author comments 2021-08-19 11:58:57 +02:00