Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8701135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:19:25+00:00 2026-06-13T02:19:25+00:00

I using Mule Studio version: 1.3.1 . buildDate: 201209061215 I am not able to

  • 0

I using Mule Studio version: 1.3.1 .

buildDate: 201209061215

I am not able to get JPA end point. I also downloaded jpa-connector-1.0-20120925-2201.jar
But I dont know to to integrate with mule studio.

So I decided to use a simple Java transformer and write my processing logic which will be internally using JPA/Hibernate.

I came to know that i have to use a JPA vendor adapter for spring, else none of my service, DAO classes will be instantiated.

I have declared a datasource and entityManager as beans of spring inside mule flow xml as shown.

<spring:bean id="dataSource"
            class="org.springframework.jdbc.datasource.DriverManagerDataSource">
                <spring:property name="driverClassName" value="com.mysql.jdbc.Driver" />
                <spring:property name="url" value="jdbc:mysql://localhost:3306/eigDB" />
                <spring:property name="username" value="root" />
                <spring:property name="password" value="tiger" />
        </spring:bean>

        <spring:bean id="entityManagerFactory"
        class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
        <spring:property name="dataSource" ref="dataSource" />
        <spring:property name="persistenceUnitName" value="autoRebateSystem" />
        <spring:property name="jpaVendorAdapter">
            <spring:bean
                class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
                <spring:property name="databasePlatform" value="org.hibernate.dialect.Oracle10gDialect" />
                <spring:property name="showSql" value="true" />
            </spring:bean>

But mule flow xml is not able to recognize any class of spring framework.
Finding very difficult to replace those class names.

Plez provide the solution for my problem,
By letting me know the PROPER replacements for mule studio.

1) org.springframework.jdbc.datasource.DriverManagerDataSource
2) org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
3) org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:19:26+00:00Added an answer on June 13, 2026 at 2:19 am

    Are you missing to use HibernateJpaDialect and JpaTransactionManager;
    I hope the following configuration will be useful.

    <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="url" value="jdbc:mysql://localhost:3306/yourdatabase"/>
        <property name="username" value="your- username"/>
        <property name="password" value="your- password"/>
    </bean>
    
    <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
        <property name="entityManagerFactory" ref="entityManagerFactory"/>
    </bean>
    
    
    <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
    <!--<property name="dataSource" ref="dataSource"/>-->
        <property name="persistenceUnitName" value="<your-persistunit-name>"/>
        <property name="jpaVendorAdapter" ref="jpaVendorAdapter"/>
        <property name="jpaDialect">
            <bean class="org.springframework.orm.jpa.vendor.HibernateJpaDialect/>
        </property>
        <property name="loadTimeWeaver">
            <bean class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver">
            </bean>
        </property>
    </bean>
    
    <bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
        <property name="databasePlatform" value="org.eclipse.persistence.platform.database.MySQLPlatform"/>
    <!--        <property name="databasePlatform" value="org.eclipse.persistence.platform.database.OraclePlatform" />-->
        <property name="generateDdl" value="false"/>
        <property name="showSql" value="false"/>
    </bean>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the Redis info command, I am able to get all the stats of
I have tried to use the lastest version of magento connector on mule 3.2.
I am using mule studio, and I am trying out examples on it. When
I'm trying to pass a List to Postgresql using Mule ESB. A simplfied version
Using Mule 3.2.1, I want to pass a Mule Message or Mule Event to
We're securing Mule services using the Spring Security Framework, and some of the services
How can I pass parameters to external webservice via mule flow using CFX?
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
I am exposing a CXF service using Mule ESB and i need to pass
How does RabbitMQ compare to Mule, I am going to build an application using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.