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

Hibernate example source code file (CustomerId.java)

This example Hibernate source code file (CustomerId.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

customerid, customerid, io, serializable, serializable, string, string

The Hibernate CustomerId.java source code

//$Id: CustomerId.java 7239 2005-06-20 09:44:54Z oneovthafew $
package org.hibernate.test.idclass;
import java.io.Serializable;

public class CustomerId implements Serializable {
	
	private String orgName;
	private String customerName;

	public CustomerId() {
		super();
	}

	public CustomerId(String orgName, String custName) {
		this.orgName = orgName;
		this.customerName = custName;
	}

	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 CustomerId.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.