[Hibernate] Looking Session Factory on JNDI

2004-07-23 Thread Caldas, Marcelo
Hi, I’m using BEA Weblogic 8.1 with some tiers for my architecture.   My hibernate access resides on a DAO layer (behind stateless beans).   My question is what I have to configure to be able to get the SessionFactory from the JNDI –   I have the hibernate.cgf.xml set up as:

Re: [Hibernate] Looking Session Factory on JNDI

2004-07-23 Thread Christian Bauer
On Jul 23, 2004, at 9:53 PM, Caldas, Marcelo wrote: Am I missing something here? Do I have to bind the sessionFactory myself? If yes, how? Using a WLS StartUP class? You have to call buildSessionFactory() at least once, as per the documentation. It doesn't magically bind itself without any startu

[Hibernate] Would like to set "start" for

2004-07-23 Thread Blake Mills
Hello, First off I am using hsqldb 1.7.2 and hibernate 2.1.4. I do not want to set my unsaved-value to -1 in the tag. I would like the unsaved-value to be 0. However this causes a problem when I use SchemaExportTask to create the database and tables for me. The identity columns are not created