Update functionality to data base from reporting tools












0















is there any way we can update the values in BIRT report which in-turn will update the database ? We need to present a report generated in Microsoft SQL server to the client , we tried providing the report in excel however our client changes the format and it is difficult to again consume it in our proprietary tool
(which is Microsoft SQL based). Is there any way we can achieve this? Client should update the values in the report and it should get reflected in the DB










share|improve this question



























    0















    is there any way we can update the values in BIRT report which in-turn will update the database ? We need to present a report generated in Microsoft SQL server to the client , we tried providing the report in excel however our client changes the format and it is difficult to again consume it in our proprietary tool
    (which is Microsoft SQL based). Is there any way we can achieve this? Client should update the values in the report and it should get reflected in the DB










    share|improve this question

























      0












      0








      0








      is there any way we can update the values in BIRT report which in-turn will update the database ? We need to present a report generated in Microsoft SQL server to the client , we tried providing the report in excel however our client changes the format and it is difficult to again consume it in our proprietary tool
      (which is Microsoft SQL based). Is there any way we can achieve this? Client should update the values in the report and it should get reflected in the DB










      share|improve this question














      is there any way we can update the values in BIRT report which in-turn will update the database ? We need to present a report generated in Microsoft SQL server to the client , we tried providing the report in excel however our client changes the format and it is difficult to again consume it in our proprietary tool
      (which is Microsoft SQL based). Is there any way we can achieve this? Client should update the values in the report and it should get reflected in the DB







      reporting birt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 26 '18 at 8:19









      Divya RajendranDivya Rajendran

      1




      1
























          2 Answers
          2






          active

          oldest

          votes


















          0














          while it's possible to write to wrtie back to db from BIRT using a servlet (see Eclipse Community Forum) I don't know of a way how BIRT could track the changed values.



          While it's difficult to campare excel files it should be simpler to create csv files from these excel files and comparing the csv files independant of excel formating changes.



          I see the gattering of value changes and writing back to the db as an independant separate workflow not related to the reporting.






          share|improve this answer































            0














            Reporting tools are made for generating output only.
            A general automatism concept is impossible, if you think about it from a more abstract point of view:



            There's data D in the data base (usually spread accross several tables T1, ..., Tn, and records R1, ..., Rm).
            The report output data O = (o1, o2, ...) is a the result of a more or less complex (the opposite of trivial) function f(R1, ..., Rm).
            An automatic back-propagation automatism of any kind like you dream of would have to know what changing the value of o1 from "spam" to "eggs" means for R1, ..., Rm.
            ... Or even for records which were not selected by f, for example if the user changed the value of a primary key column.
            This is only possible if the function f is bijective (I don't know if the english word is correct), but usually f isn't bijective. Even if it is, the task of inverting a non-trivial function is very hard.



            Thus, if you want to let the user change values and persist the changes inside the DB, you need some kind of database UI or some kind of import interface.



            Depending on your database, it might be as trivial as let the user work with Oracle SQL*developer or similar tools which support importing data from excel sheets.
            However, these tools are intended for SQL developers, as the name implies.



            OTOH, if all you want is to perform DML statements in BIRT, this is possible indirectly: You can write stored procedures in the database doing the DML work, and call these procedures from BIRT (use a JDBC Stored Procedure Query instead of JDBC SQL Select Query).






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53477060%2fupdate-functionality-to-data-base-from-reporting-tools%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              while it's possible to write to wrtie back to db from BIRT using a servlet (see Eclipse Community Forum) I don't know of a way how BIRT could track the changed values.



              While it's difficult to campare excel files it should be simpler to create csv files from these excel files and comparing the csv files independant of excel formating changes.



              I see the gattering of value changes and writing back to the db as an independant separate workflow not related to the reporting.






              share|improve this answer




























                0














                while it's possible to write to wrtie back to db from BIRT using a servlet (see Eclipse Community Forum) I don't know of a way how BIRT could track the changed values.



                While it's difficult to campare excel files it should be simpler to create csv files from these excel files and comparing the csv files independant of excel formating changes.



                I see the gattering of value changes and writing back to the db as an independant separate workflow not related to the reporting.






                share|improve this answer


























                  0












                  0








                  0







                  while it's possible to write to wrtie back to db from BIRT using a servlet (see Eclipse Community Forum) I don't know of a way how BIRT could track the changed values.



                  While it's difficult to campare excel files it should be simpler to create csv files from these excel files and comparing the csv files independant of excel formating changes.



                  I see the gattering of value changes and writing back to the db as an independant separate workflow not related to the reporting.






                  share|improve this answer













                  while it's possible to write to wrtie back to db from BIRT using a servlet (see Eclipse Community Forum) I don't know of a way how BIRT could track the changed values.



                  While it's difficult to campare excel files it should be simpler to create csv files from these excel files and comparing the csv files independant of excel formating changes.



                  I see the gattering of value changes and writing back to the db as an independant separate workflow not related to the reporting.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 28 '18 at 13:41









                  bw_üezibw_üezi

                  3,71031840




                  3,71031840

























                      0














                      Reporting tools are made for generating output only.
                      A general automatism concept is impossible, if you think about it from a more abstract point of view:



                      There's data D in the data base (usually spread accross several tables T1, ..., Tn, and records R1, ..., Rm).
                      The report output data O = (o1, o2, ...) is a the result of a more or less complex (the opposite of trivial) function f(R1, ..., Rm).
                      An automatic back-propagation automatism of any kind like you dream of would have to know what changing the value of o1 from "spam" to "eggs" means for R1, ..., Rm.
                      ... Or even for records which were not selected by f, for example if the user changed the value of a primary key column.
                      This is only possible if the function f is bijective (I don't know if the english word is correct), but usually f isn't bijective. Even if it is, the task of inverting a non-trivial function is very hard.



                      Thus, if you want to let the user change values and persist the changes inside the DB, you need some kind of database UI or some kind of import interface.



                      Depending on your database, it might be as trivial as let the user work with Oracle SQL*developer or similar tools which support importing data from excel sheets.
                      However, these tools are intended for SQL developers, as the name implies.



                      OTOH, if all you want is to perform DML statements in BIRT, this is possible indirectly: You can write stored procedures in the database doing the DML work, and call these procedures from BIRT (use a JDBC Stored Procedure Query instead of JDBC SQL Select Query).






                      share|improve this answer




























                        0














                        Reporting tools are made for generating output only.
                        A general automatism concept is impossible, if you think about it from a more abstract point of view:



                        There's data D in the data base (usually spread accross several tables T1, ..., Tn, and records R1, ..., Rm).
                        The report output data O = (o1, o2, ...) is a the result of a more or less complex (the opposite of trivial) function f(R1, ..., Rm).
                        An automatic back-propagation automatism of any kind like you dream of would have to know what changing the value of o1 from "spam" to "eggs" means for R1, ..., Rm.
                        ... Or even for records which were not selected by f, for example if the user changed the value of a primary key column.
                        This is only possible if the function f is bijective (I don't know if the english word is correct), but usually f isn't bijective. Even if it is, the task of inverting a non-trivial function is very hard.



                        Thus, if you want to let the user change values and persist the changes inside the DB, you need some kind of database UI or some kind of import interface.



                        Depending on your database, it might be as trivial as let the user work with Oracle SQL*developer or similar tools which support importing data from excel sheets.
                        However, these tools are intended for SQL developers, as the name implies.



                        OTOH, if all you want is to perform DML statements in BIRT, this is possible indirectly: You can write stored procedures in the database doing the DML work, and call these procedures from BIRT (use a JDBC Stored Procedure Query instead of JDBC SQL Select Query).






                        share|improve this answer


























                          0












                          0








                          0







                          Reporting tools are made for generating output only.
                          A general automatism concept is impossible, if you think about it from a more abstract point of view:



                          There's data D in the data base (usually spread accross several tables T1, ..., Tn, and records R1, ..., Rm).
                          The report output data O = (o1, o2, ...) is a the result of a more or less complex (the opposite of trivial) function f(R1, ..., Rm).
                          An automatic back-propagation automatism of any kind like you dream of would have to know what changing the value of o1 from "spam" to "eggs" means for R1, ..., Rm.
                          ... Or even for records which were not selected by f, for example if the user changed the value of a primary key column.
                          This is only possible if the function f is bijective (I don't know if the english word is correct), but usually f isn't bijective. Even if it is, the task of inverting a non-trivial function is very hard.



                          Thus, if you want to let the user change values and persist the changes inside the DB, you need some kind of database UI or some kind of import interface.



                          Depending on your database, it might be as trivial as let the user work with Oracle SQL*developer or similar tools which support importing data from excel sheets.
                          However, these tools are intended for SQL developers, as the name implies.



                          OTOH, if all you want is to perform DML statements in BIRT, this is possible indirectly: You can write stored procedures in the database doing the DML work, and call these procedures from BIRT (use a JDBC Stored Procedure Query instead of JDBC SQL Select Query).






                          share|improve this answer













                          Reporting tools are made for generating output only.
                          A general automatism concept is impossible, if you think about it from a more abstract point of view:



                          There's data D in the data base (usually spread accross several tables T1, ..., Tn, and records R1, ..., Rm).
                          The report output data O = (o1, o2, ...) is a the result of a more or less complex (the opposite of trivial) function f(R1, ..., Rm).
                          An automatic back-propagation automatism of any kind like you dream of would have to know what changing the value of o1 from "spam" to "eggs" means for R1, ..., Rm.
                          ... Or even for records which were not selected by f, for example if the user changed the value of a primary key column.
                          This is only possible if the function f is bijective (I don't know if the english word is correct), but usually f isn't bijective. Even if it is, the task of inverting a non-trivial function is very hard.



                          Thus, if you want to let the user change values and persist the changes inside the DB, you need some kind of database UI or some kind of import interface.



                          Depending on your database, it might be as trivial as let the user work with Oracle SQL*developer or similar tools which support importing data from excel sheets.
                          However, these tools are intended for SQL developers, as the name implies.



                          OTOH, if all you want is to perform DML statements in BIRT, this is possible indirectly: You can write stored procedures in the database doing the DML work, and call these procedures from BIRT (use a JDBC Stored Procedure Query instead of JDBC SQL Select Query).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 29 '18 at 9:57









                          hvbhvb

                          1,6611610




                          1,6611610






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53477060%2fupdate-functionality-to-data-base-from-reporting-tools%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                              Calculate evaluation metrics using cross_val_predict sklearn

                              Insert data from modal to MySQL (multiple modal on website)