[jboss-cvs] jboss-portal/cms/src/main/org/jboss/portal/cms/hibernate ...

Julien Viet julien at jboss.com
Tue Jul 11 09:16:25 EDT 2006


  User: julien  
  Date: 06/07/11 09:16:25

  Modified:    cms/src/main/org/jboss/portal/cms/hibernate 
                        HibernateStore.java
  Log:
  fixed wrong JNDIName valoue for mbean attributes
  
  Revision  Changes    Path
  1.23      +3 -9      jboss-portal/cms/src/main/org/jboss/portal/cms/hibernate/HibernateStore.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: HibernateStore.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/cms/src/main/org/jboss/portal/cms/hibernate/HibernateStore.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- HibernateStore.java	31 May 2006 08:01:00 -0000	1.22
  +++ HibernateStore.java	11 Jul 2006 13:16:25 -0000	1.23
  @@ -32,14 +32,9 @@
   import java.io.OutputStream;
   import java.io.RandomAccessFile;
   import java.sql.Blob;
  -import java.sql.Connection;
  -import java.sql.PreparedStatement;
   import java.util.Iterator;
   import java.util.List;
   
  -import javax.naming.InitialContext;
  -import javax.naming.NamingException;
  -
   import org.apache.jackrabbit.core.fs.FileSystem;
   import org.apache.jackrabbit.core.fs.FileSystemException;
   import org.apache.jackrabbit.core.fs.FileSystemPathUtil;
  @@ -51,7 +46,6 @@
   import org.hibernate.Session;
   import org.hibernate.SessionFactory;
   import org.hibernate.Transaction;
  -import org.hibernate.cfg.Configuration;
   import org.jboss.portal.cms.util.HibernateUtil;
   import org.jboss.portal.common.util.Tools;
   
  @@ -121,14 +115,14 @@
         this.schemaObjectPrefix = schemaObjectPrefix;
      }
   
  -   public String getJndiName()
  +   public String getJNDIName()
      {
         return jndiName;
      }
   
  -   public void setJndiName(String jndiName)
  +   public void setJNDIName(String JNDIName)
      {
  -      this.jndiName = jndiName;
  +      this.jndiName = JNDIName;
      }
      
      public void init() throws FileSystemException
  
  
  



More information about the jboss-cvs-commits mailing list