Hi,

Could you please help me out in building an xml file.

I want to retrieve data,column datatype, column name from a given table in
database.
Each row will be written as child element(containing columns as its
childrens) under root element in xml file.

I have fetched data and column names together from hibernate query but
unable to fetch column datatype. Also this datatype if fetched should
be converted to java type.
I have not provided any maping for the table in the application. The query
is : Select * from tablename; tablename can be any table from database.
List<Map<String,Object>> nativeSqlList = query.setResultTransformer(new
AliasToEntityMapResultTransformer()).list();

Thanks in advance for help!

*Regards,*
*Satish Kumar*
***Bangalore, Karnataka
Mobile : +91 9886888987*
***Email   : satish.kumar...@gmail.com <giridih.sat...@gmail.com>
*
*
*

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to