generate « Component « JPA Q&A





1. components and generated finder methods    forum.hibernate.org

public static List findByVersionNumber(Integer major) throws HibernateException { Session session = HibernateSessionFilter.getSession(); List finds = session.find("from nl.....VersionNumber as versionNumber where versionNumber.major=?", major, Hibernate.INTEGER); return finds; } public static List findByVersionNumber(Integer minor) throws HibernateException { Session session = HibernateSessionFilter.getSession(); List finds = ...

2. Preventing component class from being generated    forum.hibernate.org

...

3. Using Component in order by generates an unexpected token    forum.hibernate.org

..... ..... ...