• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retriving values from mysql using jsf 2.0

 
prashant rathod
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i want to know about how to retrive values from mysql or how to insert the values to mysql database from the jsf page?
i have created service.xml. and it created the proper table in the database. now i want to insert the values to that table.
i am able to print the values from jsf page to console. so i want these values to be inserted into the database.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing in JSF relating to persistent data. The exact same techniques used to fetch and store mysql data in non-JSF code also work in JSF.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic