Skip to content

Commit

Permalink
Update MapResultTransformer JavaDoc to include the article showing ho…
Browse files Browse the repository at this point in the history
…w to use it
  • Loading branch information
vladmihalcea committed Jan 21, 2020
1 parent 31f2dd4 commit 2c0e318
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
import java.util.Map;

/**
* The {@link MapResultTransformer} allows us to return
* The {@link com.vladmihalcea.hibernate.type.util.MapResultTransformer} allows us to return
* a {@link Map} from a JPA {@link javax.persistence.Query}.
* <p>
* If there are aliases named as {@code key} or {@code value},
* then those will be used.
* <p>
* Otherwise, the first column value is the key while the second one is the Map value.
* <p>
* For more details about how to use it, check out <a href="https://vladmihalcea.com/jpa-query-map-result/">this article</a> on <a href="https://vladmihalcea.com/">vladmihalcea.com</a>.
*
* @author Vlad Mihalcea
* @since 2.9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
import java.util.Map;

/**
* The {@link MapResultTransformer} allows us to return
* The {@link com.vladmihalcea.hibernate.type.util.MapResultTransformer} allows us to return
* a {@link Map} from a JPA {@link javax.persistence.Query}.
* <p>
* If there are aliases named as {@code key} or {@code value},
* then those will be used.
* <p>
* Otherwise, the first column value is the key while the second one is the Map value.
* <p>
* For more details about how to use it, check out <a href="https://vladmihalcea.com/jpa-query-map-result/">this article</a> on <a href="https://vladmihalcea.com/">vladmihalcea.com</a>.
*
* @author Vlad Mihalcea
* @since 2.9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
import java.util.Map;

/**
* The {@link MapResultTransformer} allows us to return
* The {@link com.vladmihalcea.hibernate.type.util.MapResultTransformer} allows us to return
* a {@link Map} from a JPA {@link javax.persistence.Query}.
* <p>
* If there are aliases named as {@code key} or {@code value},
* then those will be used.
* <p>
* Otherwise, the first column value is the key while the second one is the Map value.
* <p>
* For more details about how to use it, check out <a href="https://vladmihalcea.com/jpa-query-map-result/">this article</a> on <a href="https://vladmihalcea.com/">vladmihalcea.com</a>.
*
* @author Vlad Mihalcea
* @since 2.9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* then those will be used.
* <p>
* Otherwise, the first column value is the key while the second one is the Map value.
* <p>
* For more details about how to use it, check out <a href="https://vladmihalcea.com/jpa-query-map-result/">this article</a> on <a href="https://vladmihalcea.com/">vladmihalcea.com</a>.
*
* @author Vlad Mihalcea
* @since 2.9.0
Expand Down

0 comments on commit 2c0e318

Please sign in to comment.