Hi Navdeep,
the transaction is defined if Exception is thrown from saveUser method, but in your code the catch only do a e.printStackTrace() and no exception is thrown by that method.
Adjust your...
Type: Posts; User: m_auro1; Keyword(s):
Hi Navdeep,
the transaction is defined if Exception is thrown from saveUser method, but in your code the catch only do a e.printStackTrace() and no exception is thrown by that method.
Adjust your...
Maybe this:
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name = "connectionInitSqls">
<list><value>PRAGMA foreign_keys = ON</value></list>
...
Can you try adding <property name="enforceForeignKeys" value="true"/> ?
I hope this work.
Thank you eradan.
Take a look at Spring Documentation at chapter 18.
It's very easy using portlet, more easiest with Spring :-)
I hope ... and I'm trying to make it
All suggestion is good
Hi maheshguruswamy,
now I have only 5 prefix to handle but they will be variable in number and value, so I like to put this "prefix -> new value" to a configuration file or table, because I think...
Hi to all,
I have to redirect the request with certain prefix arrived at my web app to another web server/application/servlet.
This, obviously, with data in request and showing the html page...
Thank you, it's is clear for me, I can present you the software architect we have :)
Thank you Marten for your reply.
I need EJB? EBJ is a requirement ...
I wrote also @Autowired to point out that a spring bean use an ejb that use a spring service
:) ... i need ejb ? :(
Hi,
is possible to use and declare an EJB 3.0 without annotation?
I like not to use @EJB @Remote @Local @Stateless @Autowire annotation.
I'm using Spring 2.5.6 on JBoss Portal 2.7.2, and I'd...
Hi Christian,
I'm not english native talking and I don't understand very well what irkanash wrote ...
but perhaps it is better :)
However, I have described my experience in an application...
Hello Christian,
I think the problem is that the difference between Render phase and Action phase of portlet isn't clear for you.
Maybe...
hi Christian,
in "my" portlet application, I have simple jsp with tiles integration in the view layer and it works fine.
What is your matter? Try to ask and we try to help :)
What is your...
Try to change your bean dataSource-metadata defintion as:
<bean id="dataSource-metadata" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName"...
Rename messages_en.properties in messages_en_US.properties.
Yes, I have read it, but in your configuration you have:
<value>com.myapp.deployment.service.DeploymentService.parse=PROPAGATION_REQUIRED
</value>
and the method parse in...
I can see that in your configuration of transactionAttributeSource of transactionInterceptor you have posted, is not specified what type of exception must be rolled back or commited.
<bean...
Your queries return the same resultset but the FROM and WHERE clause are a bit different:
Query 1.
"... from Person where name = ? ..."
and
Hi Olimpiu,
the problem is your Add button:
<input type="submit" value="add" onclick="this.form.submit();" />
It's already a submit button ! When you click the javascript...
Good, this is a trick not to forget.
Try to add in your dispatcher-servlet.xml, at viewResolver bean definition a contentType definition like this:
...
<property name="contentType" value="text/html; charset=UTF-8" />
...
Hi Khushwinder,
in your sqlMapConfig there is in settings section the property useStatementNamespaces="true"?
For example:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMapConfig...
What type of data are returning this method:
1. UUID.randomUUID()
2. marketOrderDataBO.getClOrderId()
3. marketOrderDataBO.getForeignOrderId() ?
In Database table I think...
What is the matter? An exception is thrown? or what?
Post some of code and describe what is happening.