From: <max...@us...> - 2003-04-12 14:58:37
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/tool/hbm2java In directory sc8-pr-cvs1:/tmp/cvs-serv19542/src/net/sf/hibernate/tool/hbm2java Modified Files: FinderRenderer.java Log Message: changed sessionMethod metatag to session-method to be more "compliant" to the other meta attribute names. Index: FinderRenderer.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/tool/hbm2java/FinderRenderer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FinderRenderer.java 5 Apr 2003 16:18:02 -0000 1.1 --- FinderRenderer.java 12 Apr 2003 14:58:34 -0000 1.2 *************** *** 37,41 **** * An optional parameter is meta tag at the class level of the format: * ! * <meta attribute="sessionMethod">com.whatever.SessionTable.getSessionTable().getSession();</meta> * * Which would be the way in which you get sessions if you use the Thread Local Session pattern --- 37,41 ---- * An optional parameter is meta tag at the class level of the format: * ! * <meta attribute="session-method">com.whatever.SessionTable.getSessionTable().getSession();</meta> * * Which would be the way in which you get sessions if you use the Thread Local Session pattern *************** *** 115,119 **** public void doFinders(ClassMapping classMapping, Map class2classmap, PrintWriter writer) { // Find out of there is a system wide way to get sessions defined ! String sessionMethod = classMapping.getMetaAsString("sessionMethod").trim(); // fields --- 115,119 ---- public void doFinders(ClassMapping classMapping, Map class2classmap, PrintWriter writer) { // Find out of there is a system wide way to get sessions defined ! String sessionMethod = classMapping.getMetaAsString("session-method").trim(); // fields |