|
Hibernate example source code file (Jay.java)
The Hibernate Jay.java source code//$Id: Jay.java 4599 2004-09-26 05:18:27Z oneovthafew $ package org.hibernate.test.legacy; /** * @author Gavin King */ public class Jay { private long id; private Eye eye; /** * @return Returns the eye. */ public Eye getEye() { return eye; } /** * @param eye The eye to set. */ public void setEye(Eye eye) { this.eye = eye; } /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } public Jay() {} public Jay(Eye eye) { eye.getJays().add(this); this.eye = eye; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Jay.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.