Skip to content

Commit bc80678

Browse files
committed
fixing links in the hibernate doc
Signed-off-by: Lewis Birks <22620804+lewisbirks@users.noreply.github.com>
1 parent 2e2372d commit bc80678

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/asciidoc/modules/hibernate.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ import io.jooby.hibernate.HibernateModule
102102

103103
=== Entity Discovering
104104

105-
By default the javadoc:hibernate.HibernateModule[] module detects all the persistent entities under javadoc:Jooby[getBasePackage, text = "base/root package"]. The module provides two
105+
By default the javadoc:hibernate.HibernateModule[artifact="jooby-hibernate"] module detects all the persistent entities under javadoc:Jooby[getBasePackage, text = "base/root package"]. The module provides two
106106
options for more explicit control:
107107

108108
- List persistent classes at creation time:
@@ -119,7 +119,7 @@ options for more explicit control:
119119

120120
=== Transactional Request
121121

122-
The javadoc:hibernate.TransactionalRequest[] filter takes care of a lifecycle of an `EntityManager`/`StatelessSession` per HTTP request.
122+
The javadoc:hibernate.TransactionalRequest[artifact="jooby-hibernate"] filter takes care of a lifecycle of an `EntityManager`/`StatelessSession` per HTTP request.
123123
The filter creates, bind, begin/commit/rollback transaction and finally close it, so route handler
124124
doesn't have to deal with that boring lines of code.
125125

@@ -232,12 +232,12 @@ the same `EntityManager`/`StatelessSession`. It is a simple way of managed simpl
232232

233233
[NOTE]
234234
====
235-
The javadoc:hibernate.TransactionalRequest[] doesn't extend session to the rendering phase (json, html, etc.).
235+
The javadoc:hibernate.TransactionalRequest[artifact="jooby-hibernate"] doesn't extend session to the rendering phase (json, html, etc.).
236236
The route handler needs to make sure all the information required by the rendering phase is available.
237237
Otherwise, you are going to see `LazyInitializationException`.
238238
====
239239

240-
There is a javadoc:hibernate.SessionRequest[] filter that works identically but leaves transaction
240+
There is a javadoc:hibernate.SessionRequest[artifact="jooby-hibernate"] filter that works identically but leaves transaction
241241
management to you, so no transaction is started/committed or rollback during a HTTP request.
242242

243243
==== @Transactional
@@ -460,7 +460,7 @@ Neither can it be used together with `SessionRequest` or `TransactionalRequest`:
460460

461461
Schema creation is controlled by the `hibernate.hbm2ddl.auto` property. The Hibernate module configure this property using the following rules:
462462

463-
- When the javadoc:flyway.FlywayModule[] module is present, the value of `hibernate.hbm2ddl.auto` is set to `none`
463+
- When the javadoc:flyway.FlywayModule[artifact="jooby-flyway"] module is present, the value of `hibernate.hbm2ddl.auto` is set to `none`
464464
- When `application.env` property is set to `dev` or `test`, the value of `hibernate.hbm2ddl.auto` is set to `update`
465465
- Otherwise is set to `none`
466466

@@ -474,7 +474,7 @@ Advanced Hibernate configuration is supported from application configuration pro
474474
hibernate.hbm2ddl.auto = create
475475
----
476476

477-
Or by providing a custom javadoc:HibernateConfigurer[] instance. The javadoc:HibernateConfigurer[]
477+
Or by providing a custom javadoc:hibernate.HibernateConfigurer[artifact="jooby-hibernate"] instance. The javadoc:hibernate.HibernateConfigurer[artifact="jooby-hibernate"]
478478
let you hook and customize Hibernate bootstrap process:
479479

480480
.HibernateConfigurer:
@@ -534,7 +534,7 @@ public class MyConfigurer extends HibernateConfigurer {
534534
}
535535
----
536536

537-
Something similar is possible for custom Session using a javadoc:hibernate.SessionProvider[]:
537+
Something similar is possible for custom Session using a javadoc:hibernate.SessionProvider[artifact="jooby-hibernate"]:
538538

539539
.SessionProvider
540540
[source, java]

0 commit comments

Comments
 (0)