Skip to content

Commit 05f8579

Browse files
committed
* Update documentation.
Relates to #31
1 parent 3721ef6 commit 05f8579

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,14 +630,14 @@ DSL (Java)::
630630
[source,java]
631631
----
632632
ORMTemplate orm = ORMTemplate.of(dataSource);
633-
EntityRepository<User> userRepository = orm.of(dataSource).entity(User.class);
633+
EntityRepository<User> userRepository = orm.entity(User.class);
634634
----
635635
DSL (Kotlin)::
636636
+
637637
[source,kotlin]
638638
----
639639
val orm: ORMTemplate = ORMTemplate.of(dataSource)
640-
val userRepository: EntityRepository<User> = orm.of(dataSource).entity<User>()
640+
val userRepository: EntityRepository<User> = orm.entity<User>()
641641
----
642642
====
643643

0 commit comments

Comments
 (0)