Skip to content

Commit

Permalink
Use lowercase package in code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Apr 30, 2024
1 parent 2b62897 commit b232aef
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions framework-docs/modules/ROOT/pages/data-access/jdbc/core.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Kotlin::

More sophisticated stored procedure support is xref:data-access/jdbc/object.adoc#jdbc-StoredProcedure[covered later].

[[jdbc-JdbcTemplate-idioms]]
[[jdbc-jdbctemplate-idioms]]
=== `JdbcTemplate` Best Practices

Instances of the `JdbcTemplate` class are thread-safe, once configured. This is
Expand Down Expand Up @@ -605,7 +605,7 @@ functionality that is present only in the `JdbcTemplate` class, you can use the
`getJdbcOperations()` method to access the wrapped `JdbcTemplate` through the
`JdbcOperations` interface.

See also xref:data-access/jdbc/core.adoc#jdbc-JdbcTemplate-idioms[`JdbcTemplate` Best Practices]
See also xref:data-access/jdbc/core.adoc#jdbc-jdbctemplate-idioms[`JdbcTemplate` Best Practices]
for guidelines on using the `NamedParameterJdbcTemplate` class in the context of an application.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms;
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms;

public interface CorporateEventDao {
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms;
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms;

public interface CorporateEventRepository {
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms;
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms;

import javax.sql.DataSource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms;
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms;

import javax.sql.DataSource;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms;
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms;

import javax.sql.DataSource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms;
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms;

import org.apache.commons.dbcp2.BasicDataSource;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms

import org.apache.commons.dbcp2.BasicDataSource
import org.springframework.context.annotation.Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms
package org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms

import org.apache.commons.dbcp2.BasicDataSource
import org.springframework.context.annotation.Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
https://www.springframework.org/schema/context/spring-context.xsd">

<!-- tag::snippet[] -->
<bean id="corporateEventDao" class="org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms.JdbcCorporateEventDao">
<bean id="corporateEventDao" class="org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms.JdbcCorporateEventDao">
<property name="dataSource" ref="dataSource"/>
</bean>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<!-- tag::snippet[] -->
<!-- Scans within the base package of the application for @Component classes to configure as beans -->
<context:component-scan base-package="org.springframework.docs.dataaccess.jdbc.jdbcJdbcTemplateidioms" />
<context:component-scan base-package="org.springframework.docs.dataaccess.jdbc.jdbcjdbctemplateidioms" />

<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${jdbc.driverClassName}"/>
Expand Down

0 comments on commit b232aef

Please sign in to comment.