[root]/src/au/com/whitesquare/dcaf/persistence/base

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| steve | 69 (100.0%) | 3554 (100.0%) | 51.5 |
bug 51: This change allows different implementations to override the way the PreparedStatement is created for loading lists of objects. This fixes the issue with MySQL loading too much data and blowing the stack.
10 lines of code changed in:
bug 40: updated imports.
19 lines of code changed in:
bug 24: Removed extra package import to package that nolonger exists.
5 lines of code changed in:
bug 24: Gets identity loading working for MS SQL server. Allows inseting of data to work.
35 lines of code changed in:
Added function to get MaxSize of connection pool, and renamed getSize() to getCurrentSize() as a more accurate description.
11 lines of code changed in:
Added new feature to enable adding of listeners to all DCAF events for logging or performance purpose's.
295 lines of code changed in:
Added fix so that the WHERE text is prepended before any WhereSQL usage.
11 lines of code changed in:
Added ability to set a specific SQL Where clause to DCAF.
228 lines of code changed in:
Added functions to get the state of connections in the pool from the broker.
200 lines of code changed in:
Now tracks and debugs the time taken to execute the query.
10 lines of code changed in:
Fixed a possible bug where the wrong loop index was being used. No bugs were reported
against this, jut fixed it in code review.
6 lines of code changed in:
Fixed column constraints to work.
20 lines of code changed in:
Added logic for column comparisons. You can now do somthing like col1 > col2.
The available operators are
- COLUMN_CONSTRAINT_EQUAL
- COLUMN_CONSTRAINT_NOT_EQUAL
- COLUMN_CONSTRAINT_GREATER_THAN
- COLUMN_CONSTRAINT_GREATER_THAN_OR_EQUAL
- COLUMN_CONSTRAINT_LESS_THAN
- COLUMN_CONSTRAINT_LESS_THAN_OR_EQUAL
31 lines of code changed in:
If there is no value set, then don't write the SQL.. Allow it to go in with a default or null.
10 lines of code changed in:
Added debug to show the connection hash that is being used.
Now manages a flag as to whether the transaciton is open or not.
Transactions are marked as closed when the connection is released to the pool.
36 lines of code changed in:
Added logic to enable each Transaction to set the timeout that will return the connection to the pool. This function is called setPoolGatherTimeout and is accessable on the Transaction.
25 lines of code changed in:
Added fix for CONSTRAINT_NOT_EQUAL. using isNullSet() and added the logic for the new constraints.
31 lines of code changed in:
Added hacky logic to allow sub selects to be created and managed as any standard BindVariable. This code may reverse out soon as we re-factor to work out what is better.
58 lines of code changed in:
Adds in the 'WHERE' word when there are either bindValues or joinValues.
7 lines of code changed in:
Updated error debug to show what is being printed.
6 lines of code changed in:
(31 more)