Skip to content

Support embedded and related SQL attributes - #4

Open
Evolvion wants to merge 1 commit into
mainfrom
feature/12110-embedded-complex-attributes
Open

Support embedded and related SQL attributes#4
Evolvion wants to merge 1 commit into
mainfrom
feature/12110-embedded-complex-attributes

Conversation

@Evolvion

@Evolvion Evolvion commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Detect owned child tables and expose them as scalar or embedded object-class attributes.
  • Add transactional create, update, and delete handling for related rows.
  • Resolve child and junction relationships using their declared parent and target columns, including non-UID and composite joins.
  • Centralize metadata-aware QueryDSL table access shared by read and write paths.
  • Keep junction references read-only and remove their rows safely when deleting the parent.
  • Extend the shared database contract for H2, PostgreSQL, SQLite, Oracle, MariaDB, and MySQL.

Oracle JDBC does not expose foreign keys referencing non-primary unique keys through DatabaseMetaData, so that capability is explicitly represented in the database test configuration.

Testing

  • mvn test — 372 tests passed
  • Six-database contract suite — 108 tests passed, no failures or skips

Work package

#12110

Preserve complete JDBC join metadata and resolve child and junction attributes through their declared parent and target keys. Share metadata-aware SQL access across read and write paths, and cover scalar, embedded, non-UID, composite, and junction relationships in the six-database contract suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant