Commit Graph

127 Commits

Author SHA1 Message Date
Daniele Teti
b59f8f6421 Added MVCNamedSQLQuery and MVCNamedRQLQuery (Named queries support is complete) 2023-08-09 10:55:34 +02:00
Daniele Teti
636341d822 NamedSQLQuery (WIP) 2023-08-09 01:23:24 +02:00
Daniele Teti
47c3003f15 Better organization of method between TMVCActiveRecord and TMVCActiveRecordHelper 2023-08-09 00:46:31 +02:00
Daniele Teti
0053885bc1 Better exception description and better recognize of boolean type when database doesn't know boolean field types 2023-08-08 18:54:44 +02:00
Daniele Teti
c201c916cb https://github.com/danieleteti/delphimvcframework/issues/675 2023-08-08 14:31:23 +02:00
Daniele Teti
69d9780b02 TMVCActiveRecord correnctly handle "DirectExecute" params in Exec* methods 2023-07-12 15:01:58 +02:00
Daniele Teti
2b65a1d503 In case of MVCPartitioning and DefaultFiltering are both present, DefaultFiltering wins.
While the partitioning in enforced at insert, the update doesn't enforce partitioning. This allows to implement proper OOP architecture (person -> employee -> manager)
2023-07-07 20:29:09 +02:00
Daniele Teti
2365be432b Wrong comparison in checks for ro/RW/PK fields 2023-06-16 00:59:51 +02:00
Daniele Teti
2e2d3a499e Added support for configuration; better handling for topics cleaning. 2023-06-15 23:42:07 +02:00
Francisco Zanini
317d97ce2e
Fixed wrong data type for NullableTGUID (#651)
Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2023-03-28 17:08:58 +02:00
Daniele Teti
3e36a3389b Preparing for 3.3.0-fluorine release 2023-03-24 17:16:03 +01:00
Daniele Teti
0023ebe32c https://github.com/danieleteti/delphimvcframework/issues/631 2023-01-29 17:29:24 +01:00
Daniele Teti
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00
Daniele Teti
9a85f19680 Added "DirectExecute" options in ExecSQL methods 2023-01-02 22:09:42 +01:00
Daniele Teti
cb6f0f0c8c https://github.com/danieleteti/delphimvcframework/issues/581 2022-11-24 11:07:34 +01:00
Daniele Teti
d419cc690f https://github.com/danieleteti/delphimvcframework/issues/594 2022-11-21 15:20:18 +01:00
Daniele Teti
8b7ec97819 Improved TMVCTableMapRepository lock 2022-11-17 23:53:32 +01:00
Daniele Teti
1b7e2ed742 + flyweight for TableMapInfo in TMVCActiveRecord (WIP) 2022-11-17 19:33:27 +01:00
Daniele Teti
d5cc48f7b0 - Removed foTransient from MVCTableField FieldOptions 2022-11-15 09:27:08 +01:00
Daniele Teti
b0080184d2 Improved Samples, mostrly ActiveRecord related 2022-11-10 18:30:11 +01:00
Daniele Teti
cf104c0a6f Async support for JSONRPCClient (Thanks to our sponsor ORION LAW) 2022-10-29 00:34:49 +02:00
Daniele Teti
53fc9e394e https://github.com/danieleteti/delphimvcframework/issues/585 2022-10-25 09:00:35 +02:00
Marcelo Jaloto
ade3263c25
Issue#583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type (#584)
* Issue #546 was missing from the merge.

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;
2022-10-21 23:08:20 +02:00
Daniele Teti
ee6075d6a2 Improved MVCARAntitiesGenerator (WIP), Improved TMVCActiveRecord.Merge method 2022-08-28 13:06:16 +02:00
Daniele Teti
06ab7af8c8 Improved ActiveRecord middleware (better connections handling in case of huge traffic). New sample "middleware_activerecord" 2022-08-13 15:01:15 +02:00
Daniele Teti
31dee93a3e https://github.com/danieleteti/delphimvcframework/issues/565 2022-08-09 13:02:29 +02:00
Daniele Teti
945f807598 https://github.com/danieleteti/delphimvcframework/issues/564 2022-08-02 23:57:09 +02:00
Daniele Teti
b109c6fed8 https://github.com/danieleteti/delphimvcframework/issues/335 2022-08-02 17:07:14 +02:00
Daniele Teti
4a509b0eb0 - Improved nullable types Python generator
- Unit test refactoring
2022-08-01 19:11:42 +02:00
João Antônio Duarte
140b70ba33 + Adjustments for Delphi Seattle/Berlin compatibility 2022-07-15 15:42:29 -03:00
Daniele Teti
6d0ef7d5a6 + Implemented unit test for GUID support (WIP) 2022-06-23 14:34:01 +02:00
Daniele Teti
ce4616a398 + GUID support for PK (WIP) 2022-06-19 18:57:47 +02:00
Daniele Teti
dfbcadb8fa + First merge with "GUID support for Primary Keys" 2022-06-16 14:05:01 +02:00
Marcelo Jaloto
dd4f7f0afd New improvements for use with fields of primary key of kind Guid; 2022-05-13 12:23:00 -03:00
Marcelo Jaloto
80dc7f141a Fixes bug when a Active Record field primary key is a Guid. See more issue 552; 2022-05-13 12:15:32 -03:00
Daniele Teti
07bd70c5ed + Improved TMVCActiveRecord Interbase support 2022-01-26 23:00:32 +01:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
17cc5d5eea + Compatibility fix for Delphi 10.2 Tokyo 2021-11-23 18:03:48 +01:00
Daniele Teti
02de5b11ea - Added default filtering for TMVCActiveRecord descendants (more info ASAP)
- Added partitioning for `TMVCActiveRecord descendants` (more info ASAP)

- After a big refactoring (*"I love to delete code" -- cit. Daniele Teti*), support a new SQLGenerator is just 2 (two) methods away!
2021-11-21 19:27:06 +01:00
Daniele Teti
3360dea516 + completed tests for default filtering and partitioning (just for PostgreSQL) (WIP for other RDBMSes) 2021-11-19 00:34:37 +01:00
Daniele Teti
c231e6540e + added test for default filtering 2021-11-18 17:52:06 +01:00
Daniele Teti
5550819fca + Fixed a bug in RQL' MaxRecordCount
+ Implemented Table Partitioning (WIP)
2021-11-18 00:49:12 +01:00
Daniele Teti
49518a311b + table filtering (WIP) 2021-11-17 15:36:20 +01:00
Daniele Teti
07e16c1e1f - added AddDefaultConnection overload
- added helper methods to IMVCRESTResponse
2021-10-20 11:29:49 +02:00
Daniele Teti
e3eb26e04a + added more unit test for TMVCActiveRecord.Merge method 2021-09-23 22:52:28 +02:00
Daniele Teti
9e07af91dc + Added new default parameter to TMVCActiveRecord.RemoveDefaultConnection and TMVCActiveRecord.RemoveConnection to avoid exceptions in case of not initialized connection. 2021-08-13 18:05:48 +02:00
João Antônio Duarte
1914c4c8e4 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/501 2021-08-02 09:53:11 -03:00
João Antônio Duarte
9fc7a0111e [+] Fix for compatibility with delphi Berlin. 2021-07-16 18:55:33 -03:00
Daniele Teti
ac2a03a804 [+] added RaiseIfNotFound parameter in TMVCActiveRecord.Update and TMVCActiveRecord.Delete 2021-06-27 15:14:37 +02:00
Daniele Teti
662d86e57a completed merge - working on the master_details sample 2021-05-03 19:29:01 +02:00