db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Matrigali <mikem_...@sbcglobal.net>
Subject Re: Collation implementation WAS Re: Should COLLATION attribute related code go in BasicDatabase?
Date Thu, 15 Mar 2007 19:27:48 GMT

Daniel John Debrunner wrote:

> What is really required is 'character type + collation'. I've been 
> thinking that looking at the problem in this way may make it more 
> manageable and easier to contain, with the main idea being only worry 
> about collation type when actually performing a collation. So some 
> initial ideas:
> - collation is a attribute of DataTypeDescriptor, not valid for non 
> character types, 0 for UCS_BASIC, 1 for UNICODE etc.
>        int getCollationType();

How do we map collations to int's?  Is there some existing mechanism?

View raw message