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

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -