Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What should be the return for this case - DAO, DAOImpl, Manager, Controller ?  RSS feed

 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear expert,

I have re-write my insert method and changed it to prepared statement to avoid sql injection attack.

Now, I am facing problem in the manager class where the Eclipse EE just asked me to put the return type as return but then it doesn't work out.. as the data still can't be inserted into the database

Hope someone can correct my code. Tks.

Here's the code :











 
Sheriff
Posts: 4388
280
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you be more specific about the nature of the failure? Do you get a compilation error? Runtime error? Unexpected program function? Other?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!