• Post Reply Bookmark Topic Watch Topic
  • New Topic

call PK using controller servlet in NetBeans  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all. I'm trying to find out how to call to a derby database (SQL) using NetBeans. I'm implementing something different, but I've been able to follow along with this tutorial up until now:
https://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html#access (go to the part about the category page)

The database I'm working with is set up with Private Keys. For the life of me, I can't figure out how to invoke the find method in order to call the items by the private keys. Is it possible, or is that the whole point of PKs? Here's the find method in brief:
find(Object id)

If anyone wants to see other items other than the controller, please let me know (IDK what to share, since the rest was auto-generated by NetBeans)

Thanks for the help in advance!

Here's my controller:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!