Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MySQL database connection using DataSource + Context or Initial Context

 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I would like a descent example of connecting to a mysql database using DataSource and Context or InitialContext. I don't which one is better. The database name is Kamelot, the table's name is album. It's a localhost connection. Thank you very much.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the following link would be of some help


Managing & Using MySQL with
Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic