Vedran Pavić
3e293e8b54
Polish JDBC configuration ( #608 )
2016-09-02 13:42:36 -05:00
John Blum
3ee4c5b5d0
Register non-anonymous, named Instantiators for GemFireSession and GemFireSessionAttributes ( #594 )
...
Fixes gh-594 & gh-595
2016-08-17 17:35:00 -07:00
John Blum
acf37fc8f4
Fix deserialization issue caused by unregistered Instantiator ( #595 )
...
Fixes gh-594 & gh-595
2016-08-17 09:22:50 -07:00
John Blum
1256a94d7e
Add Apache Geode support ( #366 )
...
Closes gh-365, gh-366
2016-08-15 14:53:12 -05:00
Vedran Pavić
bbb94361f8
Optimize save operation in JdbcOperationsSessionRepository ( #582 )
...
This commit improves saving of new sessions to only execute batch update operation if there really are any attributes to save.
2016-08-15 14:25:37 -05:00
John Blum
9af3f1fcec
Enable named Pool configuration on cache client 'Session' Region ( #487 )
...
Fixes gh-484
2016-08-15 14:14:34 -05:00
Vedran Pavić
5b70d55a21
Improve result set extraction in JdbcOperationsSessionRepository ( #577 )
...
Previously, result set extraction was performed by a `RowMapper` implementation that required scrollable result sets support which caused compatibility issues with some database vendors.
This commit improves result set extraction by using a `ResultSetExtractor` which does not require scrollable result sets.
2016-08-15 13:34:12 -05:00
Vedran Pavic
0018a2f772
Add database schema drop scripts
...
Fixes gh-565
2016-06-29 21:21:53 -05:00
Rob Winch
dc553104c6
Fix SessionRepositoryFilterTests doFilterLastAccessedTime assertion
...
Relax the assertion so that it is not exact to avoid timing issues.
Fixes gh-519
2016-06-29 16:24:52 -05:00
Rob Winch
4a1f132e07
Add JdbcOperationsSessionRepository overflow test
...
Add test for ensuring
JdbcOperationsSessionRepository.cleanupExpiredSessions does not have an
overflow when setting the max inactive interval to large values.
Issue gh-564
2016-06-29 11:58:18 -05:00
pasali
940555653c
Fix overflow in JdbcOperationsSessionRepository
...
Changed maxInactiveIntervalSeconds to long in order to prevent integer
overflow in cleanUpExpiredSessions method.
Fixes gh-564
2016-06-29 11:56:03 -05:00
Rob Winch
cc08f83ce0
Fix Gemfire Eclipse & Checkstyle
2016-06-29 11:07:58 -05:00
Vedran Pavić
fb356f02ff
SessionRepositoryFilterTests Sleeps for 50 ms
2016-06-06 08:45:19 -05:00
Vedran Pavić
509fb99a5d
Improve JDBC transaction management doc
2016-05-20 11:56:58 -05:00
Vedran Pavić
2aff5b0377
Fix EnableRedisHttpSession.redisFlushMode javadoc
...
Fix EnableRedisHttpSession.redisFlushMode javadoc
2016-05-16 08:04:47 -05:00
Vedran Pavić
458ac6e700
Increase default size for attribute_name column ( #515 )
2016-05-06 17:03:40 -05:00
Vedran Pavić
33321d2e53
Polish MongoHttpSessionConfigurationTests
...
This improves test coverage and makes the MongoHttpSessionConfigurationTests
more consistent with analogous tests for other repositories.
Fixes gh-503
2016-05-02 15:11:54 -05:00
Vedran Pavic
00e7110594
Implement individual attribute persistence in JdbcOperationsSessionRepository
2016-04-26 14:29:23 -05:00
Eddú Meléndez Gonzales
f973e63fce
Set collectionName attribute in MongoOperationsSessionRepository
...
Previous to this commit, collectionName could be set in
MongoHttpSessionConfiguration but it was never used. Now, attribute
can be set into MongoOperationsSessionRepository to take effect.
See gh-489
2016-04-26 14:27:02 -05:00
Eddú Meléndez
edbf8bf587
Expose attributes in MongoHttpSessionConfiguration
...
Attributes collectionName and maxInactiveIntervalInSeconds can be set
now.
Fixes gh-489
2016-04-20 13:49:18 -05:00
Johnny Lim
234f6c954a
Remove duplicate words
...
Remove duplicate words
Fixes gh-494
2016-04-18 23:27:48 -05:00
Eddú Meléndez
5865b0a715
Add tableName setter for JdbcHttpSessionConfiguration
...
See gh-488
2016-04-19 01:00:40 +10:00
Vedran Pavić
67201417df
Add compile dependency to commons-logging ( #476 )
2016-04-11 10:55:10 -05:00
John Blum
2d6f505a30
Update to Spring Data Hopper
...
Fixes gh-470
2016-04-11 09:31:05 -05:00
Rob Winch
7c616a1adf
Redis save does nothing if nothing has changed
...
Fixes gh-467
2016-04-06 15:38:34 -05:00
Vedran Pavić
3f819a94b1
Enable transaction management for JdbcOperationsSessionRepository operations
2016-04-05 23:39:36 -05:00
Rob Winch
b97306a83d
Merge pull request #450 from vpavic/gh-445
...
Fix loading of JdbcSession's lastAccessedTime attribute
2016-03-28 15:06:49 -05:00
Vedran Pavic
63006db45d
Fix loading of JdbcSession's lastAccessedTime attribute
...
Fixes gh-445.
2016-03-28 18:13:16 +02:00
Vedran Pavic
0a99e065ff
Polish JdbcHttpSessionConfigurationTests
2016-03-28 17:49:02 +02:00
Vedran Pavic
903cac492e
Use Flapdoodle Embedded MongoDB for integration tests and samples
2016-03-25 07:27:33 +01:00
lowzj
128e0c4d47
Fix SessionRepositoryFilter comment typo
2016-03-23 19:32:05 +08:00
Vedran Pavic
b88f48f01d
Externalize H2 database dependency version
2016-03-20 01:56:35 +01:00
Rob Winch
b58ea03a3b
Polish JdkMongoSessionConverter
...
* Serializer/Deserializer -> Converter API
* Verify/Test null constructor arguments
Issue gh-431
2016-03-16 21:06:57 -05:00
Jakub Kubrynski
9014ac9060
JdkMongoSessionConverter supports custom ClassLoader
...
Fixes gh-431
2016-03-16 20:35:39 -05:00
Rob Winch
bbbdf939e8
Polish JacksonMongoSessionConverter
...
Issue gh-416
2016-03-14 13:29:17 -05:00
Jakub Kubrynski
e23398b890
Add JacksonMongoSessionConverter
...
Fixes gh-416
2016-03-14 13:29:17 -05:00
Rob Winch
195228ff5a
Fix checkstyle
...
Fixes gh-423
2016-03-14 10:41:40 -05:00
Øyvind Horneland
831d2f4152
SessionRepositoryFilter caches null session lookup
...
If a session cannot be found by id, we will cache that result for any
subsequent calls to getSession(false) for the duration of this request.
Fixes gh-423
2016-03-14 10:40:25 -05:00
Erin Drummond
49f24e493d
Fix JdbcOperationsSessionRepository session cleanup
...
Make JDBC session cleanup logic actually cleanup expired sessions
as opposed to all sessions
Fixes gh-421
2016-03-11 09:28:18 -06:00
Rob Winch
68ddcef83e
Fix Javadoc
2016-03-07 16:08:54 -06:00
Rob Winch
f0200696ef
Additional Checkstyle Fixes
...
Issue gh-393
2016-03-07 15:36:17 -06:00
Vedran Pavic
7f3302253b
Prepare codebase to adhere to Checkstyle rules
...
Issue gh-393
2016-03-07 15:33:42 -06:00
Rob Winch
216bfd7355
MongoSessionConverter -> AbstractMongoSessionConverter
...
Using Abstract prefix follows conventions for abstract classes
beginning with Abstract. This also opens up the door to introduce
a MongoSessionConverter interface in the future.
Issue gh-17
2016-03-07 12:45:05 -06:00
Jakub Kubrynski
34cebc3df6
Add MongoOperationsSessionRepository
...
Fixes gh-17
2016-03-07 12:45:05 -06:00
Rob Winch
7b28b214ff
Polish JdbcOperationsSessionRepository
...
* Fix whitepspaces
* Remove Override from interfaces
Issue gh-364
2016-03-07 09:25:30 -06:00
Rob Winch
8f8cfe5d79
JdbcOperationsSessionRepository uses ConversionService
...
Issue gh-364
2016-03-07 09:18:21 -06:00
Vedran Pavic
cd38e307e0
Add JdbcOperationsSessionRepository
...
This commit provides implementation of SessionRepository based
on Spring's JdbcOperations interface.
@EnableJdbcHttpSession annotation is provided to ease the
configuration, together with spring-session-jdbc BOM and schema
creation scripts for all major databases.
Fixes gh-364
2016-03-04 11:24:06 -06:00
Rob Winch
091d0d8d9f
DefaultCookieSerializer ignores null Cookie value
...
Previously a null Cookie value was returned by DefaultCookieSerializer
readCookieValues(). This could cause NullPointerExeptions later on.
This commit ignores cookies with a null value.
Fixes gh-392
2016-03-04 10:22:33 -06:00
John Blum
3300b58afe
Fix GemFire TODOs
...
Upgrades Spring Session to use Spring Data GemFire 1.7.4.RELEASE
and addresses all TODOs.
Fixes gh-403
2016-02-29 21:07:00 -06:00
John Blum
00af8456d4
@DirtiesContext for GemFire integration tests
...
Applies @DirtiesContext to all Spring Session Data GemFire integration
tests to ensure that no lingering GemFire (peer or client) cache
instances cause conflicts on downstream tests.
Fixes gh-396
2016-02-29 20:46:59 -06:00