From 3092eed9b01a6d334fa7959bc7a792315eb91b87 Mon Sep 17 00:00:00 2001 From: Jan Schatteman Date: Fri, 31 Mar 2023 23:12:12 +0200 Subject: [PATCH] Contribute a query class diagram Signed-off-by: Jan Schatteman --- design/Diagrams.adoc | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 design/Diagrams.adoc diff --git a/design/Diagrams.adoc b/design/Diagrams.adoc new file mode 100644 index 0000000000..68fed17629 --- /dev/null +++ b/design/Diagrams.adoc @@ -0,0 +1,50 @@ += Class Diagrams +:author:Jan Schatteman +:toc: +:toclevels: 2 + +Some high-level Hibernate class diagrams + +:numbered: +== Query + + +[plantuml,query,png] +.Query class diagram +---- +@startuml +interface jakarta.persistence.Query +interface jakarta.persistence.TypedQuery extends jakarta.persistence.Query + +interface CommonQueryContract +interface MutationQuery +interface SelectionQuery +interface Query +interface QueryImplementor +interface NativeQuery +interface NativeQueryImplementor +class AbstractCommonQueryContract +class AbstractSelectionQuery +class AbstractQuery +class NativeQueryImpl + +interface MutationQuery extends CommonQueryContract +interface SelectionQuery extends CommonQueryContract +interface Query extends MutationQuery, SelectionQuery, jakarta.persistence.TypedQuery +interface QueryImplementor extends Query +interface NativeQuery extends Query +interface NativeQueryImplementor extends NativeQuery + +MutationQuery -[hidden]-> SelectionQuery +AbstractCommonQueryContract .right.> CommonQueryContract +AbstractSelectionQuery -up-|> AbstractCommonQueryContract +AbstractSelectionQuery .right.> SelectionQuery +AbstractQuery -up-|> AbstractSelectionQuery +AbstractQuery -right.> QueryImplementor +NativeQueryImpl -up-|> AbstractQuery +NativeQueryImpl .right.> NativeQueryImplementor + +@enduml +---- + +==