Skip to content

User login registration#1

Open
ramchandra94 wants to merge 2 commits into
mainfrom
user_login_registration
Open

User login registration#1
ramchandra94 wants to merge 2 commits into
mainfrom
user_login_registration

Conversation

@ramchandra94
Copy link
Copy Markdown
Owner

No description provided.


@Override
public void run(ApplicationArguments args) throws SQLException {
Connection conn = hikariDataSource.getConnection();
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will currently not allow spring boot application to boot up if the DB is not running. instead catch and throw a warning maybe.

@ResponseStatus(HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {

private static final long serialVersionUID = 1L;
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it needed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant