R: Cannot instantiate class: org.openejb.client.LocalInitialContextFactory

2009-02-13 Thread Paolo Spadafora
Hi, I think you have to set java permission on applet side. Probably need to sign the applet. Also, when doing a remote lookup you need to obtain the remote interface (QdbBeanRemote), not the local. Paolo -Messaggio originale- Da: mgyh [mailto:mgi...@comsys.com] Inviato: venerdì 13

R: How to enable/disable Hibernate EntityManager

2009-02-06 Thread Paolo Spadafora
Hi, I am not sure of your problem. But I think property name=hibernate.hbm2ddl.auto value=update / Has the same meaning of property name=openjpa.jdbc.SynchronizeMappings value=buildSchema(ForeignKeys=true) / Although, the second one is an openjpa property and should be ignored by hibernate

R: R: datasource problem with hibernate and oracle

2009-02-03 Thread Paolo Spadafora
- ElementJoinColumn. Here is the syntax: @ElementJoinColumn(name=child table ref column referencedColumnName=parent table ref column) HTH, Jay Paolo Spadafora wrote: Hi David, Don't know if I answered you already, anyways... It works with hibernate, I wanted to switch to openjpa, I made

Re: datasource problem with hibernate and oracle

2009-01-23 Thread Paolo Spadafora
/AutoConfigPersistenceUnitsTest.java On Jan 19, 2009, at 4:19 AM, Paolo Spadafora wrote: Hello, I have a problem with datasource, looks like openejb is using an hsqldb database instead of Oracle. The error is: table not found INFO: building session factory 19-gen-2009 12.43.36

R: datasource problem with hibernate and oracle

2009-01-22 Thread Paolo Spadafora
configuration. Also, what OpenEJB version are you using? -David [1] http://svn.apache.org/repos/asf/openejb/tags/openejb-3.1/container/openejb-c ore/src/test/java/org/apache/openejb/config/AutoConfigPersistenceUnitsTest.j ava On Jan 19, 2009, at 4:19 AM, Paolo Spadafora wrote: Hello, I have

datasource problem with hibernate and oracle

2009-01-19 Thread Paolo Spadafora
Hello, I have a problem with datasource, looks like openejb is using an hsqldb database instead of Oracle. The error is: table not found INFO: building session factory 19-gen-2009 12.43.36 org.hibernate.impl.SessionFactoryObjectFactory addInstance INFO: Not binding factory to JNDI, no