atronwestphal / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Fields in table row with FieldsMetadata are tightly coupled with java pojo object #362

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Loop for fields in table row with FieldsMetadata seems to be tightly  coupled 
with java pojo object as per example listed at
http://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainListFieldInTable.
 For dynamic reports constructing pojo objects like Developers as mentioned in example  is tough as fileds might grow and pojo objects model might not work over here. Is there an option to loop fileds in table row without java pojo ojects.?

Xdoc version : docxandvelocity- 1.0.3  
operating system :Windows XP SP3

Original issue reported on code.google.com by jvchb...@gmail.com on 30 Jan 2014 at 5:46

GoogleCodeExporter commented 8 years ago
I think if you have a complex data model, you should create specific Pojo for 
the reporting. So if your complex data model changes, your reporting feature 
will work again.  

Not you can use Map instead of Pojo, but I think it's a better idea to create 
specific pojo for reporting.

Original comment by angelo.z...@gmail.com on 30 Jan 2014 at 9:27

GoogleCodeExporter commented 8 years ago
I have dynamic sql queries which may vary in number of columns selected in 
select clause of the query.Creating Pojo's for such kind may not be possible in 
java dynamically.

Original comment by jvchb...@gmail.com on 5 Feb 2014 at 6:30

GoogleCodeExporter commented 8 years ago
Why not to use Map?

Original comment by angelo.z...@gmail.com on 5 Feb 2014 at 8:14

GoogleCodeExporter commented 8 years ago
XDocReport 1.0.5 provides new a support for SQL. See 
https://code.google.com/p/xdocreport/issues/detail?id=382&can=1&q=SQL

Original comment by angelo.z...@gmail.com on 7 Aug 2014 at 6:00

GoogleCodeExporter commented 8 years ago
cleanup

Original comment by pascal.leclercq on 10 Oct 2014 at 7:37