When I check hibernate statistics service in jconsole for my Spring MVC application I only have statistics for one entity that implements UserDetails and when I run queries for other entities nothing...
Type: Posts; User: oldtenen; Keyword(s):
When I check hibernate statistics service in jconsole for my Spring MVC application I only have statistics for one entity that implements UserDetails and when I run queries for other entities nothing...
I solved the problem
In case anyone needs this, create package for example com.company.images and put your images there.
Then get your image with
URL imageUrl =...
Yes, I'm using iText for PDF and that part is fine.
My image is in folder webapp/resources/img/logo.png of my MVC application.
I could use absolute url like you suggested but I want to use...
Hello,
I have Spring MVC application and I'm creating PDF view which I did successfully.
Now I want to add picture to my PDF view and from one of my class I tried
Image...
I tried to use Atomikos but I'm having problems to make it work.
Can you propose any other solution with Spring and Tomcat?
Link to some example would be very usefull.
Thanks in advance.
My app is running on tomcat 6.0.
Should I use Atomikos to get JTA support?
Hello,
I have 2 database and want to do update on both or none at all.
I tried using transactions but my code throws
java.lang.IllegalStateException: Cannot deactivate transaction...
Thanks Marten
I changed
Business bc = context.getBean(BusinessImpl.class);
to
Hi,
I'm trying to add simple aspect but have problem when using @Service and component scan instead of defining bean in xml.
I get
...