|
Hibernate example source code file (Person.java)
The Hibernate Person.java source code//$Id: Person.java 5011 2004-12-19 22:01:25Z maxcsaucdk $ package org.hibernate.test.extendshbm; /** * @author Gavin King */ public class Person { private long id; private String name; private char sex; /** * @return Returns the sex. */ public char getSex() { return sex; } /** * @param sex The sex to set. */ public void setSex(char sex) { this.sex = sex; } /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * @return Returns the identity. */ public String getName() { return name; } /** * @param identity The identity to set. */ public void setName(String identity) { this.name = identity; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Person.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.