Search:

Type: Posts; User: n2000; Keyword(s):

Search: Search took 0.02 seconds.

  1. @spiff setting the type attribute to...

    @spiff
    setting the type attribute to java.lang.String in the constructor-arg element helps solving the problem:



    <bean id="businessBeanFactory"
    ...
  2. Replies
    7
    Views
    73,385

    Replace your bean "MyDataSource" of spring conf...

    Replace your bean "MyDataSource" of spring conf with this bean:

    <bean id="serverDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" ...
  3. Replies
    0
    Views
    1,392

    Hibernate, transactions and cglib

    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...
  4. Replies
    3
    Views
    6,676

    I tried both ways to disabled cglib in hibernate:...

    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...
  5. Replies
    15
    Views
    41,047

    See posting ASM version incompatibilities, using...

    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>
    ...
  6. Replies
    13
    Views
    10,707

    See posting ASM version incompatibilities, using...

    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>
    ...
Results 1 to 6 of 6