emmanuel wrote:
OK guys, the 2 really missing features the annotations have to provide are:
- ordered collections which is straightforward. BTW what users really want is indexed collections and Matthew Ingers is working on it.
- maybe embedded composite id (ie not through a PK class)
I don't think you are missing anything else right now.
But if you do, please go to JIRA and vote for your favorite feature. I've described all the needed annotations to cover the H3 capabilities. I'll prioritize them depending on the demand.
I can't see anything on JIRA about unidirectional one-to-many associations, though I'm certain I spotted a post somewhere in the forum saying that it was coming. Cant find it now though.
There's one other feature I'd really like to see. How difficult would it be to implement an addAllAnnotatedClasses() method? As things stand, every time a new persistent class is added, either the configuration file or the session configuration code needs to be modified, which is extra handling, and which could cause bottlenecks in team development environments.
To be honest, the above isn't too serious an issue for me as a single developer, but I can see where it could become a major PITA for medium-to-large teams. You'd have one element which would practically
always be checked out every time you went to grab it.
As long as the code was packaged such that
only annotated classes are kept in the relevant package, this would be a really nice feature.
Cheers,
Luke