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 399769f
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
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
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 399769f

Please sign in to comment.