Issue Details (XML | Word | Printable)

Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

Provide persistence property to control whether we use ParamLoggingPreparedStatement

Created: 05/Feb/13 10:54 AM   Updated: 12/Feb/13 05:14 PM   Resolved: 05/Feb/13 11:14 AM
Component/s: Connection
Affects Version/s: None
Fix Version/s: 3.2.0.m4

 Description  « Hide
We currently use ParamLoggingPreparedStatement wrapping the underlying PreparedStatement when Datastore.Native log category is enabled to DEBUG level. We also allow datanucleus.rdbms.sqlParamValuesInBrackets to control whether to put brackets around the values.

Would be better to have a single property, like
with values "jdbc", "param-with-values", "param-with-values-in-brackets"

Andy Jefferson added a comment - 05/Feb/13 11:14 AM
SVN trunk makes this change

Andy Jefferson made changes - 05/Feb/13 11:14 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 12/Feb/13 05:14 PM
Status Resolved [ 5 ] Closed [ 6 ]