We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3721ef6 commit 05f8579Copy full SHA for 05f8579
1 file changed
README.adoc
@@ -630,14 +630,14 @@ DSL (Java)::
630
[source,java]
631
----
632
ORMTemplate orm = ORMTemplate.of(dataSource);
633
-EntityRepository<User> userRepository = orm.of(dataSource).entity(User.class);
+EntityRepository<User> userRepository = orm.entity(User.class);
634
635
DSL (Kotlin)::
636
+
637
[source,kotlin]
638
639
val orm: ORMTemplate = ORMTemplate.of(dataSource)
640
-val userRepository: EntityRepository<User> = orm.of(dataSource).entity<User>()
+val userRepository: EntityRepository<User> = orm.entity<User>()
641
642
====
643
0 commit comments