File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Problem with ban account in version 2.1.9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Problem with ban account in version 2.1.9" Watch "Problem with ban account in version 2.1.9" New topic
Author

Problem with ban account in version 2.1.9

Carlo Benincasa
Greenhorn

Joined: Nov 22, 2012
Posts: 5
Hi all,

i try ban an account but feature not work. When insert name, email or ID of user Jforum doesn't found and return this advice.

An error has occurred.
For detailed error information, please see the HTML source code, and contact the forum Administrator.
java.sql.SQLException: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().

Why? O.o
Thanks for reply and help.

Regards
Carlo Benincasa

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem with ban account in version 2.1.9