[Hibernate] Named SessionFactory in cfg.xml

2002-09-25 Thread Craig Goss
Hi Gavin: The demands of the project I'm working on are such that the persistence layer will provide support services for (1) a web site that communicates with an ejb server via stateless session beans wrapping a DAO and (2) a stand-alone application that directly accesses the same DAO without the

[Hibernate] Nested components of a single class

2003-02-05 Thread Craig Goss
Hi Gavin: What is the recommended method for handling the following? I want to store this data in the parent table so that a join isn't necessary to load it. Hibernate gets the mapping below, but only allocates a single column for 'units' and 'value'.

RE: [Hibernate] Nested components of a single class

2003-02-05 Thread Craig Goss
Arrgh. Must have been asleep when I asked that one. Property column does the trick. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 Se