Hi, i'm learning jBoss and at the beginning i would like connect to data base on 
jBoss. I have here part of my code:
Connection con = null;
Statement stm = null;
ResultSet rs  = null;
try
{
   Class.forName("?????")
   con = DriverManager.getConnection("????","user","password");
   stm = con.createStatement();
   rs = stm.executeQuery("select * from przedmioty");
   while (rs.next())
   {
       System.out.println(rs.getString("nazwa"));
   }
if (con != null)
  con.close();

What drivers should I use to connect to the HyperSonic? Do I need to install them? 
Where can i find them? What should i put in firs paramater in 
DriverManager.getConnecton(???,"user", "password")?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845603#3845603

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845603


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to