JavaWebStack / JavaWebStack/orm

Enhanced support for the @Deprecated annotation.

Aperta
#54 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
7
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Is your feature request related to a problem? Please describe.**
Many applications evolve over time and this also means that Models are getting deprecated and aren't used anymore. By supporting this annotation we introduce a clear way for the engineer and ORM to handle this.

**Describe the solution you'd like**

- The auto migrator should ignore the annotated models **if the table doesn't exist already**.
- The ORM model should still be functional, if the table exists else the methods do nothing/return empty.

**Describe alternatives you've considered**
Check the annotation myself and don't make calls to the ORM methods.

**Additional Context**
The annotation has the RUNTIME RetentionPolicy and is therefore accessible at runtime.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia individuando i punti di ingresso dell’auto migrator e dei modelli ORM, quindi esamina come vengono attualmente gestite le annotazioni a runtime e le tabelle mancanti. Verifica il comportamento richiesto per i modelli deprecati: le tabelle esistenti rimangono utilizzabili, mentre le tabelle assenti vengono ignorate e i metodi ORM non fanno nulla o restituiscono risultati vuoti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
database
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.