How to convert String to int in Java
How to convert String to int in Java using Integer.parseInt and Integer.valueOf methods. Simple example provided.
How to generate tables from entities using EclipseLink
How to generate entities from tables using EclipseLink. Simple example using one-to-one database relationship. @MappedSuperclass example included
How to read XML file in Java using DOM
How to read XML file in Java using DOM. 2 methods: one reading each element by the name and second parsing the entire DOMobject.
How to read and write files in Java
How to read and write files in Java using BufferedReader and BufferedWriter. The example highlights the classic resource release and try-with-resource approach.
How to read CSV file in Java
How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.
Split a string and loop in SQL Server
How to split a string and loop it's values in Microsoft SQL Server. Simple solution used to insert data into tables.