[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console ...

Max Rydahl Andersen mandersen at jboss.com
Fri Mar 16 05:02:38 EDT 2007


  User: mandersen
  Date: 07/03/16 05:02:38

  Modified:    hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console  
                        KnownConfigurations.java ConsoleConfiguration.java
  Log:
  HBX-918
  
  Revision  Changes    Path
  1.10      +2 -2      jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/KnownConfigurations.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: KnownConfigurations.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/KnownConfigurations.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  
  
  
  1.19      +5 -3      jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConsoleConfiguration.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- ConsoleConfiguration.java	26 Feb 2007 22:58:56 -0000	1.18
  +++ ConsoleConfiguration.java	16 Mar 2007 09:02:38 -0000	1.19
  @@ -189,10 +189,12 @@
   
   					Properties properties = prefs.getProperties();
   					
  +					if(properties!=null) {
   					String str = properties.getProperty( "hibernate.transaction.manager_lookup_class" );
   					if(str.trim().length()==0) {
   						properties.setProperty( "hibernate.transaction.manager_lookup_class", "org.hibernate.console.FakeTransactionManagerLookup");
   					}
  +					}
   					
   										
   					if(localCfg==null) {
  
  
  



More information about the jboss-cvs-commits mailing list