0 Replies Latest reply on Jul 5, 2002 12:46 AM by praveen

    getting Database Connection for sybase

    praveen Newbie

      How do i get get the database Connection for sybase database ?
      what exactly do i need if i want to get datasource object and from there on to get connection

      eg:-(for oracle)
      as for oracle we need this oracle-service.xml
      after put my oracle-service.xml to the jboss deploy folder.(The database JNDI name is oradb)
      when i use following codes in my servlet:
      InitialContext jndiContext = new InitialContext();
      DataSource ds=(DataSource) jndiContext.lookup("java:comp/env/OracleDS");

      for (sybase ) ??

      thanks in advance