solomax commented on code in PR #163:
URL: https://github.com/apache/openjpa/pull/163#discussion_r3868957723


##########
openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java:
##########
@@ -315,7 +315,18 @@ public class DBDictionary
     // types
     public boolean storageLimitationsFatal = false;
     public boolean storeLargeNumbersAsStrings = false;
+    /**
+     * Whether Java <code>char</code> fields are stored in numeric columns
+     * rather than as <code>CHAR</code> values. Dictionaries may set their own
+     * default and may adjust it in {@link #connectedConfiguration(Connection)}
+     * based on the detected database version; use
+     * {@link #setStoreCharsAsNumbers(boolean)} to configure a value that is
+     * guaranteed to be left untouched (OPENJPA-2971).
+     */
     public boolean storeCharsAsNumbers = true;
+    // true once the user explicitly configured StoreCharsAsNumbers; 
dictionaries
+    // must not auto-detect over such a value (OPENJPA-2971)
+    private boolean storeCharsAsNumbersExplicit = false;

Review Comment:
   My bad, need more coffee this morning :)
   Sorry for the noise :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to