About new

91-100 of 200Refresh
Manual
7

Literals in JPQL and Criteria Queries

.literal("JPA"); // Date and Time literals: Expression today = cb.literal(new java.sql.Date()); Expression time = cb.literal(new java.sql.Time()); Expression now = cb.literal(new java.sql.Timestamp()); // Enum literal: Expression
Manual
7

Auto Generated Values

a primary key for every new entity object. These generated values are unique at the database level ... also generates an automatic value during commit for every new entity object. The difference is that a separate ... and IDENTITY, the SEQUENCE strategy generates an automatic value as soon as a new entity object
Manual
7

JPA Persistable Types

, date2 and date3 above may be initialized as new Date(), i.e. with both date and time. Their time ... an exiting database. New enum fields can be added safely only at the end (with new higher ordinal
Tutorial
7

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java Web > Web Application and click Next. Choose a Project Name (e.g. Guestbook) and click Next. Select GlassFish Server 3 (or above) and Java EE
Tutorial
7

Step 6: Set the Spring XML

). Use copy and paste to replace the default content of the web.xml file with the following new ... node in the [Projects] window, select New > Other... and then choose the XML category, XML Document ... of the spring-servlet.xml file with the following new content:
JDO Doc
6

javax.jdo.spi.StateManager

- the field number currentValue - the current value of the field Returns: the new value for the field ... instance field - the field number currentValue - the current value of the field Returns: the new ... Returns: the new value for the field Since: JDO 1.0 double getDoubleField( PersistenceCapable pc, int
Tutorial
5

Step 7: Run the Spring Web App

and clicking Finish. To install a new server check the Manually define a new server radio button (after Run As
Manual
5

Setting and Tuning of JPA Queries

= new HashMap();   properties.put("javax.persistence.query.timeout", 4000);   EntityManagerFactory emf ... the createEntityManager method:   Map properties = new HashMap();   properties
Manual
5

Online Backup

of the ObjectDB home directory on the server side). A new subdirectory with a name that reflects the current ... ");     backupQuery.setParameter("target", new java.io.File("c:\\backup"));     backupQuery.getSingleResult
Manual
5

Database Server

.Server -conf my_objectdb.conf start The TPC/IP port on which the server listens for new connections ... . Therefore, you may need a new command window for the stop and restart commands. The –conf and –port options