|
From: <pe...@us...> - 2003-12-24 00:25:44
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/time In directory sc8-pr-cvs1:/tmp/cvs-serv23495/src/java/org/neuclear/commons/time Modified Files: TimeTools.java Log Message: Created a kind of poor man's version of ofbiz.org's EntityEngine. It doesnt use xml to configure it, but code. Should mainly be used to create tables. Can also insert rows, but hasnt been thoroughly tested. At some point I will improve that part and add some kind of smart querying engine to it. Similar to EntityEngine. But I dont need that myself right now. SQLLedger now uses this to create its tables. It is not fully working yet, but will be shortly. Index: TimeTools.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/time/TimeTools.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TimeTools.java 19 Dec 2003 18:02:53 -0000 1.5 --- TimeTools.java 24 Dec 2003 00:25:41 -0000 1.6 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.6 2003/12/24 00:25:41 pelle + * Created a kind of poor man's version of ofbiz.org's EntityEngine. It doesnt use xml to configure it, but code. + * Should mainly be used to create tables. Can also insert rows, but hasnt been thoroughly tested. + * At some point I will improve that part and add some kind of smart querying engine to it. Similar to EntityEngine. But I dont + * need that myself right now. + * SQLLedger now uses this to create its tables. It is not fully working yet, but will be shortly. + * * Revision 1.5 2003/12/19 18:02:53 pelle * Revamped a lot of exception handling throughout the framework, it has been simplified in most places: *************** *** 147,152 **** * @return */ ! public static Date now() { ! return new Date(); } } --- 154,159 ---- * @return */ ! public static Timestamp now() { ! return new Timestamp(System.currentTimeMillis()); } } |