Skip to content

Commit d084abb

Browse files
committed
* Update documentation.
Relates to #31
1 parent 26a9c43 commit d084abb

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,17 +1428,6 @@ interface UserRepository : EntityRepository<User> {
14281428
----
14291429
====
14301430

1431-
=== Intercepting SQL Statements ===
1432-
1433-
Storm provides a powerful mechanism called SqlInterceptor for observing and modifying SQL statements generated by the
1434-
template engine. This feature allows you to inspect or alter SQL before it's sent to the database, enabling scenarios
1435-
such as logging, debugging, or applying query transformations.
1436-
1437-
[NOTE]
1438-
====
1439-
Intercepting SQL statements is primarily intended for logging, diagnostics, debugging, and similar concerns. It is not recommended to use SQL interceptors for implementing business logic or critical application functionality.
1440-
====
1441-
14421431
=== Spring Framework Integration
14431432

14441433
Spring Framework integration is straightforward. Include the following dependency to tie Storm into your Spring (Boot)
@@ -1548,6 +1537,17 @@ class AcmeRepositoryBeanFactoryPostProcessor : RepositoryBeanFactoryPostProcesso
15481537
----
15491538
====
15501539

1540+
=== Intercepting SQL Statements ===
1541+
1542+
Storm provides a powerful mechanism called SqlInterceptor for observing and modifying SQL statements generated by the
1543+
template engine. This feature allows you to inspect or alter SQL before it's sent to the database, enabling scenarios
1544+
such as logging, debugging, or applying query transformations.
1545+
1546+
[NOTE]
1547+
====
1548+
Intercepting SQL statements is primarily intended for logging, diagnostics, debugging, and similar concerns. It is not recommended to use SQL interceptors for implementing business logic or critical application functionality. The `SqlInterceptor` is part of the `storm-core` module, which needs to be made available at compile time in order to use it.
1549+
====
1550+
15511551
==== Observing SQL Statements ====
15521552

15531553
To observe SQL statements without modifying them, you can use an observer:

0 commit comments

Comments
 (0)