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 define one-to-one relationship in MySQL
How to define one-to-one relationship in MySQL using the foreign key and unique property to limit the row count from the child table
Apache Maven Basic Operations
Apache Maven Basic Operations contains short description on maven commands like, clean
, package
, install
, deploy
, mvn eclipse:eclipse
How to convert object to / from JSON using Jackson
How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.
How to convert object to / from JSON using Gson
How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.
How to read and write JSON with json-simple
How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.