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

mysql - FireDac error 314 - but DLLs are in program directory -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -

java - How can I send the data from a imput type="file" to the controller? -