openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chintan4181 <>
Subject Re: may be OpenJPA limitation
Date Thu, 09 Jun 2011 18:39:19 GMT
Here is code snippet

public class User implements Serializable {
	private static final long serialVersionUID = 1L;

	private long userId;

	private String auditLdapDn;

	private Timestamp auditTimestamp;

	private String auditUser;

in my DAO class i am using below code"before find");
			Long key = new Long("2");
			User user = em2.find(User.class, key);"user last name " + user.getLastName());

persistent.xml has following entry
<persistence-unit name="MIApplicationJPADB2" transaction-type="JTA">
		<description>MIApplication Datasource DB2</description>
			<property name="openjpa.Log" value="SQL=TRACE,JDBC=TRACE" />

Let me know this much information is fine.


View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message