Home » Search

About example

21-30 of 200Refresh
Forum
26

Guestbook example from tutorial does not work.

example. If i place the object-jee.jar to th /Web-inf/lib directory it works. Another alternative ... TomEE. The tutorial and Maven examples have been updated and tested successfully with TomEE 1.7.2 and ObjectDB 2.6.2_02. fjubuu
Forum
26

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans". When I try to run the example and add an entry in the guestbook, it throws this exception: com.objectdb.o._PersistenceException: Attempt to obtain a connection from
Manual
25

Schema Update

abilities:
Forum
25

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1
Forum
25

Groovy JPA example

Groovy JPA example
Manual
24

SELECT clause (JPQL / Criteria API)

The ability to retrieve managed entity objects is a major advantage of JPQL. For example ... Expressions JPQL queries can also return results which are not entity objects. For example ... are also supported. For example, the following query retrieves the name of the capital city
Manual
22

Strings in JPQL and Criteria Queries

literal). For example: c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE for 'Denmark' c.name LIKE ... , which is also specified. For example: '100%' LIKE '%\%' ESCAPE '\' is evaluated to TRUE. '100' LIKE ... the argument string as an int. For example: LENGTH('United States') is evaluated to 13. LENGTH
Manual
21

FROM clause (JPQL / Criteria API)

at the WHERE clause level by using a type expression. For example, in the following query, c iterates ... name annotation element. Multiple range variables are allowed. For example, the following query ... is avoided. The above query, for example, can be executed as follows. An outer loop iterates with c1
Manual
19

Literals in JPQL and Criteria Queries

. Following are examples of valid numeric literals in JPQL: int: 2010, -127, 0, 07777 long: 2010L, -127L ... 'yyyy-mm-dd'} - for example: {d '2010-12-31'} Time - {t 'hh:mm:ss'} - for example: {t '23:59:59'} Timestamp - {ts 'yyyy-mm-dd hh:mm:ss'} - for example: {ts '2011-01-03 13:59:59'} Enum Literals JPA 2
Manual
18

Retrieving JPA Entity Objects

the referenced object is already managed by the EntityManager). In the example above, when an Employee instance ... cascading retrieval for the field. In the above example, when an Employee instance is retrieved ... interaction with the database and makes database programming easier. For example, after retrieving