Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “However, in the reactive world, we use ReactiveCrudRepository
or R2dbcRepository
.”
A block of code is set as follows:
# Enable H2 Console spring.h2.console.enabled=true # Database Configuration for H2 spring.r2dbc.url=r2dbc:h2:mem:///testdb spring.r2dbc.username=sa spring.r2dbc.password= # Schema Generation spring.sql.init.mode=always spring.sql.init.platform=h2
Any command-line input or output is written as follows:
./gradlew bootRun
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Once you’ve made all the selections, click on the Generate button to get the ready-to-build project.”
Tips or important notes
Appear like this.