Here's a followup example. In the documentation it has this snippet of code:
Code:
<bag name="sizes" table="SIZES" order-by="SIZE ASC">
<key column="OWNER"/>
<element column="SIZE" type="integer"/>
</bag>
OK that seems to be what I need. This appears as though it would return a List of integers for the "sizes" property. But how would I go about saving the data INTO the "SIZES" table? There's no class associated with it.. so I cant just set some properties on a bean and do a session.save() for that. I'd assume by looking at this. .the table format would be something similar to:
create table SIZES (
owner char(32) primary key,
size int
);