Hi everybody !

Im using SDK 1.3.4  Spring ORM 3.0.2

Im with some problems using  on GAE.

Im with the follow config:(applicationContext-dao.xml)

<bean
class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
 <bean id="myEmf"
class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
      <property name="persistenceUnitName" value="protos-domain-unit"/>
   </bean>

<!-- Transaction manager -->
<bean id="transactionManager"
class="org.springframework.orm.jpa.JpaTransactionManager">
<property name="entityManagerFactory" ref="myEmf" />
</bean>

<!-- Activates @Transactional -->
<tx:annotation-driven transaction-manager="transactionManager" />
 <!-- The dao classes are autodetected POJOs labeled with the @Repository
annotation. -->
<context:component-scan  base-package="com.tikaboo.protos.dao"/>


When i start the application, it returns:

SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'myEmf' defined in ServletContext resource
[/WEB-INF/applicationContext-dao.xml]: Invocation of init method failed;
nested exception is javax.persistence.PersistenceException: Provider error.
Provider: org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)

Did you experience this error?

Thanks !
Cleber

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to