Re: Cayenne vs JPA tools

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Feb 26 2007 - 12:34:25 EST

  • Next message: Andrus Adamchik: "Re: Cayenne vs JPA tools"

    On Feb 26, 2007, at 6:53 PM, Dov Rosenberg wrote:
    > For the JPA compliance will Cayenne generate the annotations needed
    > for the
    > JPA when the stub classes are generated? I am still learning JPA
    > but it
    > seems that might be a useful thing if you were in a Java 5
    > environment.

    This works the other way around - annotations are used to avoid XML
    configuration at all. So if there is an XML config file already,
    normally you wouldn't care about annotations.

    But this could be done for portability reasons I guess... In any
    event our Ant class generation system is pluggable, so if there is a
    need to do such thing, it can be accomplished.

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Feb 26 2007 - 12:35:22 EST