JavaWebStack / JavaWebStack/orm

Multiple column key and "keyless" pivot models

Open
#28 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Currently there is no way to have a model without an id field. For pivot models and in some other cases you want to have multiple identifier fields instead of a single id field.

Describe the solution you'd like
Adding id = true to multiple @Column annotations should result in all fields being used as the model identifier.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies @Column annotations and model identifier handling as the entry points. Start by locating the Java code that processes id=true and reviewing existing identifier behavior; done means supporting multiple identifier fields and models without an id while preserving current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.