-
Terminally Deprecated ElementsElementDescriptionThis method will be removed in YOJ 3.0.0. Use
Table.find(Entity.Id, Supplier)instead.
-
Deprecated ClassesClassDescriptionBlindly setting entity fields is not recommended. Use
Table.modifyIfPresent()instead, unless you have specific requirements.Blind updates disrupt query merging mechanism, so you typically won't able to run multiple blind update statements in the same transaction, or interleave them with upserts (
Table.save()) and inserts.Blind updates also do not update projections because they do not load the entity before performing the update; this can cause projections to be inconsistent with the main entity.
-
Deprecated MethodsMethodDescriptionThis method will be removed in YOJ 3.0.0. Use
Table.find(Entity.Id)instead.This method will be removed in YOJ 3.0.0. UseTable.find(Entity.Id, Supplier)instead.For testing purposes only. Will only reliably work for tables that were created or inspected using calls toRepository.schema(Class).
-
Deprecated ConstructorsConstructorDescriptionLow-level constructor, kept for compatibility with existing code. Not recommended.
Table.find(Entity.Id)instead.