It works now
Type: Posts; User: jackyliuq; Keyword(s):
It works now
if I want to access the current session in my hibernate interceptor , what shall I do?
it's spring 1.2.1 + Hibernate 3.05
When I setup a hibernate interceptor for session factory in spring configuration, How can I get session from session factory in my interceptor?
That's what I want, it's pattern for security, so I want to use "&" in Spring Context.
There's a attribute in my class called
I want to config it in Spring application context as below:
<bean id="..." class="...">
<property name="pattern"><value>( A & B ) |...
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,
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
you can use like that:
<entry key-ref="myKeyBean" value-ref="myValueBean"/>
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?
I want do like that:
When I try like :
parameter is String
then user URLDecoder.decode(url);
When I set up value like below:
It doesn't work, only get...