Commit Graph

253 Commits

Author SHA1 Message Date
Marc Baloup f510099068 Update ORM API (makes usage less verbose) 2020-02-27 02:06:38 +01:00
Marc Baloup 0c3e1425fd Full refactor of network API + deprecation of old API 2020-02-08 15:43:19 +01:00
Marc Baloup c510c0197e Add startupDelay in ServerPropertyFile 2020-02-02 17:00:58 +01:00
Marc Baloup dba1916de7 Add DirUtils 2020-02-02 16:37:06 +01:00
Marc Baloup 173762e481 fix potential db connexion problem 2020-02-02 16:36:43 +01:00
Marc Baloup 1c632788f1 Adding 1.15.2 2020-01-23 17:07:34 +01:00
Marc Baloup 781d291f86 Adding 1.15 and 1.15.1 2019-12-26 17:56:42 +01:00
Marc Baloup ea9bfd1270 Some ORM refactoring 2019-12-02 01:25:40 +01:00
Marc Baloup ccaf9bf26c Check empty SQLWhereChain 2019-12-01 23:39:19 +01:00
Marc Baloup 14da2611c0 add ORM.delete() method 2019-11-20 18:30:12 +01:00
Marc Baloup 49f5c57696 put ORM initialisation log messages in debug level 2019-11-07 15:48:43 +01:00
Marc Baloup d99c64721c Fix SQLWhereIn when there is no element to compare to 2019-11-04 22:27:59 +01:00
Marc Baloup bcb46b7cd5 Add SQLWhereIn and LevenshteinDistance algorithm 2019-11-03 00:15:23 +01:00
Marc Baloup 05d115cd19 Refactor package 2019-10-26 23:15:49 +02:00
Marc Baloup e23a19213c Move util file in PandacubeUtil 2019-10-12 16:28:49 +02:00
Marc Baloup c778304401 Add run option in Server property file 2019-08-30 15:45:54 +02:00
Marc Baloup 92a1d21b3b Fix important parameter not used in ReflexionUtil 2019-07-29 22:10:43 +02:00
Marc Baloup c72a1af3ba Add 1.14.4 2019-07-24 18:34:52 +02:00
Marc Baloup 1ab42b351b Add ReflexionUtil 2019-07-23 16:01:33 +02:00
Marc Baloup b3b0349ebd Fix column name escaping again 2019-07-21 13:41:17 +02:00
Marc Baloup d0a80abd41 fix again table column name escaping 2019-07-18 18:26:19 +02:00
Marc Baloup 4773999dd6 escaping column names in ORM 2019-07-18 17:37:27 +02:00
Marc Baloup e9188b8c1a refactoring TabProposal 2019-07-05 22:18:09 +02:00
Marc Baloup 7739473213 Update ORM 2019-07-05 22:17:45 +02:00
Marc Baloup 7cdd1befdc Adding version 1.14.3 2019-07-05 22:16:09 +02:00
Marc Baloup 71fefda597 Add 1.14.1 and 1.14.2 + cleaner error messages for network API 2019-06-01 20:58:54 +02:00
Marc Baloup 8a56e6a50e Change version numbering (shorter) 2019-05-12 14:36:15 +02:00
Marc Baloup c41e96ce6e Move ColorUtil to PandacubeSpigot 2019-05-12 14:16:35 +02:00
Marc Baloup 2b45da9c55 Fix in ORM 2019-05-11 00:33:54 +02:00
Marc Baloup c8f717394f Add 1.14 in MinecraftVersion 2019-05-10 23:12:01 +02:00
Marc Baloup cd9c776dd8 Try to fix and improve ORM initialisation (more explicit on reasons why a field is not initialized) 2019-04-11 15:47:19 +02:00
Marc Baloup a956f5143e Add debug infos in ORM table initialisation 2019-04-11 14:45:42 +02:00
Marc Baloup a6f126bcc7 Fix IllegalAccessException while initializing an ORM class 2019-03-16 00:48:14 +01:00
Marc Baloup d853368f4c Better management of DB connection + adding method in ORM to truncate table 2019-03-15 19:09:11 +01:00
Marc Baloup e60fe99410 Add random item selection from Set 2019-03-15 19:01:34 +01:00
Marc Baloup 94138ad79a ORM: Improvement about foreigh keys 2019-01-22 15:28:48 +01:00
Marc Baloup c1778634ad Better display of multiple minecraft version 2019-01-18 18:12:02 +01:00
Marc Baloup 6636b8fd4d Adding 1.13.1 and 1.13.2 versions in MinecraftVersion enum 2019-01-17 00:22:19 +01:00
Marc Baloup 65d173fa04 refactoring foreigh key method and field 2019-01-16 11:15:42 +01:00
Marc Baloup 9f339c357f negative time in TimeUtil 2018-10-31 14:25:42 +01:00
Marc Baloup d46d0d2890
big fix ORM getCustomResult 2018-10-07 01:56:42 +02:00
Marc Baloup a44233bea0
Ajout méthode dans ORM 2018-10-07 01:46:34 +02:00
Marc Baloup 6e5cdd16af
Ajout 1.13 2018-07-23 23:06:51 +02:00
Marc Baloup 4f1446e3a5
Ajout dans StringUtil et RandomUtil 2018-07-21 17:57:44 +02:00
Marc Baloup 241671c0aa Little improvement of TabProposal 2018-03-24 19:10:44 +01:00
Marc Baloup 4dd7f86416 Ajout version 1.12.2 2018-03-13 13:26:47 +01:00
Marc Baloup dfa098a22d Fixed bug in SQLElementList 2017-11-08 01:56:37 +01:00
Marc Baloup 304d957fa1 Code cleanup in ORM structure 2017-11-04 19:20:53 +01:00
Marc Baloup d0d53ac472 SQL ORM Improvement 2017-09-15 01:33:45 +02:00
Marc Baloup 0391b7a9a0 Improve Java/SQL ORM
- Support for custom Java types and conversion for database storage
- Enums are considered custom types
- SQLField.name is now encapsulated as encouraged by OOP principles
- SQLField.name is now auto deducted from the Java field's name in the SQLElement subclass (no more field name in the constructor)
- No need to precise the SQLType of an SQLFKField (auto deducted from the target SQLField's type) via static method SQLFKField.customFK()
- Support of Java type UUID (stored as CHAR(36) in database. No need to use custom getter and setters for SQLElements using UUID fields
2017-09-13 01:05:10 +02:00