• Post Reply Bookmark Topic Watch Topic
  • New Topic

Array of bean objects  RSS feed

 
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
 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!