christian wrote:
Ok, here are some hints:
- SchemaExport is for development
- Performance of database index lookups is irrelevant in development
- the DDL that is used for the production database is controlled by a DBA who refines it far beyond what SchemaExport can ever provide
- hence, there never will be a flag or attribute for every possible performance optimization, for every possible database management system, in Hibernate's mapping metadata
- finally, for all those who ignore this advice, there is the <database-object> in Hibernate 3.1, which you should upgrade to if you want that functionality.
Now of course you will start arguing that "index" on "version" should be very common and therefore, that there should be an attribute for it. Well, there isn't, get over it and upgrade.
ah christian who knew mind reading was one of your many talents! You appear to possess it in equal measure to your patience & humility.
Now as to your observations that were intended to help;
1) fair enough
2) bollox
3) you say; but fair enough
4) again that seems fair
I could get into this more with you but to be honest I suspect it would simply invite more arrogant unhelpful BS. You've managed to build some good software but you
seriously need to learn to respect and help others as they get to grips with hibernate and ask questions about it.
Having used hibernate over the last 9 months or so I have to say how regularily I'm appalled at the level of "support" offered by members of the hibernate team and similarily encouraged by the genuine efforts at helping that regular users provide to each other.