TiTrias Blog

Stay up to date with our new posts

@ManyToOne/@OneToMany using EclipseLink.

Let's assume this schema : A professor can teach many courses, but a Course is taught by only one professor. This schema is called Many to one. It can be represented using this form ( Course => Professor) Table course_tbl must have a column indexing foreign key of...

read more

@ManyToMany using EclipseLink.

Let's assume this schema : A customer bought many products, A product bought by many customers. This schema is called Many to many, It must have a Relational Table. A relational table is used for specifying which customer bought which products and vice verse. (...

read more