user lacks privilege or object not found exception
<p>I want to get a nickname and a password from the user but my code does not work.
I created an access database which have StudentPassword table . This table have two columns which are NickName and Password . Also , I created a insertStudentPassword method and StudentPassword class.</p>

<pre><code>public static void initialize() throws Exception
{
  conn = DriverManager.getConnection("jdbc:ucanaccess://C:/Users/Enes Kalkan/workspace/HW3_4/HW_DB.accdb");
    stmt = conn.createStatement();
}
public static void insertStudentPassword(StudentPassword S) throws Exception
{
    stmt.executeUpdate("insert into [StudentPassword] (NickName,Password) "+"values ('"+S.nickname+"','"+S.password+"');");
}
</code></pre>

<p>My StudentPassword constructor is below:</p>

<pre><code>public StudentPassword(String n,String p)
{
    this.nickname=n;
    this.password=p;
}
</code></pre>

<p>There is no any syntax error my code but when I enter a nick name and password, I receive this exception : user lacks privilege or object not found: NICKNAME</p>

<p>I don't understand why I receive this . Thank you for any support.</p>