Contribute a query class diagram

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
Jan Schatteman 2023-03-31 23:12:12 +02:00 committed by Jan Schatteman
parent f6e3a56b8e
commit 3092eed9b0
1 changed files with 50 additions and 0 deletions

50
design/Diagrams.adoc Normal file
View File

@ -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
----
==