This is what i've done connecting to a oracle database...
<dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>
<dbunit.operation.type>NONE</dbunit.operation.type>
<hibernate.dialect>org.hibernate.dialect.Oracle9iDialect</hibernate.dialect>
<jdbc.groupId>com.oracle</jdbc.groupId>
<jdbc.artifactId>ojdbc14</jdbc.artifactId>
<jdbc.version>9.2.0.1.0</jdbc.version>
<jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
<jdbc.url><![CDATA[jdbc:oracle:thin:@192.9.230.154:1521:ESTS]]></jdbc.url>
<jdbc.username>ests</jdbc.username>
<jdbc.password>ests</jdbc.password>
Make sure you create the hibernate_sequence in your oracle db first.
On Nov 12, 2007 4:32 PM, Matthew Wu <[EMAIL PROTECTED]> wrote:
> When I execute "mvn appfuse:gen-model", there is an error says: [INFO]
> Scanning for projects... [INFO] Searching repository for plugin with prefix:
> 'appfuse'. [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building AppFuse Struts 2 Application [INFO] task-segment:
> [appfuse:gen-model] [INFO]
> ----------------------------------------------------------------------------
> [INFO] Preparing appfuse:gen-model [INFO] [aspectj:compile {execution:
> default}] [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
> [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}] [INFO]
> [resources:resources] [INFO] Using default encoding to copy filtered
> resources. [INFO] [appfuse:gen-model] [INFO] Configuration XML file loaded:
> D:\AppFuse2-MySQL5\myproject\src\main\resources\hibernate.cfg.xml [INFO]
> Configuration Properties file loaded:
> D:\AppFuse2-MySQL5\myproject\target\classes\jdbc.properties [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR [INFO]
> ------------------------------------------------------------------------
> [INFO] Dialect class not found: org.hibernate.dialect.Oracle9iDialect [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace org.hibernate.HibernateException: Dialect class not found:
> org.hibernate.dialect.Oracle9iDialect at
> org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:81) at
> org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:42) I
> don't know why, Thanks a lot
>
>
> ________________________________
> View this message in context: Dialect class not found:
> org.hibernate.dialect.Oracle9iDialect
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
--
/fadhli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]