Skip to content

Commit

Permalink
improves documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviojava committed Mar 6, 2019
1 parent e96ab41 commit 680e4bc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions specification/src/main/asciidoc/annotations.adoc
Expand Up @@ -422,6 +422,20 @@ private GraphTemplate graphTemplate;
private PersonRepository repositorySupplier;
----

IMPORTANT: When there is more than one mapper implementation at the application classpath use the repository attribute, otherwise, it will return an Ambiguous dependency error.

[source,java]
----
@Inject
@ConfigurationUnit(fileName = "document.json", name = "name", database = "database", repository = DOCUMENT)
private PersonRepository personRepository;
@Inject
@ConfigurationUnit(fileName = "column.json", name = "name", database = "database", repository = COLUMN)
private PersonRepository personRepository;
----

===== The configuration structure

Each configuration has four fields:
Expand Down

0 comments on commit 680e4bc

Please sign in to comment.