Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    1,130

    Thanks! It works now

    Thanks!

    It works now
  2. Replies
    12
    Views
    2,760

    if I want to access the current session in my...

    if I want to access the current session in my hibernate interceptor , what shall I do?
  3. Replies
    4
    Views
    1,130

    it's spring 1.2.1 + Hibernate 3.05

    it's spring 1.2.1 + Hibernate 3.05
  4. Replies
    4
    Views
    1,130

    hibernate interceptor

    When I setup a hibernate interceptor for session factory in spring configuration, How can I get session from session factory in my interceptor?

    Thks
  5. Replies
    5
    Views
    1,149

    Thanks, guys! That's what I want, it's pattern...

    Thanks, guys!

    That's what I want, it's pattern for security, so I want to use "&" in Spring Context.
  6. Replies
    5
    Views
    1,149

    simple question of property setter

    There's a attribute in my class called
    String pattern;

    I want to config it in Spring application context as below:

    <bean id="..." class="...">
    <property name="pattern"><value>( A & B ) |...
  7. Replies
    1
    Views
    1,248

    there should not "/" at the begining of your...

    there should not "/" at the begining of your filepath, and question is make sure plugin/framework/artware/framework/model/component/Action.hbm.xml

    is under classpath of your project,
  8. Replies
    3
    Views
    1,164

    You'd better use the callback method of hibernate...

    You'd better use the callback method of hibernate in spring, and initalize all stuffs in the method, as after you invoke getHibernateTemplate(), the session will be closed
  9. Replies
    2
    Views
    1,020

    you can use like that:

    you can use like that:

    <entry>
    <key><ref bean="myKeyBean"/></key>
    <ref bean="myValueBean"/>
    </entry>
    or shortcut

    <entry key-ref="myKeyBean" value-ref="myValueBean"/>
  10. Thank you , guys

    I want to get a Class actually, I use .Net guy's way to do it,

    Alarmnummer, your way is to use a inner class in map to get the instance of Demo, right?
  11. How can I setup a Class as value in Map in Spring

    I want do like that:

    package ca.gov;
    Class Demo{};

    .....

    <property name="dynamicClass">
    <map>
    <entry key="demo">
  12. Replies
    2
    Views
    1,084

    still doesn't work

    When I try like :
    parameter is String
    ........
    <constructor-arg>
    <value>invoiceListAction?method=%22list%22</value>
    </constructor-arg>
    ........

    then user URLDecoder.decode(url);
    It works...
  13. Replies
    2
    Views
    1,084

    simple question about use quote in value

    When I set up value like below:

    .............
    <constructor-arg>
    <value>invoiceListAction?method=&quot;list&quot;</value>
    </constructor-arg>
    ...............

    It doesn't work, only get...
Results 1 to 13 of 13