stephanenicolas / robospice

Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
Apache License 2.0
2.95k stars 545 forks source link

Foreign collection for nested entities #429

Open AlexandrSalin opened 9 years ago

AlexandrSalin commented 9 years ago

hi

i have next structure

class A { @DatabaseField(foreign = true, autorefresh = true, autocrteate = true) private B subEntity; }

class B { @ForeihnCollectionField(eager = true) private Collection<"C"> listSubEntities; }

class C { @DatabaseField(foreign = true, columnName = "parent") private B parent }

why reobospice persister InDatabasePersister create A and B, but don't create list of C? for this example all column name assigned and all getters and setters exists.