Questions tagged [mule-module-jpa]

Mule Module support for the Java Persistence API

Source at mulesoft

Configuration

To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:

http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/jpa http://www.mulesoft.org/schema/mule/jpa/current/mule-jpa.xsd">

  <!-- here goes your flows and configuration elements -->

This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.

Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.

Attributes Type Name Default Value Description xs:string name Optional. Give a name to this configuration so it can be later referenced. entityManagerFactory Reference to an EntityManagerFactory

30 questions
4
votes
6 answers

How to read parameter in mule esb

I am sending some parameter to mule which is listening through http inbound in 8081 I am sending. http://localhost:8081/hey?age=manoj But I don't know How can I take this as from message?? I know I can access it from message and payload but when I…
Manoj Singh
  • 1,329
  • 2
  • 13
  • 24
3
votes
7 answers

What is the difference between MULE Studio and MULE ESB?

I am new in mule soft. i dont know what is the difference between mule studio and mule esb. both software are looking same only. mule studio is graphical representation as well as we can generate by code also. how can i differentiate both. what is…
user3129532
  • 69
  • 3
  • 9
2
votes
2 answers

Insert parameterized query

I want to perform insert operation on a list of objects. My insert query looks like below insert into table name (#[flowVars['columnNames']]) values (#[flowVars['values']]) #[flowVars['columnNames'] contains the comma separated columnNames like…
user94538
  • 177
  • 5
  • 24
2
votes
2 answers

Log File Not Found - Mule Server Installation

I am installing Mule Server (Version 3.6.1) on Windows Server R2. I have already set the JAVA_HOME to proper location. On running startup.bat, it encounter following error: File not found - MULE-ENTERPRISE-3.6.1\LOGS\MULE_EE.LOG Any help? Update…
Hali
  • 591
  • 2
  • 5
  • 20
2
votes
3 answers

Connecting MS SQL Server with mule

I am working in a mule application and I am new in mule application development. In my application, how can I connect to MS Sql server. I have tried Database connector but it is not having Connection configuration for SQL Server. Thanks.
Hali
  • 591
  • 2
  • 5
  • 20
2
votes
2 answers

MULE ESB: Saving result from Sql query in Session Variable

I have created a sample mule application that fetches one row from my database. It fetches USER_NAME and USER_ID from the Database. when I convert the result to JSON or XML I get the output as [{"USER_ID":"U001","USER_NAME":"Dharmin"}] Now i want…
1
vote
2 answers

get value from request header in http call -mule

I am developing a mule application. My start point is http. I need to authenticate my http calls using an authentication token which I am sending as request header. Now, How do I get this request header value in my Mule application?
1
vote
3 answers

Convert XML to JSON using Mule Custom Transformer

Hi I am working with Mule Studio and I want to create a Custom Transformer which will convert XML to Json using Google Gson Library. So in this case i have to add a Java Transformer component and i have to write a custom code for that. But the…
Utsav
  • 1,593
  • 4
  • 22
  • 46
1
vote
2 answers

Mule JPA persist is not inserting or updating

I am using Mule JPA module for retrieving and insert/updating data. I can able retrieve data but not able to update the DB. Its giving no errors and as per the log it seems that the record got updated. But :( If I check DB no recorded is getting…
Namus G
  • 25
  • 10
1
vote
3 answers

Is there any API available to deploy an application on mule management console(MMC) cluster

I am trying to write scripts(using java) to deploy my mule application on top of the cluster. So that, application get deployed on the Mule ESB servers under cluster. Already I have written a code to deploy my mule application on Mule ESB server…
Kalyan
  • 99
  • 1
  • 16
1
vote
2 answers

how to use value of #[server.dateTime.weekOfYear] in mule-app.properties or configuration xml

I am downloading files from FTP. I am able to download files with defined patterns or defined name and pass then process these files in Java. Problem I am facing is that I need to download a new file every week. The file name is like…
Rizwan Sohaib
  • 1,240
  • 17
  • 27
1
vote
3 answers

Usage of mule-module-jpa 1.2.0 with Hibernate in 3.4.0 CE. How to define EntityManager?

Could anyone point me to a working example of the mule-module-jpa suitable for Mule 3.4 CE? I have looked high and low and spent the better part of a day trying to get a test running and am stuck trying to get a properly defined entityManagerFactory…
mmeyer
  • 3,598
  • 1
  • 19
  • 22
0
votes
1 answer

Mule 3.8 application showing multiple NoSuchBeanDefinitionException during mule server starting

I Upgraded my project from Mule 2.2 to Mule 3.8,Project is working fine,But during starting of Mule Server i am getting "Several exceptions in logs when logging level is DEBUG". [WrapperListener_start_runner] SpringRegistry - No bean named…
0
votes
1 answer

conversion failed when converting date and/or time from character string in mule batch commit

I am executing merge statement for inserting/updating a column of datetime data type in sql server. payload.date looks like 2014-02-03 00:00:00.000 Batch fails with the error 'conversion failed when converting date and/or time from character…
user94538
  • 177
  • 5
  • 24
0
votes
1 answer

How can i find the mule configuration file name in the flow

I want to print the mule configuration file name, in the logger in the flow, how can I get it? Suppose the configuration file name in test.xml, inside that a flow is having logger, which prints test.xml, how can I get this? flow…
Prasad
  • 33
  • 3
  • 11
1
2