-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: SchemaValidator failed in JBoss 4.0.5 (solution included)
PostPosted: Tue Mar 13, 2007 10:12 am 
Newbie

Joined: Tue Mar 13, 2007 9:54 am
Posts: 1
Hibernate version: 3.2.0 (updated to 3.2.2)

Name and version of the database you are using: Oracle 10g

I'm starting a new EJB 3 project using Hibernate, JBoss Seam and the JBoss AS 4.0.5 (using the JEMS installer 1.2.0.GA).

My persistence.xml defines the properties:

Code:
<property name="hibernate.hbm2ddl.auto" value="validate"/>
<property name="hibernate.default_schema" value="JOE"/>


Starting the JBoss Server I'll get an validation error reporting a missing column. Analyzing the logs I've seen, the validator selects the first table with the configured name of an entity in any matching schema.

As a possible workaround you may disable validation, but there is a better way. Replacing the Hibernate Libraries with the latest versions (3.2.2 Core, 3.2.1 Annotations and EntityManager) solved it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.