On 5 Sep 2006, John Siracusa wrote: > As for the uniqueness issue, if the combination really is > unique, then why not add a unique key to the database and the class? > Then you can load() speculatively instead of doing a Manager query.
That's what I was looking for. Thanks for the hint, I didn't know that it is possible to define multi column unique keys that are not primary keys. -Michael ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object