j256 / ormlite-android

ORMLite Android functionality used in conjunction with ormlite-core
http://ormlite.com/
ISC License
1.59k stars 367 forks source link

Is there a way to create multiples tables based on one simple class? #58

Closed alemedero closed 8 years ago

alemedero commented 8 years ago

I have a library project, with common functionalities and then i have multiple projects that depends on it.

Is there a way, for example, from one class "ArticleDTO" create multiple tables representing the categories that i have in each app?

Can i achieve this by using the table config file?

xtien commented 8 years ago

Can you elaborate a little? Ormlite is an ORM tool that stores your objects in a database. I don's see how you can split up an object to store it in multiple tables without splitting up the class itself.

kpgalligan commented 8 years ago

Short answer is "no". Going to close this.