-->
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.  [ 2 posts ] 
Author Message
 Post subject: Missing orm_1_0.xsd
PostPosted: Tue Jan 06, 2009 8:08 pm 
Newbie

Joined: Tue Jan 06, 2009 8:00 pm
Posts: 2
I am coding a project using core 3.3.1GA, annotations 3.4.0GA, and entitymanager 3.4.0GA.

I wish to use JPA compliant entity-mappings. However, the code I am running cannot find orm_1_0.xsd.

I saw a log entry in the source control: http://viewvc.jboss.org/cgi-bin/viewvc.cgi/hibernate/core/trunk/annotations/src/main/resources/org/hibernate/ejb/orm_1_0.xsd?view=log&sortby=date&pathrev=15452

This looks like someone recently moved the file. Has anybody out there had problems using JPA XML configuration files in the binary distribution of 3.3.1GA?


Top
 Profile  
 
 Post subject: Solution
PostPosted: Wed Jan 07, 2009 7:21 pm 
Newbie

Joined: Tue Jan 06, 2009 8:00 pm
Posts: 2
Oops. I had been getting the error "Document is invalid: no grammar found" and assumed that I was missing the file.

The real problem is that I was trying to load JPA mapping files through the hibernate SessionFactory instead of using the wrapper class EntityManagerFactory.


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

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.