-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Dump row data into a string text
PostPosted: Thu Nov 19, 2009 6:04 pm 
Newbie

Joined: Thu Dec 18, 2008 1:40 pm
Posts: 8
Hello,

I was wondering if it is possible to get the whole row data with selective columns dumped into a String variable preserving spaces if it exists. I have able to some way get individual column data of a table and padded with spaces based on the column length and then construct a single line string text. But if there is already way to do it easily in Hibernate it would surely make it lot easier. Also, I can create a generic utility where all this string text construction can be handled easily by just passing the persistence entity object.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.