About point

1-10 of 200Refresh
Manual
43

CRUD Database Operations with JPA [2011-02-11]

code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int i = 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em ... ) require an active transaction. In the example above, every Point object is first constructed as
Manual
43

CRUD Database Operations with JPA

code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int i = 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em ... ) require an active transaction. In the example above, every Point object is first constructed as
Tutorial
36

Step 3: Add a Main Class [2011-02-11]

In this step we will add a main class to the project with code that will store Point objects in ... = Persistence.createEntityManagerFactory("$objectdb/db/points.odb"); EntityManager em = emf.createEntityManager(); // Store 1000 Point objects in the database: em
Tutorial
36

Step 3: Add a Main Class [2018-10-20]

In this step we will add a main class to the project with code that will store Point objects in ... = Persistence.createEntityManagerFactory("$objectdb/db/points.odb"); EntityManager em = emf.createEntityManager(); // Store 1000 Point objects in the database: em
Tutorial
36

Step 3: Add a Main Class [2011-02-11]

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... ("$objectdb/db/points.odb"); EntityManager em = emf.createEntityManager(); // Store 1000 Point objects in the database: em.getTransaction().begin(); for (int i = 0; i
Tutorial
35

Step 3: Add a Main Class

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... Point objects in the database: em.getTransaction().begin(); for (int i = 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em
Manual
31

Defining a JPA Entity Class [2011-02-11]

To be able to store Point objects in the database using JPA we need to define an entity class ... to serializable classes, which are marked as having the ability to be serialized. The Point Entity Class The following Point class, which represents points in the plane, is marked as an entity class
Tutorial
31

Step 3: Add a Main Class

"); EntityManager em = emf.createEntityManager(); // Store 1000 Point objects in the database: em.getTransaction().begin(); for (int i = 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em.getTransaction().commit
Manual
31

Defining a JPA Entity Class [2018-10-20]

To be able to store Point objects in the database using JPA we need to define an entity class ... to serializable classes, which are marked as having the ability to be serialized. The Point Entity Class The following Point class, which represents points in the plane, is marked as an entity class
Manual
30

Defining a JPA Entity Class [2019-01-29]

To be able to store Point objects in the database using JPA we need to define an entity class ... to serializable classes, which are marked as having the ability to be serialized. The Point Entity Class The following Point class, which represents points in the plane, is marked as an entity class