About JBoss AS

91-100 of 200Refresh
Manual
3

CRUD Database Operations with JPA

.getTransaction().commit(); Operations that modify the content of the database (such as storing new objects) require an active transaction. In the example above, every Point object is first constructed as an ordinary Java object. It then becomes associated with an EntityManager and with its transaction (as
Tutorial
3

Step 2: Entity Class and Persistence Unit

as Folder Name and click Finish. Open the [New Java Class] dialog box, e.g. by right clicking the new source directory node (in the [Package Explorer] window) and selecting New > Class. Enter guest as the package name - use exactly that case sensitive package name. Enter Guest as the class name
Manual
3

Comparison in JPQL and Criteria API

ObjectDB supports two sets of comparison operators, as shown in the following table:   Set 1 - JPQL ... and expressions that include an unknown value are evaluated as unknown, i.e. to NULL. IS [NOT] NULL ... the same content. ObjectDB supports comparison of any two values that belong to the same group as
Manual
3

JPA Primary Key

key cannot be modified. It represents the entity object as long as it exists in the database. As ... of other persistable types are always stored as part of their containing entity objects and do not ... automatically : } The @Id annotation marks a field as a primary key field. When a primary key field
Manual
3

Entity Management Settings

the persistence context of the EntityManager (which serves as a first level cache). The valid values are "weak ... ") specifies if lazy loading of entity objects content is enabled. Instantiating entity objects as hollow ... is "true" or "false") specifies if serialization should be used as a fallback persisting method
Manual
3

JPA Query Structure (JPQL / Criteria)

rather than just field values from database tables, as with SQL. That makes JPQL more object oriented friendly and easier to use in Java. JPQL Query Structure As with SQL, a JPQL SELECT query also consists ... elements such as names of entity classes and persistent fields, which are case sensitive. In
Manual
3

Auto Generated Values

this annotation for non-key numeric persistent fields as well. Several different value generation strategies can be used as explained below. The Auto Strategy ObjectDB maintains a special global ... for entity objects with no primary key fields defined (as explained in the previous section). The same
Tutorial
3

Step 2: Entity Class and Persistence Unit

) and selecting New > Class. Enter guest as the package name - use exactly that case sensitive package name. Enter Guest as the class name - use exactly that case sensitive class name. Click Finish ... and clicking Next). Select the project src folder as a parent folder, enter META-INF as a new folder
Issue
3

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack ... as owner project.addOwnedElement(model); Element example = new Element ... .java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at org.jboss.weld.ejb
Tutorial
3

Step 7: Run the Spring Web App

the content of the index.jsp file (which serves as the default front page) with the following redirection to the controller path: If Tomcat 6.0 is installed as ... the [Project Explorer] window), selecting Run As > Run on Server, selecting the Tomcat 6.0 server