Hello to all this great community, I have run into a problem I am making a system in JAVA which is connected to a database in SqlServer and when I run the form to register a client sends me the following message:
I do not know if something is wrong in my code or when I made the database I had an error, I also tell you that in my database I am using Generalization of the person table inheriting the attributes to the client table and worker, I have put the main idpersona key in the person table, as I have put this same attribute as the main key in the client and worker tables.
I leave part of the E-R diagram of my database in SqlServer:
I do not know why you send me this error if someone helps me solve it, I'll be grateful in advance.
Thanks See you soon ...