integrity constraint violation: NOT NULL check constraint
ResultSet rs; PreparedStatement ps; Connection con; public Attribute() { try{ con = DriverManager.getConnection("jdbc:ucanaccess://D:/programming/myassignment/Database1.accdb"); System.out.println("Java is now connected to database"); }catch(Exception ex){ System.out.println(ex); } JButton btnAdd = new JButton("Add"); btnAdd.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { try{ PreparedStatement pstmt = (PreparedStatement) con.prepareStatement("insert into table1(Attributes) values(?)"); pstmt.setString(1, textField.getText()); pstmt.executeUpdate(); pstmt