From: Gavin K. <Gav...@ex...> - 2002-12-21 01:19:17
|
> When I had a first look at the JDO API, I really liked >=20 > PersistenceManagerFactory > PersistenceManager Hmmm I find "Manager" even more banal (and overloaded) than "Session". Anyway the Hibernate Session doesn't seem to me to fit the description of "Manager" (which carries connotations of singleton-ness and long lifespan-ness). And ages ago I made the choice not to design a=20 persistence layer where every class name would be prefixed with "Persistence" or "Persistent" or "Database" or "DB"..... ;) Ditto for=20 "HibernateSession", HibernateSessionFactory", etc. I'm in favor of short, snappy names. If we would be going to change the name (which I am vetoing a priori), I would probably prefer to go for something like "Work". Unfortunately work is used as a verb more commonly than it is used as a noun, so it sounds kinda wierd. > Why not use the good things from JDO? :) what, like "makePersistentAll()"?=20 j/k ;) Its down to taste, I suppose... ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |