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
Post a Comment