About Spring Data
, mostly for some projects under the umbrella of NoSQL
, in the overview tab exists any of the two following sentences located in the Features section.
- Exception translation into Spring’s portable Data Access Exception hierarchy - at Spring Data MongoDB, Spring Data Couchbase, Spring Data Couchbase
- Exception Translation to the familiar Spring DataAccessException hierarchy - at Spring Data for Apache Cassandra
Could be consider to indicate explicitly at the current reference documentation and javadoc of DataAccessException that works for SQL and NoSQL branches? Of course, this class is mostly known as defacto about the SQL world. But currently in the javadoc does not appear the SQL nor NoSQL terms.
Thanks for your understanding
Comment From: snicoll
The javadoc of DataAccessException
is fine as it is IMO. As you've noted yourself, it doesn't try to get into the details of what technology is being used behind the scenes. It uses JDBC as an example, and that's what we should stick to as there's nothing in that infrastructure that should tie it to SQL or NoSQL. Only the actual implementation does.