> On Mon, 12 May 2003, Holger Hoffstätte wrote:
>> I looked again at preventing MySQL from writing default values into
>> NOT NULL columns and obviously Insert/UpdateTranslator subclassea are
>> the way to go - nifty. InsertTranslator should be easy (substitute
>> NULL for
>
> Unfortunately that's not enough, since the batched operations are
> currently not handled in the same way, and this opens a few cans of
> worms..has anybody already looked into merging the SQL translation
> mechanisms? DataNode:451 marks this as TODO. If it's too many cans maybe
> it should wait until 1.1?
I'd say 1.1... Any yes, this already bit us - the whole CHAR trimming
thing was customizable by adapter, and was skipped by ContextCommit:
http://sourceforge.net/tracker/index.php?func=detail&aid=730396&group_id=48132&atid=452068
I had to add DbAdapter.bindParameter method to fix it.
Andrus
This archive was generated by hypermail 2.0.0 : Mon May 12 2003 - 10:41:21 EDT