About SELECT

31-40 of 200Refresh
Tutorial
17

Java EE 6 JPA Tutorial - IntelliJ Project [2011-02-05]

IDEA: Select File > Open Project.... Select the guestbook-jee6 directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: Select Run > Edit Configurations, click
Tutorial
17

Java EE 6 JPA Tutorial - IntelliJ Project

IDEA: Select File > Open Project.... Select the guestbook-jee6 directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: Select Run > Edit Configurations, click
Tutorial
17

Spring MVC JPA Tutorial - IntelliJ Project [2011-02-06]

: Spring MVC JPA - Maven Project (7KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings ... ). Define Run Configuration: Select Run > Edit Configurations, click the + icon and select Tomcat
Tutorial
17

Spring MVC JPA Tutorial - IntelliJ Project

: Spring MVC JPA - Maven Project (7KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings ... ). Define Run Configuration: Select Run > Edit Configurations, click the + icon and select Tomcat
Tutorial
17

JPA Web App Tutorial - IntelliJ Project [2011-04-29]

: Select File > Open Project.... Select the guestbook-web directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: Select Run > Edit Configurations, click the + icon
Tutorial
17

JPA Web App Tutorial - IntelliJ Project

: Select File > Open Project.... Select the guestbook-web directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: Select Run > Edit Configurations, click the + icon
Forum
17

A nested SELECT

Hello. I have a query UPDATE Look l SET l.partlySold = FALSE WHERE (SELECT count(a) FROM l.things a WHERE a.thing.status != :status) <= 1 which doesn't work: "Unexpected query token 'SELECT'". Does ObjectDB support queries like this? Thanks. Nested queries (issue #11) is currently not supported
Forum
17

Conditional Selection

so when I use... SELECT firstName + " " + middleName + " " + lastName FROM Employee     ORDER BY ... an additional field. e.g. displayName. Use a method in the SELECT clause. It could be a static method
Forum
17

Selecting random rows

Hello is there way to get random rows? Functions like rand(), random(), newid() doesn't work ;/ for example: em.createQuery("SELECT s FROM StawkaVat s ORDER BY rand()").setMaxResults(5).getResultList(); gives exception: Exception in thread "AWT-EventQueue-0" [ObjectDB 2.5.6_02] SELECT s FROM
Issue
17

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence