Re: unit testing Cayenne objects

From: Erik Hatcher (eri..hatchersolutions.com)
Date: Fri May 06 2005 - 13:59:42 EDT

  • Next message: Dhruti Ramani: "Re: Getting complex queries in cayenne"

    On May 6, 2005, at 6:27 AM, Erik Hatcher wrote:
    > The generator has done a great job for me (caveat: I've only got a
    > couple of unit tests thus far as I iron out the process a bit
    > before going full on). The beauty of it is that I do not have any
    > intermediate .sql files - which is vastly different than a
    > Hibernate/DBUnit expert pal of mine told me of his unit testing
    > trickery. He used some type of schema export tool and then read in
    > the .sql line by line and executed. Internally this is what the
    > generator is doing, of course, but its encapsulated with nothing in
    > the middle.

    Correction, as I just got back from lunch with my Hibernate/DBUnit
    guru pal where he showed me what he's doing. He's doing essentially
    the same thing using a Hibernate schema export API with no
    intermediate files.

         Erik



    This archive was generated by hypermail 2.0.0 : Fri May 06 2005 - 14:00:01 EDT