One to Many relationship in a separated table

The Entites Club: one to many Facility: many to one in this example the relation will be held in a separated table, @Entity @Table(name = "club_table") public class ClubTable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Long id; @Column(name = "name", nullable = false) private String name; @Column(name = "latitude") private String

JSF Multiple EL String concatenation

Today I’ve come to experience an usual situation which did result me to concatenate two strings values exceptionally derived from different EL sources. One is derived from database/controller the other is the messages/language sources. As you apprehend the situation from the below screenshot, Annual and Monthly values which pointed in the red color are fetched

Enabling auto reconnect in mysql hibernate spring

in your spring config file append the url entry with the below sample   <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="${database.driverClassName}" /> <property name="url" value="${database.url}?characterEncoding=UTF-8&amp;autoReconnect=true"/> <property name="username" value="${database.user}" /> <property name="password" value="${database.password}" /> </bean>

Installing Eclipse C++

The Requirements Eclipse IDE for C/C++ Developers Neon 64 Bit ( JDK 1.8.0 Any update version for cpp compiler instruction check this link out Be careful when you use version not to have conflicts. Eclipse IDE for C/C++ Developers have java versions up to Neon all requires JDK 7 only Neon run off smoothly on

Installing MinGW C++ compiler on windows

Go to or directly to download “mingw-get-setup.exe” run the program     click continue to download initial files from the menu choose the basic setup and to launch the installation Installation >> Apply changes   (also choose msysbase aswell) it will install gcc binaries in c: add C:\MinGW\bin in your environment path