Object « MySQL « JPA Q&A





1. How to keep track of user changes to objects in a web application?    stackoverflow.com

I'm needing help to come up with a clever way of keeping track of user changes in a web application. Lets say we have this scenarion:

  1. User X logs in and updates a ...

2. Speeding up Hibernate Object creation?    stackoverflow.com

We use Hibernate as our ORM layer on top of a MySQL database. We have quite a few model objects, of which some are quite large (in terms of number of ...

3. Adding Objects To MySQL    forum.hibernate.org

Newbie Joined: Tue Aug 24, 2004 1:14 pm Posts: 14 Hibernate version: 2.1.6 Mapping documents:

4. Problem receiving Mediumblob object from mySql database    forum.hibernate.org

Hi I have a problem, receiving an Mediumblob object from mySql database. In my domain object: @Lob private byte[] file; In my stacktrace when I try to load an object through my dao object: java.lang.ExceptionInInitializerError at se.tripled.cms.util.HibernateUtil.(HibernateUtil.java:33) at se.tripled.cms.data.dao.FileDao.(FileDao.java:13) at se.tripled.cms.servlet.ImageServlet.doGet(ImageServlet.java:36) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) ...