Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Thanks for the code - However, the code is printing below text outside the table. "[#<Entity:0x69b60a95 @entity=#<Java::ComVivisimoGelatoEntityResultset::SortedEntity:0x1abe9cdf>, @resolver=#<InstrumentationProxy:0x17e29ce0 @jmx_wrapper=#<JMXWrapper:0xeccd5d5d @mbean_store=#<MBeanStore:0x6b9e402e @mbean_store={}>, " Commented Apr 21, 2015 at 22:29
  • I can't really help you there without knowing what the data is. The text you are seeing is most likely due to one of the fields being a class thats not meant to be printed directly. Commented Apr 21, 2015 at 22:36
  • Then what could be the option to print a class? Commented Apr 21, 2015 at 22:47
  • Check the object.class would do that. Commented Apr 21, 2015 at 22:52
  • In my original code, ticket['perfinaccnt-accountname'].class is showing me the value as Array, and printing ticket['perfinaccnt-accountname'] gave me the list of values with comma separation enclosed within [] Commented Apr 21, 2015 at 22:56