The lookup <jee:jndi-lookup id="entityManagerFactory" jndi-name="jdbc/oracledb" />
is almost certainly for the DataSource, not the entityManagerFactory. Your configuration would probably need to be
<jee:jndi-lookup id="dataSource" jndi-name="jdbc/oracledb" />
<bean
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
id="entityManagerFactory">
<property name="dataSource" ref="dataSource" />
<property name="persistenceXmlLocation" value="classpath:META-INF/persistence.xml" />
</bean>
<tx:jta-transaction-manager />