Discussion:
Maven 2 + Hibernate + Oracle 10g
svenson
2008-09-08 03:28:14 UTC
Permalink
I've just started using hibernate as a jpa provider for my maven 2 project (I
use Oracle 10g as a database). I fail to find a hibernate dependency with
Oracle 10g dialect. Is there any way to solve this problem or should I just
use Oracle 9 dialect ?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Maven-2-%2B-Hibernate-%2B-Oracle-10g-tp19365343p19365343.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Dan Tran
2008-09-08 06:21:20 UTC
Permalink
you need to install oracle 10 jdbc driver to your local or remote repositories.

-D
Post by svenson
I've just started using hibernate as a jpa provider for my maven 2 project (I
use Oracle 10g as a database). I fail to find a hibernate dependency with
Oracle 10g dialect. Is there any way to solve this problem or should I just
use Oracle 9 dialect ?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Maven-2-%2B-Hibernate-%2B-Oracle-10g-tp19365343p19365343.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
svenson
2008-09-08 11:31:42 UTC
Permalink
Post by Dan Tran
you need to install oracle 10 jdbc driver to your local or remote repositories.
-D
I downloaded the JDBC driver required and cut the line with the
"hibernate.dialect" but a hibernate exception is still thrown .

Exception in thread "main" org.hibernate.HibernateException: Hibernate
Dialect must be explicitly set

What dialect should I use ?
--
View this message in context: http://www.nabble.com/Maven-2-%2B-Hibernate-%2B-Oracle-10g-tp19365343p19370189.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Wayne Fay
2008-09-08 16:37:50 UTC
Permalink
Post by svenson
Exception in thread "main" org.hibernate.HibernateException: Hibernate
Dialect must be explicitly set
What dialect should I use ?
Hibernate questions => Send to Hibernate Users email list.
Maven questions => Send here.

Wayne

Julien HENRY
2008-09-08 12:45:08 UTC
Permalink
Hi,

In fact you should use Oracle9 dialect, even with Oracle10. There is only 2 dialect for Oracle:
- OracleDialect for Oracle 8 and previous
- Oracle9Dialect for Oracle9 and following

Regards,

Julien



----- Message d'origine ----
De : svenson <***@uralweb.ru>
À : ***@maven.apache.org
Envoyé le : Lundi, 8 Septembre 2008, 13h31mn 42s
Objet : Re: Maven 2 + Hibernate + Oracle 10g
Post by Dan Tran
you need to install oracle 10 jdbc driver to your local or remote
repositories.
-D
I downloaded the JDBC driver required and cut the line with the
"hibernate.dialect" but a hibernate exception is still thrown .

Exception in thread "main" org.hibernate.HibernateException: Hibernate
Dialect must be explicitly set

What dialect should I use ?
--
View this message in context: http://www.nabble.com/Maven-2-%2B-Hibernate-%2B-Oracle-10g-tp19365343p19370189.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@maven.apache.org
For additional commands, e-mail: users-***@maven.apache.org
Loading...