question « Seam « JPA Q&A





1. General DB,Hibernate,JPA question - Stale permissions    seamframework.org

I've been thinking of scenarios that could be a possible problem for my app, and wondering if anyone has a solution. Here's the idea:1) On entering a page, some entity in the DB is consulted to make sure the user has the correct permission to view the page (and perform the operations on that page). Assume the user does have permission, ...

2. SEAM HQL Question    seamframework.org

package panda.entities; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence.Column; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; import javax.persistence.Transient; import javax.persistence.UniqueConstraint; import org.jboss.seam.annotations.Name; @Entity @DiscriminatorValue("customer") @Name("customer") public class Customer extends Person implements Serializable { /** * */ private static final long serialVersionUID = -22078731036388186L; private List invoices; private List customerTransactions; private String brandname; private String statusImage; public Customer() ...

3. Seam + JPA, couple questions...    seamframework.org