Skip to content

Conversation

@ArchILLtect
Copy link
Owner

@ArchILLtect ArchILLtect commented Feb 13, 2026

This pull request makes minor adjustments to how large text fields are mapped in the entity classes. Specifically, it removes the unnecessary @Lob annotation from several fields that are already mapped to database columns with the TEXT type.

  • Entity annotation cleanup:
    • Removed the @Lob annotation from the blurb, promptMd, and expectedAnswer fields in the Challenge entity, since these fields are already mapped as TEXT columns. [1] [2]
    • Removed the @Lob annotation from the code field in the Submission entity, as it is also already mapped for large text storage.

Removed @lob annotations from blurb, promptMd, and expectedAnswer fields.
@ArchILLtect ArchILLtect added this to the Post-MVP milestone Feb 13, 2026
@ArchILLtect ArchILLtect self-assigned this Feb 13, 2026
@ArchILLtect ArchILLtect added the bug Something isn't working label Feb 13, 2026
Copilot AI review requested due to automatic review settings February 13, 2026 04:43
@ArchILLtect ArchILLtect added area:persistence Entities, DAOs, JPA/Hibernate mappings, and database concerns. priority:P1-high High importance; schedule next. post-mvp Use for all issues/PRs that do not belong to the MVP release. Will be implement post-MVP. labels Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request simplifies the database mapping configuration for the Challenge entity by removing redundant @Lob annotations from TEXT fields that already have explicit column definitions. The @Lob annotations on blurb, promptMd, and expectedAnswer fields are removed since these fields already specify columnDefinition = "TEXT", making the @lob annotation unnecessary for PostgreSQL.

Changes:

  • Removed @Lob annotations from three Challenge entity fields while retaining their explicit TEXT column definitions
  • Simplified JPA mapping configuration by eliminating redundant annotations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Removed @lob annotation from the code field in Submission class.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings February 13, 2026 04:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 13, 2026 04:56
@ArchILLtect ArchILLtect merged commit fd81d00 into main Feb 13, 2026
7 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

area:persistence Entities, DAOs, JPA/Hibernate mappings, and database concerns. bug Something isn't working post-mvp Use for all issues/PRs that do not belong to the MVP release. Will be implement post-MVP. priority:P1-high High importance; schedule next.

Projects

Development

Successfully merging this pull request may close these issues.

1 participant