tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: why not use id field in the table of JDBCRealm
Date Fri, 12 Sep 2008 12:36:50 GMT
Shanbo Li wrote:
>
> obviously *it missed the id field*. it would be much better that each table
> have an id field. and make the table looks like this:

Obviously *this was done for a good reason*. The how to is intended for any
database. The changes you propose are non-standard and hence will not work
in many databases.

Users are free to organise their data in any way they wish. The only
constraint is how that data is presented to the JDBC realm. Many databases
support the concept of views which can be used for this purpose.

Mark



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


Mime
View raw message