O
O
Oleg Gamega2015-09-05 14:45:35
Java
Oleg Gamega, 2015-09-05 14:45:35

How to implement one-to-many in ormlite on one table?

Hello.
I want to implement a tree using the table
_id | parent_id | title
all examples I find for two tables, how to describe such a table in ormlite ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2015-09-08
@zolt85

Foreign-Collection
make a collection of yourself in your class, match to parent_id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question