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…
Team to Create Outside the Box
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,…
Obviously you do not want to add your Username/Password to scripts so how can you enter those and make use of execute_cmd and sftp_file without them? Simple provide them as…
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…