Just a pointer : Try if this can help you.
1. Take all the transaction related properties and define a transaction mananager bean and then inject session factory to that transaction manager bean....
Type: Posts; User: prabodhs; Keyword(s):
Just a pointer : Try if this can help you.
1. Take all the transaction related properties and define a transaction mananager bean and then inject session factory to that transaction manager bean....
hi Jean,
Its jpaTranscationManager bean id you have defined above thats why I means....
Regards,
Prabodh
I believe for reading data base transactions are optional (I may be incorrect here). so it is working for read operations
But one thing looks incorrect here is
<bean id="jpaTransactionManager"...
I think no need for using spring classes for struts, better and simple way is in struts.properties file make sure you have 2 properties set properly
Hibernate.properties : ...
hi Jim,
I am not sure what tech. you are using for this "backend component", but you can use log table i.e. you can maintain the changes in log table so you can query log table when you whats to...
Hi Neil,
Even I am not Hibernate expert but I think I can provide you some pointers
I didnt like 2 things.
1. Why Port_call_id column is mapped against 2 properties.
2. You tried bidirectional...
Do you mean to say you wants to create sessionFactory(hibernate) dynamically ?
What do you mean by Spring session?
Hi Buddy,
I am not sure about other issues in the code you are developing, and this not a problem with Spring.
This is the technique in Hibernate, You can set default values by setting class...
I am not sure about your refreshing problem but one think looks incorrect to me is mapping, one side you have defined one-to-one mapping while other side you have defined one-to-many,
this style of...