Add only 10 records using Java in Mysql -


i making application in java using netbeans. want admin can add 10 users record , after 10 users added in database admin not able add more users(my idea buttons disable after 10 users addition). using mysql record saving.

fire count query on table. , use resultset restrict(validate, records<=10) before app(client) enters new value. or put constraint in schema design itself.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -