Skip to content

TPDSSDataManager v1.5.2

Latest

Choose a tag to compare

@JekaSylar JekaSylar released this 06 Aug 16:23

🚀 What's New

This update introduces Dynamic Schema Matching. The system is now much more flexible and resilient when dealing with database files that have slight structural differences (e.g., missing columns in some employee files). It automatically detects and maps only the overlapping fields between the template and the source files.

🐛 Bug Fixes

  • "Too few parameters" Error Fixed (Merge Module): Addressed a critical crash in MergeDatabasesAsync. The system no longer assumes all databases have the exact same columns. It now dynamically checks for missing fields and uses Intersect to build safe INSERT INTO queries, preventing crashes.
  • "Item not found in this collection" Error Fixed (Test Module): Resolved a crash in DatabaseTester. When analyzing chunks that are missing certain columns, the tester now safely substitutes them with empty values instead of throwing a missing element exception.

🔧 Technical Details

  • Implemented dynamic Field intersection for normal and Multi-Valued Fields (MVF) to ensure strict compatibility before executing DAO Recordset operations.
  • Added safe null handling (List<Field?>) in the fast-key string builder.
  • Enhanced Primary Key (Ідентифікатор) condition formatting to safely parse Guid and string types in dynamic SQL queries.