This content has been marked as final.
Show 4 replies
-
1. Re: Connect to JNDI datasource
kukeltje.ronald.jbpm.org Aug 26, 2009 2:21 AM (in response to oneworld95)Correct, analysis. There is no option to connect to jndi because you can't from eclipse.
-
2. Re: Connect to JNDI datasource
oneworld95 Aug 26, 2009 2:27 PM (in response to oneworld95)Thanks, Ronald. I thought I was losing what little is left of my mind. If I manually edit the necessary files (components.xml, persistence.xml) will Eclipse recognize the connection or will it only recognize the non-JNDI database connections? (BTW, I've tried this, and have had no luck -- all kinds of errors.) Thanks.
-
3. Re: Connect to JNDI datasource
kukeltje.ronald.jbpm.org Aug 26, 2009 4:19 PM (in response to oneworld95)I've only used the non-jndi ones. But.... I'm only human...
-
4. Re: Connect to JNDI datasource
oneworld95 Aug 26, 2009 5:17 PM (in response to oneworld95)I'm slowly making progress: Modified the hibernate-console.properties file to look like this:
#File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml hibernate.connection.password= hibernate.connection.username= hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver hibernate.dialect=org.hibernate.dialect.Oracle10gDialect hibernate.connection.url= hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider hibernate.datasource=java:/ora-forms hibernate.transaction.manager_lookup_class=
When I do
Seam Generate Entities
, the databaseRefresh
button gives this error; what should the driver string be for Oracle 10g?Can't generate seam entities org.hibernate.exception.JDBCConnectionException: Getting database metadata Getting database metadata org.hibernate.exception.JDBCConnectionException: Getting database metadata Getting database metadata java.sql.SQLException: No suitable driver No suitable driver