Hi there,
I am writing a database app in
java and do hava a problem with inserting a value into the table.
So here it is: I have created the database in postgres and made a table named "klient"
There is a column named id_klienta which is an autoincremented primery key (there is also a sequence called idklienta_seq that is responsible for autoincrementation).
When I try to start the insert method I got the Exception:
missing from-clause for table "idklienta"
Here is the Java code:
---------------------------------------------------
--------------------------------------------------------------------
Eclipse says there is a problem in the
pst.execute(); - KlientDB class.
If you could help me to fix that problem that would bu really great.