@spiff
setting the type attribute to java.lang.String in the constructor-arg element helps solving the problem:
<bean id="businessBeanFactory"
...
Type: Posts; User: n2000; Keyword(s):
@spiff
setting the type attribute to java.lang.String in the constructor-arg element helps solving the problem:
<bean id="businessBeanFactory"
...
Replace your bean "MyDataSource" of spring conf with this bean:
<bean id="serverDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" ...
In my application i use Hibernate and Spring declarative transaction management. When i activate transactions Hibernate uses cglib which causes LazyInitializationException when i access simple...
I tried both ways to disabled cglib in hibernate:
I used the VM parameter:
-Dhibernate.bytecode.use_reflection_optimizer=false
-Dhibernate.cglib.use_reflection_optimizer=false
I also...
See posting ASM version incompatibilities, using Spring @Autowired with Hibernate related to this thread.
If you use maven add this to your pom.xml:
<dependency>
...
See posting ASM version incompatibilities, using Spring @Autowired with Hibernate related to this thread.
If you use maven add this to your pom.xml:
<dependency>
...