Skip to content

Commit

Permalink
Merge pull request #423 from njr-11/explicit-mention-of-persistence-u…
Browse files Browse the repository at this point in the history
…nit-is-missing-from-doc

Explicit mention of persistence unit is missing from javadoc
  • Loading branch information
otaviojava authored Jan 16, 2024
2 parents dab9679 + 9a568c7 commit 6abfdc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/src/main/java/jakarta/data/repository/Repository.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022,2023 Contributors to the Eclipse Foundation
* Copyright (c) 2022,2024 Contributors to the Eclipse Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -100,6 +100,9 @@
* and matches the name of a {@code jakarta.annotation.sql.DataSourceDefinition},
* the JNDI name of a data source, or a resource reference to a data source,
* then the corresponding {@code javax.sql.DataSource} is used as the data store.
* If the same conditions are met but the value matches a persistence unit reference,
* then the corresponding {@code jakarta.persistence.PersistenceUnit} is used as the
* data store.
* </li>
* <li>Otherwise, the value serves as an identifier linking to vendor-specific configuration
* for the Jakarta Data provider to interpret in a vendor-specific way.
Expand Down

0 comments on commit 6abfdc7

Please sign in to comment.