db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Poeschl <mpoes...@marmot.at>
Subject Re: cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/platform PlatformPostgresqlImpl.java PlatformHypersonicImpl.java PlatformFactory.java PlatformMysqlImpl.java PlatformAxionImpl.java PlatformMssqlImpl.java PlatformDb2Impl.java PlatformDefaultImpl.java Platform.java PlatformSapdbImpl.java PlatformInterbaseImpl.java PlatformOracleImpl.java PlatformCloudscapeImpl.java package.html PlatformMsaccessImpl.java PlatformSybaseImpl.java PlatformDb2400Impl.java
Date Mon, 29 Sep 2003 20:57:04 GMT
maybe this will work .. but i'mn not sure if we will need some business 
logic within the platform classes for sql generation .. so i'll finnish 
the sql generation and we can do some refactoring later ..

martin

Daniel L. Rall wrote:

> Most of these properties seem better stored in a .properties which is 
> built into the JAR.  How about a base class (PlatformDefaultImpl) the 
> common set of accessors along side PlatformFoo.properties files?  The 
> base class could take the database platform name as a new additional 
> parameter to its constructor, so that information need not be lost 
> while removing all the unnecessary sub-classes.
>
> mpoeschl@apache.org wrote:
>
>> mpoeschl    2003/09/27 04:10:16
>>
>>   Added:       src/generator/src/java/org/apache/torque/engine/platform
>>                         PlatformPostgresqlImpl.java
>>                         PlatformHypersonicImpl.java PlatformFactory.java
>>                         PlatformMysqlImpl.java PlatformAxionImpl.java
>>                         PlatformMssqlImpl.java PlatformDb2Impl.java
>>                         PlatformDefaultImpl.java Platform.java
>>                         PlatformSapdbImpl.java 
>> PlatformInterbaseImpl.java
>>                         PlatformOracleImpl.java 
>> PlatformCloudscapeImpl.java
>>                         package.html PlatformMsaccessImpl.java
>>                         PlatformSybaseImpl.java PlatformDb2400Impl.java
>>   Log:
>>   add platform package
>>   this packages replaces the db.props files and will be used to 
>> generate the sql in the near future
>>     Revision  Changes    Path 
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message