Blog: myshittycode


216 blogs updated: 48 min. ago
Groovy: Copying Properties Between Two Beans
PROBLEM Given two beans There are several ways to copy properties from one bean to another:- The most rudimentary way is to "get" each prope...
0
23-06-2017 16:58:31 myshittycode Advanced
Spring MVC: Failed to convert value of type ‘java.lang.String' to required type ‘java.time.LocalDateTime'
PROBLEM Given the following controller When executing the web service call returns 400 Bad Request with the following error in the console l...
0
23-06-2017 01:10:39 myshittycode Advanced
MS SQL Server + Hibernate 5: Incorrect syntax near ‘@P0'
PROBLEM When upgrading to Hibernate 5, the following exception is thrown:- SOLUTION Change the MS SQL Server dialect from this to this Filed...
4
20-06-2017 18:22:03 myshittycode Advanced
tar: Exiting with failure status due to previous errors
PROBLEM When creating a compressed archive file:- the following error is thrown:- SOLUTION This error usually occurs due to permission issue...
3
12-06-2017 17:19:00 myshittycode Advanced
Docker: Handling Circular Dependency between Containers
PROBLEM Let's assume we are going to run 3 containers:- Jenkins Nexus Nginx Nginx is used to serve cleaner URLs through reverse proxies so t...
7
02-06-2017 04:50:46 myshittycode Advanced
Docker: Defining Custom Location for Named Volume
PROBLEM Let's assume we have the following docker-compose.yml: By the default, all Docker-managed named volumes are stored under the install...
6
01-06-2017 21:35:52 myshittycode Advanced
ES6 + Mocha + Sinon: Mocking Imported Dependency
PROBLEM Let's assume we have the following 2 files:- apis.js service.js Let's assume we want to test the logic in service.js without using n...
4
10-05-2017 23:14:05 myshittycode Advanced
Synology NAS: Running CrashPlan in Docker Container
BACKGROUND The reason to run CrashPlan in Docker container is to prevent any future Synology's DSM updates from breaking the CrashPlan app. ...
6
26-04-2017 05:09:02 myshittycode Advanced
Java: Exploring Preferences API
BACKGROUND In any written scripts or rich client apps, there is almost a need to persist the user preferences or app configurations. Most of...
6
20-04-2017 19:09:32 myshittycode Advanced
Spring + Ehcache: XML-less Spring Configuration for Ehcache 2.x vs Ehcache 3.x
BACKGROUND The documentation on the web regarding Ehcache 3.x configuration using Spring is rather lacking. There is apparently a very disti...
0
12-04-2017 04:20:24 myshittycode Advanced


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.