Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Array of bean objects  RSS feed

 
zaxxon25
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone send me sample code which can guide me ho to create array of bean objects
 
Garrett Rowe
Ranch Hand
Posts: 1296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure I follow. Do you mean something like this?

[ February 20, 2007: Message edited by: Garrett Rowe ]
 
zaxxon25
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the example given by you suppose we are having multiple attributes. Basically i have to iterate through my query in model class and each iteration i want to store in bean object and ultimately return as array of beans from method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!