annotations - Android ORMlite: how to configure nested POJO classes? -


I have an Android app that manages places (such as museums, homes), each of them content (main Photo from the form).

database (canBeNull = false) Private list & lt ; SMContent & gt; Content = new arreelist & lt; Content & gt; (); ...} @ DatabaseTable (table name = "sm_contents") Public class SMCTent {... @DatabaseField (id = true) Private string ID; ...}

How can I configure these two classes for parse and manage by ORMLite properly?

Thanks in advance.


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -