Do you have the schema set in the dbunit properties in your pom.xml?

-D

On Jun 9, 2008, at 5:08 PM, Daniele De Francesco wrote:


Hi all,

it looks like, I'm definitely having troubles w dbunit CLEAN_INSERT
operation, because
mvn hibernate3:hbm2ddl -Poracle runs successfully. The problem is in the
test-compile phase where is configured dbunit operation goal.
It looks like it "expects" the usual User class properties (w the normal User class all goes right), or maybe there is a problem in the running order of dbunit:operation and hibernate3:hbm2ddl so that it tries to clean
insert when still the create operation is in some strange state?

In MySQL 5.x all goes clean...
It's a real pain...so if you can give me some ideas I'd appreciate it very
much...

TIA
Cheers,
--
Daniele De Francesco


mraible wrote:

Does it look like your schema is successfully created by
hibernate3:hbm2ddl?

Matt

On Mon, Jun 9, 2008 at 8:03 AM, Daniele De Francesco
<[EMAIL PROTECTED]> wrote:

Hi all,

I have added some properties in the User class. I run on an Oracle XE
instance.
Now, no matter the data type of the properties added,when I issue

mvn -e clean test-compile hibernate3:hbm2ddl -Poracle

I get an

org.dbunit.dataset.NoSuchColumnException: app_user.<myproperty>

I Attach my sample-data.xml and my pom oracle profile snippet.

I've googled and nabbled back and forth, but no luck so far...

Can you point me in the right direction?

--
Daniele De Francesco
Senior Java Architect
Value Team Italia http://www.nabble.com/file/p17733500/sample-data.xml
sample-data.xml
http://www.nabble.com/file/p17733500/pom-oracle-profile-snippet.txt
pom-oracle-profile-snippet.txt
--
View this message in context:
http://www.nabble.com/org.dbunit.dataset.NoSuchColumnException-pain-tp17733500s2369p17733500.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]




--
View this message in context: 
http://www.nabble.com/org.dbunit.dataset.NoSuchColumnException-pain-tp17733500s2369p17745057.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]

Reply via email to