You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: framework-docs/modules/ROOT/pages/data-access/jdbc/packages.adoc
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,30 @@
3
3
4
4
The Spring Framework's JDBC abstraction framework consists of four different packages:
5
5
6
-
* `core`: The `org.springframework.jdbc.core` package contains the `JdbcTemplate` class and its
7
-
various callback interfaces, plus a variety of related classes. A subpackage named
8
-
`org.springframework.jdbc.core.simple` contains the `SimpleJdbcInsert` and
6
+
* `core`: The `org.springframework.jdbc.core` package contains the `JdbcTemplate` class
7
+
and its various callback interfaces, plus a variety of related classes. A subpackage
8
+
named `org.springframework.jdbc.core.simple` contains the `SimpleJdbcInsert` and
9
9
`SimpleJdbcCall` classes. Another subpackage named
10
10
`org.springframework.jdbc.core.namedparam` contains the `NamedParameterJdbcTemplate`
11
11
class and the related support classes. See xref:data-access/jdbc/core.adoc[Using the JDBC Core Classes to Control Basic JDBC Processing and Error Handling], xref:data-access/jdbc/advanced.adoc[JDBC Batch Operations], and
12
12
xref:data-access/jdbc/simple.adoc[Simplifying JDBC Operations with the `SimpleJdbc` Classes].
13
13
14
-
* `datasource`: The `org.springframework.jdbc.datasource` package contains a utility class for easy
15
-
`DataSource` access and various simple `DataSource` implementations that you can use for
16
-
testing and running unmodified JDBC code outside of a Jakarta EE container. A subpackage
17
-
named `org.springfamework.jdbc.datasource.embedded` provides support for creating
14
+
* `datasource`: The `org.springframework.jdbc.datasource` package contains a utility class
15
+
for easy `DataSource` access and various simple `DataSource` implementations that you can
16
+
use for testing and running unmodified JDBC code outside of a Jakarta EE container. A subpackage
17
+
named `org.springframework.jdbc.datasource.embedded` provides support for creating
18
18
embedded databases by using Java database engines, such as HSQL, H2, and Derby. See
19
19
xref:data-access/jdbc/connections.adoc[Controlling Database Connections] and xref:data-access/jdbc/embedded-database-support.adoc[Embedded Database Support].
20
20
21
-
* `object`: The `org.springframework.jdbc.object` package contains classes that represent RDBMS
22
-
queries, updates, and stored procedures as thread-safe, reusable objects. See
21
+
* `object`: The `org.springframework.jdbc.object` package contains classes that represent
22
+
RDBMS queries, updates, and stored procedures as thread-safe, reusable objects. See
23
23
xref:data-access/jdbc/object.adoc[Modeling JDBC Operations as Java Objects]. This approach is modeled by JDO, although objects returned by queries
24
24
are naturally disconnected from the database. This higher-level of JDBC abstraction
25
25
depends on the lower-level abstraction in the `org.springframework.jdbc.core` package.
26
26
27
-
* `support`: The `org.springframework.jdbc.support` package provides `SQLException` translation
28
-
functionality and some utility classes. Exceptions thrown during JDBC processing are
29
-
translated to exceptions defined in the `org.springframework.dao` package. This means
27
+
* `support`: The `org.springframework.jdbc.support` package provides `SQLException`
28
+
translation functionality and some utility classes. Exceptions thrown during JDBC processing
29
+
are translated to exceptions defined in the `org.springframework.dao` package. This means
30
30
that code using the Spring JDBC abstraction layer does not need to implement JDBC or
31
31
RDBMS-specific error handling. All translated exceptions are unchecked, which gives you
32
32
the option of catching the exceptions from which you can recover while letting other
0 commit comments