litesuits / litesuits/android-lite-orm

How to create different tables based on same entity?

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

Nobody has claimed this yet.

Dominant language
Java
Stars
1.5k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

RT.How to create different tables based on same entity?

> so for example

@Table(DBConfigs.TABLE_1)
@Table(DBConfigs.TABLE_2)
public class StatusEntity implements Serializable {
private static final long serialVersionUID = 7928759463994787763L;
}

It's not an issue, but since I found no help in other places ,so I submit this question.
If anyone could give me a working example much appreciated.Thx in advanced ( •̀ .̫ •́ )✧

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

No file, test, or entry point is named. Start by locating LiteOrm's entity and table-mapping implementation, then check whether one entity can target multiple tables; done would be a confirmed working example or a clearly documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, sqlite
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.