cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry" <blackn...@gmail.com>
Subject Re: Must class qualifier be an entire field?
Date Tue, 27 Feb 2007 14:28:46 GMT
I've not actually tried that, but I wouldn't really advise it if it
did work.  Could lead to unexpected problems down the road, such as
another personType starting with a "C", etc.  It might be interesting
to try it, though, just to see how it worked.  :-)

/dev/mrg


On 2/27/07, Török Péter <torokp@allround.net> wrote:
>
>
> Hello,
> is it necessary to have a full column reserved for the class qualifier in
> case of single table inheritance?
> I.e. instead of qualifier
>     personType = 'CUSTOMER'
> would something like
>
>     personType like 'C%'
> work? Anyone tried such a thing yet?
> Thanx in advance,
> Péter
>

Mime
View raw message