Issue Details (XML | Word | Printable)

Key: NUCCORE-548
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

JavaTypeMapping.getSampleValue is never used and ought to be deleted to improve memory utilisation

Created: 26/Jun/10 11:52 AM   Updated: 20/Oct/10 09:29 AM   Resolved: 26/Jun/10 12:34 PM
Component/s: Code Structure
Affects Version/s: None
Fix Version/s: 2.2.0.m1


 Description  « Hide
The only occasion a "default value" is needed for a column is when it is present in the schema and not in a particular instance. In that case the schema will have a "default-value" defined for the column, or will allow nulls. The JavaTypeMapping.setDefault() can be removed also.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 26/Jun/10 12:34 PM
SVN trunk now removes these unnecessary methods and cleans up the mapping code