|
Hibernate example source code file (Customer.java)
The Hibernate Customer.java source codepackage org.hibernate.test.keymanytoone.bidir.embedded; import java.util.ArrayList; import java.util.Collection; /** * {@inheritDoc} * * @author Steve Ebersole */ public class Customer { private Long id; private String name; private Collection orders = new ArrayList(); public Customer() { } public Customer(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Collection getOrders() { return orders; } public void setOrders(Collection orders) { this.orders = orders; } } 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 |
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.