I'm just getting started with hibernate and am looking for an example of using hibernate to model columns from 3 different tables. For example here is my bean.
The fields value, testName, and pwyUrl reside in seperate tables. Does some one have an example of how to use hibernate to read across multiple tables to model an object? It doesn't matter to me if its using annotations or mapping files.
Thanks! Chris
/** * */ package edu.mayo.CE69.tests.utils;
public class Result { private String value,testName,pwyUrl; public String getValue() { return value; }
public void setValue(String value) { this.value = value; }
public String getTestName() { return testName; }
public void setTestName(String testName) { this.testName = testName; }
public String getPwyUrl() { return pwyUrl; }
public void setPwyUrl(String pwyUrl) { this.pwyUrl = pwyUrl; } }
|