Cayenne doesn't require an interface. I just thought that some of the code in the generic class might depend on the getId and setId methods in DatabaseObject, but I guess it doesn't.
On 8/12/05, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > this is an accident: > > @Id(generate = GeneratorType.AUTO) > > DatabaseObject is a handy class for hibernate. > if cayenne does not work this way, it can be moved > to hibernate package. if cayenne requires some > interface, there would be no use for that in hibernate > and that should be moved to cayenne package. > > Jon Carlson wrote: > > >I'm warming up to the idea of adding Cayenne implementation classes to > >the wicket-contrib-database project. Without another implementation, > >you really can't say it is ORM tool agnostic. One problem is that the > >project has some maven dependencies that don't seem to be resolvable > >-- at least with the Maven mirrors I have. (ejb-3.0-edr2.jar, > >hibernate-3.0.2.jar, hibernate-annotations-3.0-beta1.jar) > > > >Also, the current implementation of DatabaseObject has some > >EJB3/Hibernate-specific stuff in it that wouldn't sit well with > >Cayenne. The DatabaseObject class should probably be an interface > >because Cayenne uses the superclass instead of byte-code manipulation. > > > > public Long getId(); > > public void setId(Long id); > > > >Jonathan, can you clean these things up, or straighten me out? > > > >- Jon > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Jon Carlson Reply to: [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
