|
Hibernate example source code file (Task.java)
The Hibernate Task.java source code//$Id: Task.java 7676 2005-07-29 06:27:10Z oneovthafew $ package org.hibernate.test.version; public class Task { private String description; private Person person; private int version; public int getVersion() { return version; } public void setVersion(int version) { this.version = version; } Task() {} public Task(String description, Person person) { this.description = description; this.person = person; person.getTasks().add(this); } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Person getPerson() { return person; } public void setPerson(Person person) { this.person = person; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Task.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.