Java Tips Part 5
Tip 21: Use Prepared Statements When working with JPA/Hibernate make use of Prepared Statements that can be reused. Basically, I’m saying do not do the following: This is considered a…
Tip 21: Use Prepared Statements When working with JPA/Hibernate make use of Prepared Statements that can be reused. Basically, I’m saying do not do the following: This is considered a…
Continuing my Java Tips from experience that I have learned from code reviews to different programming tasks. Tip 16: Perform Bulk operations with Native Queries, or Stored Procedure It can…
Sometimes you need to maintain a large number of objects in memory. If it is strings you may want to take a look at StringCache, which is based on my…
Continuing my Java Tips from experience that I have learned from code reviews to different programming tasks. Tip 11: Use Hibernate Statistics Now, this is only for your development profiles/environments,…
Continuing my Java Tips from experience that I have learned from code reviews to different programming tasks. Tip 6: Don’t call .toString() on slf4j logging calls. So if you’re following…
Ever have one of those objects that want to give you an iterator and don’t have a method for getting it as a list? Well created another new method for…
In today’s times, the software is always handling personal information. As developers, we have to fight the battle between logging and seeing that information when we need to, and hiding…