5 Replies Latest reply on Aug 27, 2007 11:27 AM by pmuir

    SEAM + stored pcoedures

      Is there a way to use sem with stored procedures?

        • 1. Re: SEAM + stored pcoedures
          christian.bauer

          Yes, read the Hibernate documentation.

          • 2. Re: SEAM + stored pcoedures

            First, sorry for the misspellings I was up late:-). Also, I have been trying to find good examples for doing CRUD with JSF but for some reason I keep coming up short. IT almost seems like this is not possible. In all of the scenarios I have seen thus far an action has to occur first. If I wanted the user sent to another page for editing a record I have to put the record in the session before I actually go to the other page? Is this true? I dont see an entry point into loading a bean for a new page except in the constructor. Please sa it aint so? Have you ever dealt with this in JSF?

            • 3. Re: SEAM + stored pcoedures
              yacho

              You Can start a new conversation to gold data model selection.

              • 4. Re: SEAM + stored pcoedures
                ellenzhao

                If you want to reduce communication between app server and database server for batch data processing, you may want to consider using a rule engine instead of calling stored procedure from your conversation beans. The syntax of DRL declarations is far, far more developer-friendly than any stored procedure languages I've ever seen (Oracle, MaxDB, MySQL 5+). And using a rule engine has a negative-exponential performance improvement if your application has heavy "many objects, many patterns" matching computation.

                • 5. Re: SEAM + stored pcoedures
                  pmuir

                  Try seam-gen, it generates CRUD views/beans for you from a database schema. You can take the techniques used and extend them for your app as needed.