alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (Customer.java)

This example Hibernate source code file (Customer.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

customer, customer, string, string

The Hibernate Customer.java source code

//$Id: Customer.java 7858 2005-08-11 21:46:58Z epbernard $

package org.hibernate.test.idclass;






public class Customer {



	public Customer() {

		super();

	}



	public Customer(String orgName, String custName, String add) {

		this.orgName = orgName;

		this.customerName = custName;

		this.address = add;

	}



	private String orgName;

	private String customerName;

	private String address;



	public String getAddress() {

		return address;

	}



	public void setAddress(String address) {

		this.address = address;

	}



	public String getCustomerName() {

		return customerName;

	}



	public void setCustomerName(String customerName) {

		this.customerName = customerName;

	}



	public String getOrgName() {

		return orgName;

	}



	public void setOrgName(String orgName) {

		this.orgName = orgName;

	}



}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate Customer.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.