Skip to content

Conversation

@ipaulaandreea
Copy link

Adds active record pattern

Close #79

Copy link
Owner

Choose a reason for hiding this comment

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

Is this file necessary, or is created on demand?

Comment on lines 42 to 43
<!-- <optional/> Removed -->
<version>1.18.30</version> <!-- Added -->
Copy link
Owner

Choose a reason for hiding this comment

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

We should use the version from the parent

Comment on lines 50 to 54
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.46.0.0</version>
</dependency>
Copy link
Owner

Choose a reason for hiding this comment

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

* Find a user by ID.
*/

public static User findById(int id) throws SQLException {
Copy link
Owner

Choose a reason for hiding this comment

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

Perhaps return Optional<User>?

update-header.sh Outdated
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#

Copy link
Owner

Choose a reason for hiding this comment

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

Not sure if this script is necessary?

@ipaulaandreea
Copy link
Author

Thanks for the cr! Will look into it

@sonarqubecloud
Copy link

@stale
Copy link

stale bot commented Dec 15, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Dec 15, 2024
@iluwatar iluwatar closed this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: stale issues and pull requests that have not had recent interaction status: under review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Active Record pattern

2 participants