ok

Jon Carlson wrote:

I'm on vacation next week.  I may get some of the Cayenne impl done
while away, but probably not until after I get back.

- Jon

On 8/12/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:
i went ahead and moved this to
wicket.contrib.database.hibernate.HibernateDatabaseObject

Jonathan Locke wrote:

i think it's probably too limiting.  people may have their own domain
objects.
it's a handy base class for the hibernate package with the annotations
and all,
but there's no good reason to have it in the generic package

Jon Carlson wrote:

I'm thinking it belongs in hibernate, although I rather like being
able to assume there is a getId and a setId method for each db object,
but maybe that is too limiting for general use?

If we find it necessary, we can create an IDatabaseObject interface at
a later point in time.


On 8/12/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:


or maybe it really belongs in hibernate package since it uses
persistence annotations
and that's specific to hibernate...

Jon Carlson wrote:



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






-------------------------------------------------------
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





-------------------------------------------------------
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

-------------------------------------------------------
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





-------------------------------------------------------
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

Reply via email to