User: juha    
  Date: 00/08/27 13:05:30

  Modified:    webstore/src/org/jboss/zol/webstore/ejbs/product
                        ProductEntityBean.java
  Log:
  webstore for jBoss 2
  
  Revision  Changes    Path
  1.3       +1 -1      
zola/webstore/src/org/jboss/zol/webstore/ejbs/product/ProductEntityBean.java
  
  Index: ProductEntityBean.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/zola/webstore/src/org/jboss/zol/webstore/ejbs/product/ProductEntityBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ProductEntityBean.java    2000/05/22 16:58:24     1.2
  +++ ProductEntityBean.java    2000/08/27 20:05:29     1.3
  @@ -381,7 +381,7 @@
                   
       try {
         Context namingContext = new InitialContext();
  -      connection = ((DataSource) 
namingContext.lookup("java:comp/env/jdbc/myDatabase")).getConnection();
  +      connection = ((DataSource) 
namingContext.lookup("java:comp/env/WebstorePool")).getConnection();
         System.out.println("ABMP bean:: I did get the connection to the database for 
BMP");
       } catch (Exception e) {
         e.printStackTrace();
  
  
  

Reply via email to