2013/3/27 Markus Demetz :
> I think I've found the problem.
> I had javassist 3.17.1 (latest) in my project but hibernate 4.2 ships with
> version 3.15.0
> Now it seems to work!
Yeah... this version is buggy :P I have tried update Ognl 3 to it but
no luck ;-)
Regards
--
Łukasz
+ 48 606 323 122
Hi,
I think I've found the problem.
I had javassist 3.17.1 (latest) in my project but hibernate 4.2 ships
with version 3.15.0
Now it seems to work!
Thank you, and sorry for misplacing my question here!
Regards,
Markus
Am 27.03.2013 17:23, schrieb Steve Higham:
On 27/03/2013 10:42, Markus
On 27/03/2013 10:42, Markus Demetz wrote:
Hi,
I have situations, where the getId() method of my model class returns
null
when navigating through OGNL e.g. when
calling .
Have you tried or
No luck :-(
I also tried with JSTL now without success.
It's very strange, since sometimes it works
Hi,
I have situations, where the getId() method of my model class returns null
when navigating through OGNL e.g. when
calling .
Have you tried or
No luck :-(
I also tried with JSTL now without success.
It's very strange, since sometimes it works and then it reappears again.
I'll ask at the
2013/3/26 Markus Demetz :
> Hi,
>
> I don't know if this is the right place to ask, but maybe there is anyone
> who has experienced the same problem.
>
> I'm using Struts2 (latest version), with Hibernate (latest version)
> My database models all have getId().
>
> I have situations, where the getId
Hi,
I don't know if this is the right place to ask, but maybe there is
anyone who has experienced the same problem.
I'm using Struts2 (latest version), with Hibernate (latest version)
My database models all have getId().
I have situations, where the getId() method of my model class returns
n
hi,
thanks for your reply but this didn't seem like solve my problem entirely as
PreparableInterceptor gets called before ParameterInterceptor. The upshot
is that i didn't have an access to my parameters which drive prepare method.
Nevertheless i found that probably the easiest solution here is t
Hi Greg,
the thing about ModelDriven is that the model object gets pushed on the
value stack _before_ your action method is executed. To initialize the
model object before the ModelDrivenInterceptor comes into play, just
implement Preparable and do your initialization in prepare() (as Lukasz
alrea
hi,
the scenario is as follow:1
1. class EditMyBeanAction implements Model...
2. url mapping calls edit method on the EditMyBeanAction
3. the result should be that once edit method returns (it loads MyBean
object from the database) MyBean should be displayed on the jsp
the problem is that it seem
2010/6/29 Greg Stasica :
> 2. get the MyBean object in getModel() method but i don't think this method
> should do any dao/business operations
You can always use Preparable interface
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
hi,
the scenario is as follow:1
1. class EditMyBeanAction implements Model...
2. url mapping calls edit method on the EditMyBeanAction
3. the result should be that once edit method returns (it loads MyBean
object from the database) MyBean should be displayed on the jsp
the problem is that it seem
-And-Hibernate-Problem-tp18121609p18140542.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Are you using spring to instantiate your actions? If so, did you setup
to not use singletons?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
are new objects each time ([EMAIL PROTECTED]).
I hope this sheds some light on what can be going wrong because I can still
not find the solution.
Thank you all.
--
View this message in context:
http://www.nabble.com/Struts-2-And-Hibernate-Problem-tp18121609p18139584.html
Sent from the Struts
t to null first then changed it, the values would
change, not sure if that makes much sense.
If anyone has an idea on what can be causing this I would greatly appretiate
your help.
--
View this message in context:
http://www.nabble.com/Struts-2-And-Hibernate-Problem-tp18121609p18121609.html
Sent fr
Working on: Fedora Core2, Sun jdk 1.5, Tomcat 5.5.7, Hibernate 2.1.6, AS/400-DB2
Take a look at the following two Queries:
#Hibernate generated query with Session.createQuery on SYS_CAT table:
select * from (
select rownumber() over() as row_, syscat0_.SYS_CAT_ID as SYS_CAT_ID
from SYS_CAT syscat
I changed the dialect to DB2400 from DB2, and it solved the problem.
On Thu, 24 Mar 2005 13:36:50 -0600, sudip shrestha <[EMAIL PROTECTED]> wrote:
> Working on: Fedora Core2, Sun jdk 1.5, Tomcat 5.5.7, Hibernate 2.1.6,
> AS/400-DB2
> Take a look at the following two Queries:
> #Hibernate generat
17 matches
Mail list logo