bad value for type long exception for Lob fields in Hibernate

If you are getting ‘bad value for type long’ exception in hibernate with Lob fields, add

@Type(type = "org.hibernate.type.TextType")

to @Lob fields. 



Accessing AWS ElastiCache

For Redis, I couldn’t access to Redis from outside AWS, but can access it from EC2 or other platforms. #ReminderForMyself

by the way :

Please note that IP-range based access control is currently not enabled for Cache Clusters. All clients to a Cache Cluster must be within the EC2 network, and authorized via security groups as described above.