ORMLite - select specific columns of foreign object -


i have class contains foreign class b. want query class , of columns (fields) of class b. class selectcolumns, foreign object b?

@databasetable() public class {      @databasefield(generatedid = true)     private int id;      @databasefield(canbenull = false, foreign = true, foreignautorefresh = true)     private b mb; }  @databasetable() public class b {      @databasefield(generatedid = true)     private int id;        @databasefield       private string includethis;        @databasefield       private string excludethis; } 


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

ruby - Prevent Custom Validation Error on Association -

c++ - Why am i getting wrong values when performing PE base relocation? -