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

  Modified:    webstore/src/org/jboss/zol/webstore/ejbs/person
                        PersonEntityBean.java
  Log:
  webstore for jBoss 2
  
  Revision  Changes    Path
  1.3       +1 -1      
zola/webstore/src/org/jboss/zol/webstore/ejbs/person/PersonEntityBean.java
  
  Index: PersonEntityBean.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/zola/webstore/src/org/jboss/zol/webstore/ejbs/person/PersonEntityBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PersonEntityBean.java     2000/05/22 16:58:03     1.2
  +++ PersonEntityBean.java     2000/08/27 20:05:31     1.3
  @@ -420,7 +420,7 @@
       log(toString(), "setEntityContext", new Object[] {context}, null);
       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