From: <Ca...@us...> - 2008-05-30 23:12:45
|
Revision: 92 http://sql2java.svn.sourceforge.net/sql2java/?rev=92&view=rev Author: Calmera Date: 2008-05-30 16:12:44 -0700 (Fri, 30 May 2008) Log Message: ----------- Made some minor modifications while porting the 'java' templates: - JavaDataType : Added a flag which indicates if the datatype can be compared using a compareTo method - Table : Added methods to address the primary keys of the table - Column : Added a fullname property which can be used to retrieve the 'table.column' : Also modified the datatype property. It was holding an int-value while it should hold a SQLDataType. - NodeParameterHandler : When a node is added to the handler, the node's parents will be added too. This comes in very handy while addressing nodes inside the templates as well as inside the package descriptor. Instead of using the current scope as the node to execute the method, the node type should be supplied. - CamelCaseStringReference : Was added to convert underscored names (real_big_number) to camelcased ones (realBigNumber). This is not working atm. Modified Paths: -------------- core/trunk/src/main/java/net/sf/sql2java/common/beans/datatype/JavaDataType.java core/trunk/src/main/java/net/sf/sql2java/common/parameters/handlers/NodeParameterHandler.java core/trunk/src/main/java/net/sf/sql2java/data/holders/Column.java core/trunk/src/main/java/net/sf/sql2java/data/holders/Table.java core/trunk/src/main/java/net/sf/sql2java/data/node/BasicNodelet.java core/trunk/src/main/java/net/sf/sql2java/fetching/sql/SQLFetcher.java core/trunk/src/main/java/net/sf/sql2java/generator/Generator.java core/trunk/src/main/java/net/sf/sql2java/generator/template/Template.java Added Paths: ----------- core/trunk/src/main/java/net/sf/sql2java/generator/events/CamelCaseStringReference.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |