Your error is caused by the fact you're using this.name. When hibernate generates a proxy subclass using CGlib it'll also shadow all the instance variables. Hence are always null. You equals method...
Type: Posts; User: beel; Keyword(s):
Your error is caused by the fact you're using this.name. When hibernate generates a proxy subclass using CGlib it'll also shadow all the instance variables. Hence are always null. You equals method...
Other option is to use Hibernate.initialize() to initialise the object, however, it requires the Hibernate session to still be active. If you run your test method with a transaction template +...
Hi,
You should probably be using:
http://www.springframework.org/docs/api/org/springframework/jdbc/datasource/DataSourceTransactionManager.html
set the data source on the transaction...
EJBs (non local ones) are always deployed as remote objects unless you're referring to local EJBs. Using a (local) EJB has it's trade offs in that you'll have to have your spring configs + EJB...
Nah, check out: org.springframework.jmx.access.MBeanProxyFactoryBean. The extra overhead is the reflection done by the MBean server to invoke the bean method. Spring then provides the necessary...
Forgot to mention that the mbean export was done using the spring mbean exporter classes.
Have done something similar already, with a class that instantiates a classpath application context. The spring config files were packaged up in the SAR. Any spring beans that needed to be accessed...
On the project I'm currently working on I deploy a JBoss HA-singleton to make it cluster singleton then use spring to register the required beans with the cluster's HA-JMX server. Access to the...