3 Replies Latest reply on Mar 29, 2007 6:24 AM by thejavafreak

    Generate apps that has many to many table with seam-gen

    thejavafreak

      Dear all,

      Has anyone able to generate screen that has many-to-many relation table with seam-gen?

      I tried it but it didn't work. I think seam-gen assumes that it is a table without many-to-many relationship, just a single table that doesn't relate to the bridging table.

      Is there any workaround for this?

      Thanks in advance

        • 1. Re: Generate apps that has many to many table with seam-gen
          gavin.king

          seam-gen does not, at present, support many-to-many associations.

          Did you try using the latest seam-gen, in 1.2.1?

          • 2. Re: Generate apps that has many to many table with seam-gen
            irvega

            I will be trying exactly that with 1.2.1, hopefully later this afternoon (UK). I didn't get very far with the version current at the weekend and the forum has not given much feedback (except for the very helpful quilleashm) yet.
            I will post my findings but I am not quite optimistic at this point.

            Gavin, Could you or one of your colleagues please give us a bit of guidance on my previous post (MOLECULES ... see link below). Just some references about how to hand crank this will be a big help as we have not found any solution yet and no one else has posted about this with any advice, let alone a full-blown solution (note that this is for one single screen with just 4 widgets on it - I provided the full schema and even test data). It will be great for us to be able to demonstrate how this functionality can really work in SEAM but we are getting knonbbled with lots of small obstacles and what we put aside an hour for is taking several hours. I am hoping that Michale Yuan's book willl help ... the other one in print just now (Beginning SEAM) is totally useless (the author spends more time talking about what he is not going to "teach" us than giving any meaningful information).
            Anyway, at the very least, if you can spare a few minutes, could you please tell us if the screen to make a MOLECULE is possible in SEAM (even without seam-gen is perfectly acceptable for now) so we can move on if there is no choice.
            http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105054

            • 3. Re: Generate apps that has many to many table with seam-gen
              thejavafreak

               

              "gavin.king@jboss.com" wrote:
              seam-gen does not, at present, support many-to-many associations.

              Did you try using the latest seam-gen, in 1.2.1?


              Thanks for the confirmation gavin. I've tried it with 1.2.1 too.