MappingTool-generated SQL for TIMESTAMP

2010-12-21 Thread Benjamin Renaud
I think I may have uncovered a bug in the way TIMESTAMP fields are generated by the MappingTool. I have a field @Entity public class MyEntity { @Column(name = "due_date") @Temporal(value = TemporalType.TIMESTAMP) private Date dueDate; In PostgresSQL, this generates a nullable TIMEST

Problem using OpenJPAEntityManager#createInstance

2008-11-12 Thread Benjamin Renaud
Hi everyone, I'm using 1.2.0, Glassfish (latest version), Java 6. I am experimenting with the createInstance feature of OpenJPA. Specifically, I wrote a stateless session bean (source code below) and ran into two problems: 1. the basic, simple case of simply calling TestPerstInterface i =