What annotations will be used if we have to skip a particular field and the remaining fields fetch in the database? ex: i have 10 fields but i need only 9 fields and those are fetched in the database?
Discussion posts and replies are publicly visible
I can not follow. Please elaborate.
supose i had 10 fields in backend table....,but i want only 9 fields to be fetched ,so in xsd is there any specific annotation to skip particular field...? with out throwing schema errors...
You would simply leave it out of your XSD if you have a DB column you never want to include, or comment it out with <!-- field -->. It does not hurt to have extra fields in the DB that are not referenced in the XSD.
Another option is using the selection parameter of a!queryEntity() to limit the fields returned.
Will try this , Thank you:)