richfaces « Seam « JPA Q&A





1. Cross field validation with Hibernate Validator (3.1.0.GA)    stackoverflow.com

How do we enforce cross field validation with hibernate validator 3.1.0.GA create table user (id, start_date, end_date, ...) e.g. college graduation finishing date for a student should be greater than the graduation start ...

2. Seam, RichFaces, Hibernate on JBOSS AS 5. Saves "" as ""    stackoverflow.com

Commonly known is that "" in the Oracle world is saved as null. But not in my config (hsql in development). "" is saved as "". How do I get the null ...

3. Seam + Hibernate + Richfaces pickList behaves badly    seamframework.org

@Entity public class MobilePhone extends TerminalDevice { ... @ManyToMany(mappedBy = "mobilePhones") private final List paymentAccounts = new ArrayList(); public final List getPaymentAccounts() { return Utils.createSortedList(paymentAccounts); } public final void setPaymentAccounts(final List paymentAccounts) { for (final PaymentAccount paymentAccount : new ArrayList(this.paymentAccounts)) { removePaymentAccount(paymentAccount); } for (final PaymentAccount paymentAccount : paymentAccounts) { addPaymentAccount(paymentAccount); } } public final void addPaymentAccount(final PaymentAccount account) { account.addMobilePhone(this); ...