android - Does Sugar ORM take serialized name for the column name? -


i want know if sugar orm take serialized name column name in database. eg..

in pojo,

public class mypojo implements serializable{  @serializedname("id") string program_id;  ..... } 

what sugar orm take columnname, "id" or "program_id" ?

keep in mind @serializedname mapping between gson , objects. underlying sqlite database sugar manages, still have correspondence:

string program_id ----> "program_id" 

sources: https://github.com/satyan/sugar/issues/86


Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -