First of all, just because this issue is urgent for you doesn't mean
it's urgent for anyone else. We're all volunteers here and when you
put "urgent" in the subject or body of your message, it makes it less
likely that people will answer your question.
I don't know what the problem could be, but it might be a permissions
issue. Hopefully other folks that are using Oracle can help you out.
Matt
On Thu, Nov 20, 2008 at 3:00 AM, grd prasad <[EMAIL PROTECTED]> wrote:
>
> hello all,
>
> I am facing a problem with one error since two days.That is
>
> I am working on Struts 2 Basic artifact.I run this program as it was in the
> quick start and i use the database mysql by changing the password it was
> successfully running.Now i want to change my database to oracle database so
> i deploy the oracle ojdbc14.jar in my repository.It build successfully.
> Now i change the database settings in pom.xml like
> this:
>
> <!-- Database settings -->
>
> <dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>
> <dbunit.operation.type>CLEAN_INSERT</dbunit.operation.type>
> <dbunit.schema>TRAINING</dbunit.schema>
>
> <hibernate.dialect>org.hibernate.dialect.OracleDialect</hibernate.dialect>
> <jdbc.groupId>com.oracle</jdbc.groupId>
> <jdbc.artifactId>ojdbc14</jdbc.artifactId>
> <jdbc.version>10.2.0.1.0</jdbc.version>
>
> <jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
>
> <jdbc.url><![CDATA[jdbc:oracle:thin:@172.17.3.130:1521:MIRACLE]]></jdbc.url>
> <jdbc.username>training</jdbc.username>
> <jdbc.password>training</jdbc.password>
>
> when i run this mvn jetty:run-war command in command line.
>
> It showing an error like this:
>
> create sequence hibernate_sequence;
> [WARNING] 3 errors occurred while performing <hbm2ddl>.
> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does not
> exist
>
> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does not
> exist
>
> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does not
> exist
>
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [dbunit:operation {execution: test-compile}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing database operation: CLEAN_INSERT
>
> Embedded error: Items_Master
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Thu Nov 20 16:08:50 IST 2008
> [INFO] Final Memory: 23M/254M
> [INFO]
> ------------------------------------------------------------------------
>
> I saw in the database that the tables are created successsfully.But it was
> giving an error as above explained. Is there any modifications i have to do.
> Please give me solution for this i need to work on this
> urgent.
>
>
> --
> View this message in context:
> http://www.nabble.com/dbunit%3Aoperation-%7Bexecution%3A-test-compile%7D--tp20598867s2369p20598867.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]