Embedded Glassfish 4 & Maven & WELD-001524

I recently ran across a problem with the Embedded Glassfish 4 maven problem.. as soon as I tried to activate any CDI specific stuff, I got the following exception: Sep 08, 2013 11:05:37 PM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while loading the app : CDI deployment failure:WELD-001524 Unable to load proxy class for bean Implicit Bean […]

Split a collection into subcollections of a specific size

If you run into the error “ORA-01795 maximum number of expressions in a list is 1000”, you’ll probably created a query that has to many elements in the IN-clause. To fix it, use the provided helper class to issue multiple queries with less than 1000 elements.

Presenting: Avaje Ebean – An alternative approach to Java Persistence

Recently I hold a presentation about Avaje Ebean on my local Java User Group – The Java Student User Group. Ebean is a alternative to the established Java Persistence API (JPA) implementations like Hibernate, EclipseLink etc. It uses the JPA Annotations like @Table @Entity @OneToOne @OneToMany @ManyToOne @ManyToMany @Column @Enumerated @Temporal etc. to map your […]