db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r527199 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java
Date Tue, 10 Apr 2007 17:01:26 GMT
Author: mamta
Date: Tue Apr 10 10:01:25 2007
New Revision: 527199

URL: http://svn.apache.org/viewvc?view=rev&rev=527199
Log:
Let BasicDatabase set the locale of DVF by uncommenting the code in BasicDatabase's boot code
that does the setting. This change is being
tracked in DERBY-2535.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java?view=diff&rev=527199&r1=527198&r2=527199
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java Tue Apr 10
10:01:25 2007
@@ -174,9 +174,7 @@
 		
 		// boot the type factory before store to ensure any dynamically
 		// registered types (DECIMAL) are there before logical undo recovery might need them.
-		Monitor.bootServiceModule(create, this,
-				org.apache.derby.iapi.reference.ClassName.DataValueFactory, startParams);
-/*		DataValueFactory dvf = (DataValueFactory) Monitor.bootServiceModule(create, this,
+		DataValueFactory dvf = (DataValueFactory) Monitor.bootServiceModule(create, this,
 				org.apache.derby.iapi.reference.ClassName.DataValueFactory, startParams);
 		//After booting the DVF, set the Locale information into it. This 
 		//Locale will be either the Locale obtained from the territory 
@@ -185,7 +183,7 @@
 		//create time, then it will be set to the default JVM locale. If user 
 		//has requested territory based collation then a Collator object will
 		//be constructed from this Locale object. 
-		dvf.setLocale(databaseLocale);*/
+		dvf.setLocale(databaseLocale);
 
 		bootStore(create, startParams);
 



Mime
View raw message