I've been trying to connect my report using Spring report loaded hibernate nevertheless it has been imposible alway get
Error: cannot Open connection
nothing more...anyone has been...
Type: Posts; User: necronet; Keyword(s):
I've been trying to connect my report using Spring report loaded hibernate nevertheless it has been imposible alway get
Error: cannot Open connection
nothing more...anyone has been...
Hi i am working with Spring 2.5 + Hibernate + IceFaces (but i dont really think the last one comes to be relevant in this post).
So my project just run perfect in GlassFish V2 the problem is that...
ha found my answer here
http://forum.springsource.org/newreply.php?do=newreply&noquote=1&p=274877
but i did not quite understand the reason does hibernate managed its own SessionContext
i've been trying to get this done to get Spring to manage my transaction but i keep getting this as a stacktrace
Hibernate: select this_.id_Grupo as id1_6_1_, this_.grupo as grupo6_1_,...
i apreciate it then thank you
Well it work i just have one question why i couldnt do it with my bean on faces-config.xml isnt wrong to create two beans with the same name???
Spring context
<bean id="testBean"...
i just create this .WAR with the source inside so you can run it easier. It's much simpler cuz i did not added the Facelet Libreries.
WAR link
PD. i really aprecciate your effort!!
By the way i am using Glassfish V2
i am not that into maven i try to make the sample but i honestly did not get the whole maven idea!!!...... i'm stuck with my own i use:
IceFace core
IceFace support
IceFace Facelest support...
This is a little sample of what i want to do but i haven't being able to get it work
i attached the src and web.
I Tried that but still the same problem. BTW i logged directly on a method from a class in ui.support.* and log pretty fine but i cannot get it done with AOP.
Another small detail i am using...
you are commiting your transaction right...? don't you get any error from your server log that is wear.
Instead of create table try update
<prop key="hibernate.hbm2ddl.auto">update</prop>...
I have try to log with AOP but nothing seems to work it's like no logging want to appear i've tried from System.out.println to the INFO logger nothign!!!
<?xml version="1.0" encoding="UTF-8"?>...
can you post your hibernate.cfg.xml have you try a unit test for that simple code should no be hard?? and please your RoleDaoSpring maybe there is your error