On Nov 20, 2007 2:21 AM, David Blevins <[EMAIL PROTECTED]> wrote:

> We don't have any JPA examples yet.  Dario has some in his blog though:

Hi,

So what's persistence.xml for in ejb-examples? There's
<class>org.apache.openejb.examples.servlet.JpaBean</class> and the
class looks as @Entity:

@Entity
public class JpaBean {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private int id;

What examples would you think of?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to