Skip to content

Fixed typos #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.sql.Statement;

/**
* {@link UserProfileDbInitializer} is an API that has only one method. It allow to create a database tables to store
* {@link UserProfileDbInitializer} is an API that has only one method. It allows to create a database tables to store
* information about users and their profiles.
*/
public class UserProfileDbInitializer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.sql.Statement;

/**
* {@link WallStreetDbInitializer} is an API that has only one method. It allow to create a database tables to store
* {@link WallStreetDbInitializer} is an API that has only one method. It allows to create a database tables to store
* information about brokers and its sales groups.
*/
public class WallStreetDbInitializer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ public AccountDbInitializer(DataSource dataSource) {
}

/**
* Creates an {@code account} table. That table has a identifier column {@code id} with type {@code bigint}.
* It also contains an {@code email} column that is mandatory and should have unique value. This column is be able
* Creates an {@code account} table. That table has an identifier column {@code id} with type {@code bigint}.
* It also contains an {@code email} column that is mandatory and should have unique value. This column is able
* to store any valid email. The table also has columns {@code first_name}, {@code last_name}, and {@code gender}
* that are typical string columns with 255 characters, and are mandatory. Account {@code birthday} is stored
* in the {@code DATE} mandatory column. The value of account balance is not mandatory, and is stored
* in the {@code balance} column that is a {@code DECIMAL} number with {@code precision = 19} ,
* and {@code scale = 4}. A column {@code creation_time} stores a {@code TIMESTAMP}, is mandatory, and has a default
* value that is set to the current timestamp using database function {@code now()}. Table primary key
* is an {@code id}, and corresponding constraint is named {@code "account_pk"}. An unique constraint that
* is an {@code id}, and corresponding constraint is named {@code "account_pk"}. A unique constraint that
* is created for {@code email column} is called "account_email_uq"
*
* @throws SQLException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.List;

/**
* {@link ProductDao} is an Data Access Object pattern (DAO) that encapsulates all database access and manipulation logic.
* {@link ProductDao} is a Data Access Object pattern (DAO) that encapsulates all database access and manipulation logic.
* It provides a convenient API that allow to store, access, update and remove data working with object OO style.
*/
public interface ProductDao {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.function.Function;

/**
* {@link QueryHelper} provides a util method that allows to perform read operations in the scope of transaction
* {@link QueryHelper} provides an util method that allows to perform read operations in the scope of transaction
*/
public class QueryHelper {
private EntityManagerFactory entityManagerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* - configure auto generated identifier
* - configure mandatory column "name" for field {@link Company#name}
* <p>
* - configure one to many relationship as mapped on the child side
* - configure one-to-many relationship as mapped on the child side
*/
@NoArgsConstructor
@Getter
Expand Down