hibernate 4.3.7 using javasssist new version and oracle weblogic older than that version for solve this problem will add this configuration to weblogic.xml<wls:container-descriptor> <wls:prefer-application-packages> <wls:package-name>javassist</wls:package-name> </wls:prefer-application-packages> </wls:container-descriptor>
@Autowired and static method
@Componentpublic class Boo { private static Foo foo; @Autowired public Boo(Foo foo) { Boo.foo = foo; } public static void randomMethod() { foo.doStuff(); }}@Componentpublic class Boo { private static Foo foo; @Autowired private Foo tFoo; @PostConstruct public void init() { Boo.foo = tFoo; } public static void randomMethod() { foo.doStuff(); ...
[Read More]
To see the number of process for a user run this
To see the number of process for a user run this (replacing [user] with the username):
ps -eLF -u[user] | wc -l
install maven in mac os
brew install maven
YAML
YAML is a superset of JSON, and as such is a very convenient format for specifying hierarchical configuration data
traditional