Commit Graph
97 Commits
Author SHA1 Message Date
Mathias 3897733d6d Added the DeletionQuery 2021-08-26 18:16:16 +02:00
Mathias b9139e77ab Updated the SelectionManager 2021-08-26 18:01:43 +02:00
Mathias 537706ddca Added the SelectionQuery to create a 'select'-statement 2021-08-26 17:59:39 +02:00
Mathias 0772017633 Added the StatementBuilder 2021-08-26 17:59:06 +02:00
Mathias d41de8cfcc Added AbstractQuery#defaults 2021-08-26 17:05:19 +02:00
Mathias a3e97cda44 The QueryBuilder now loads the defaults of the query 2021-08-26 17:04:49 +02:00
Mathias 405f405174 Updated the return type of the sql query 2021-08-26 17:03:00 +02:00
Mathias 7f45e465f4 Added the selection list to the QueryParameter enum 2021-08-26 16:46:16 +02:00
Mathias cd3ce709d9 Cleaned up code 2021-08-26 16:35:32 +02:00
Mathias 7c07f7086e Integrated the SQLQuery into the update method of the MySQLConnection 2021-08-26 16:35:07 +02:00
Mathias 07126218af Integrated the SQLQuery into the MySQLConnection 2021-08-26 16:29:54 +02:00
Mathias 357a69f3ac Changed the parameter type of the SQLQuery from string to object 2021-08-26 16:24:56 +02:00
Mathias de37860dd7 Integrated the QueryBuilder into the MySQLConnection 2021-08-26 16:22:14 +02:00
Mathias fb6b1d3a7d Added the QueryBuilder 2021-08-26 16:21:51 +02:00
Mathias a752a2269a Added the AbstractQuery class 2021-08-26 16:21:39 +02:00
Mathias 787d325314 Added the SQLQuery object 2021-08-26 16:21:17 +02:00
Mathias 5680c1968f Added the query parameter enum 2021-08-26 16:20:59 +02:00
Mathias e8b29e1ff6 Cleaned up code in the StorageMediumExample 2021-08-25 17:23:51 +02:00
Mathias 9b8a395e33 Edited the README.md 2021-08-25 17:22:22 +02:00
Mathias 93858ebbcd Created the storage medium example 2021-08-25 17:17:06 +02:00
Mathias 3a21863990 Created the login example 2021-08-25 14:30:43 +02:00
Mathias 9ef0fbcba4 Created the table example 2021-08-25 13:24:29 +02:00
Mathias f4f6546cae Fixed a important bug in the SelectionManager 2021-08-24 21:12:42 +02:00
Mathias 0605b4fcd9 Changed the return type of TableGenerator#create to void 2021-08-24 20:27:25 +02:00
Mathias 7c4582b043 Changed the package name from de.gnmyt.SQLToolkit to de.gnmyt.sqltoolkit 2021-08-20 14:59:36 +02:00
Mathias 043bd2139d Added /target to the .gitignore 2021-08-20 14:57:57 +02:00
Mathias fefbebeb3a Updated the consumer methods in the MySQLConnection 2021-08-20 14:53:12 +02:00
Mathias b28b2606cb Changed user to something & changed value to 3 2021-08-20 14:46:44 +02:00
Mathias 788cec76fa Integrated the CustomTableFieldManager into the readme 2021-08-20 14:43:28 +02:00
Mathias 2be583685f Integrated the CustomTableFieldManager into the SQLTable 2021-08-20 14:42:37 +02:00
Mathias 7925f2f1af Created the CustomTableFieldManager 2021-08-20 14:42:03 +02:00
Mathias 1bea0fd0b2 Added default values to the table field 2021-08-20 14:07:52 +02:00
Mathias 5114296b74 Added default values to the table field 2021-08-20 14:05:24 +02:00
Mathias 7daa494272 Added a comment to the table factory 2021-08-20 00:09:15 +02:00
Mathias a3766aa490 Cleaned up code 2021-08-19 23:24:16 +02:00
Mathias a1b8e4f3d9 Cleaned up readme 2021-08-19 23:18:51 +02:00
Mathias 62a789b7de Updated the boolean logic in the sql table class 2021-08-19 22:25:00 +02:00
Mathias 3af9a7a880 Added the string sql type & updated boolean & varchar 2021-08-19 22:24:25 +02:00
Mathias f6d89ee3f2 Cleaned up code 2021-08-19 22:09:11 +02:00
Mathias 34c1ec14fa Updated the comments in the MySQLConnection class 2021-08-19 22:08:07 +02:00
Mathias ce8042c530 Cleaned up the update method of the MySQLConnection class 2021-08-19 22:01:33 +02:00
Mathias d5bd0e4248 Cleaned up the getResultSet method of the MySQLConnection class 2021-08-19 21:55:32 +02:00
Mathias 356624ce07 Updated the readme file 2021-08-19 21:46:35 +02:00
Mathias 8a16e172ad Cleaned up code 2021-08-19 21:16:55 +02:00
Mathias c77aaa413f Changed the return value of the insert & update manager 2021-08-19 21:15:57 +02:00
Mathias 2446395f4c Fixed a bug in the deletion manager 2021-08-19 21:14:53 +02:00
Mathias 6b82120e17 Changed update to updateTo 2021-08-19 21:02:58 +02:00
Mathias 6b2862a64b Changed the access modifier of the optional query variable 2021-08-19 21:00:24 +02:00
Mathias 5cc960b21a Renamed the delete method to deleteFrom 2021-08-19 20:57:06 +02:00
Mathias c61b4d07e9 Integrated the deletion manager into the sql table & the storage medium 2021-08-19 20:54:47 +02:00
Mathias 7c2f408ef5 Integrated the deletion manager into the MySQLConnection & renamed the update method 2021-08-19 20:54:11 +02:00
Mathias 4661c7d4ec Added the deletion manager 2021-08-19 20:49:01 +02:00
Mathias f6bfcb30d9 Changed UpdateManager#update to UpdateManager#execute 2021-08-19 20:41:52 +02:00
Mathias f7eebbed86 Removed useless method 2021-08-19 20:41:14 +02:00
Mathias d56a4e9580 Integrated the table generator into MySQLConnection#generateTable 2021-08-19 20:19:36 +02:00
Mathias 42f2b37b8b Removed the delete feature from the update manager & cleaned up the update manager 2021-08-19 20:19:03 +02:00
Mathias cebb2c8c98 Changed method name from processStatement to prepareStatement 2021-08-19 20:08:14 +02:00
Mathias 2786ca124f Cleaned up code of the DataBaseSelection & renamed it to SelectionManager 2021-08-19 20:05:58 +02:00
Mathias 3f2987b576 Cleaned up code of the insert manager 2021-08-19 19:59:58 +02:00
Mathias 387f9d7b35 Removed the table prefix integration 2021-08-19 19:42:36 +02:00
Mathias 5efc36d1b0 Removed the table prefix from the mysql connection 2021-08-19 19:40:52 +02:00
Mathias e58d96b58a Cleaned up code 2021-08-19 17:31:13 +02:00
Mathias e88169147c Added the get method to the storage medium 2021-08-19 17:20:33 +02:00
Mathias 96ad704707 Added the TableFactory#getStorage method to get a storage medium 2021-08-19 17:14:03 +02:00
Mathias 264d33db4f Cleaned up some code 2021-08-19 17:11:38 +02:00
Mathias e8544ff761 Added the sql storage medium to easily manage storages 2021-08-19 17:11:26 +02:00
Mathias 7fe1fc9644 Added select, update & insert to the sql table class for quicker access to the table 2021-08-19 17:01:41 +02:00
Mathias 2e5f651afa Added the ResultManager#exists method 2021-08-19 17:00:57 +02:00
Mathias 59705367ed Added the jitpack dependency to the readme file 2021-08-19 16:52:40 +02:00
Mathias 38b3c3bbf4 Updated the project version to 2.0 2021-08-19 16:52:17 +02:00
Mathias 2fecd3b402 Cleaned up code 2021-08-19 16:44:15 +02:00
Mathias 961778bb0e Integrated the table factory to the mysql connection 2021-08-19 16:43:26 +02:00
Mathias ab81160ac4 Added the table factory class 2021-08-19 16:42:40 +02:00
Mathias 5f5f425c04 Added the sql table class 2021-08-19 16:42:17 +02:00
Mathias 50fc5d50d5 The table generator can now add fields by the TableField class 2021-08-19 16:41:30 +02:00
Mathias f83d806674 Added the table field class 2021-08-19 16:40:35 +02:00
Mathias 2106c27799 Added the boolean sql type 2021-08-19 16:40:06 +02:00
Mathias 1ddfecd907 Made the value variable final 2021-08-19 15:51:19 +02:00
Mathias 2532257f53 Removed the LogLevelType.java file 2021-08-19 15:50:40 +02:00
Mathias bbf1232684 Removed the sql field & cleaned up the table generator 2021-08-19 14:56:31 +02:00
Mathias 2d220c0211 Cleaned up the MySQLConnection class 2021-08-19 12:41:15 +02:00
Mathias 47c8a1391d Updated the constructor & the readme file 2021-08-19 12:32:52 +02:00
Mathias ca3e4d180c Removed the old log manager & integrated the new log manager 2021-08-19 12:23:58 +02:00
Mathias 2f396093d1 Cleaned up the pom.xml file 2021-08-19 12:08:36 +02:00
Mathias cca349ef60 Added the slf4j log manager to the dependencies 2021-08-19 12:06:38 +02:00
Mathias 21376fbf77 Removed static modifier 2021-08-19 12:03:42 +02:00
Mathias a04c670e02 Removed author comments 2021-08-19 11:58:57 +02:00
Mathias 3fcf040f54 Added ResultManager.java#getTimestamp to get the timestamp 2021-06-20 18:34:13 +02:00
Mathias c2736e8203 Added ResultManager.java#getList to get a list with all results which contains all columns of the provided query 2021-06-19 10:50:28 +02:00
Mathias 4e3cd42c60 Changed insertFrom to insertTo because it makes more sense 😅 2021-06-19 10:22:11 +02:00
Mathias 81e5fdecaa Added an InsertManager for quickly inserting to a table without writing a SQL Query 2021-06-19 10:15:07 +02:00
Mathias fa5fb6f26e Moved to package / added pom.xml 2021-05-22 15:51:33 +02:00
Mathias 181704e5a7 added sql consumer 2020-12-25 03:43:57 +01:00
Mathias 77f3f48b97 Merge remote-tracking branch 'origin/master' 2020-12-25 01:25:15 +01:00
Mathias f9d1493a5a important bugfix 2020-12-25 01:25:03 +01:00
Mathias 117b9317cf version 1.0 2020-12-24 10:29:12 +01:00
Mathias 57ffb95027 version 1.0 2020-12-24 10:26:30 +01:00