Package su.onno.spring
package su.onno.spring
-
ClassDescriptionPublish side of cross-node live-UI sync: forwards every locally-originated
EntityChangedEventonto theClusterEventBusso peer nodes can fan it out to their own SSE clients.Relays locally committed process-task inbox invalidations to peer nodes.Boot-time guardrail against the soft-delete footgun.Spring Data JDBC converters that bridge our value-object types (Refand framework enums) and the UUID columns emitted by the schema generator.Reads a framework enum back from avarcharcolumn that holds the enum's UUID as text.Reads aRefback from avarcharcolumn that holds the referenced id as text.Marks freshly-loaded aggregates as not-new so that a subsequentrepository.save(...)issues an UPDATE rather than an INSERT.Publishes hard-delete events only after Spring Data has performed the delete.Excludes Spring Boot's default JdbcRepositoriesAutoConfiguration since OnnoRepositoriesAutoConfiguration handles JDBC repos with proper RegisterRepository exclusion.AMappingJdbcConverterthat fixes how framework enums map onto their database column type.Repository guardrails (onno.repository.*).Schema lifecycle configuration (onno.schema.*).Security-related configuration (onno.security.*).Replaces Spring Boot's JdbcRepositoriesAutoConfiguration with one that excludes RegisterRepository subtypes, and enables register repo scanning separately.OnnoSimpleJdbcRepository<T,ID> Spring Data JDBC repository base that implements the framework's deletion-mark contract for catalogs and documents.Registers the durable timer/subprocess poller with the starter's JobRunr scheduler.RegisterRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,UUID>, S, UUID> Scans for RegisterRepository interfaces and ensures they are registered with RegisterRepositoryFactoryBean, replacing any JDBC-created definitions.Loads complete Spring Data document aggregates, including tabular sections, for chronological posting restoration.