ObjectDB Database Search

151-200 of 200 results

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/ web / WEB -INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy

Web Framework Recommendation for leveraging JPA + ObjectDB

like ObjectDB, for instance. Immediately the following question pops up: Which Web Framework supports ... + ObjectDB" couple successfully in conjunction with a contemporary Web Framework ? Any hints ... web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application

Compile time enhancement using build.xml of a Netbeans web application

of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single ... a Netbeans web application build.xml works for an entire build:         ... and does not execute the -post-compile-single Ant task in the usual Java web app build.xml. However, I

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web technologies: HTML, CSS, JS, JQuery. # Moving to Java Technologies:  Core Java, Servlet, Managed Beans

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

Problem to use find method on an abstract Class: AbstractMethodError is thrown

thread 1 -13) JBoss Web Services - Stack CXF Server 4.0.2.GA 08:17:22,563 INFO [org.apache.coyote ... :17:23,452 INFO [org.jboss. web ] (MSC service thread 1 -14) JBAS018210: Registering web context: /Guestbook 08:17:23,452 INFO [org.jboss. web ] (MSC service thread 1 -11) JBAS018210: Registering web context

Entity is not related to ObjectDB, but i get exception from ObjectDB

.jar:] at granat.dp. web .action.StartDialogAction.execute(StartDialogAction.java:97) [dp.transfer- 1 .0-SNAPSHOT.jar: 1 .0-SNAPSHOT] at granat.dp. web .action.AbstractEventAction.run(AbstractEventAction.java:90) [dp.transfer- 1 .0-SNAPSHOT.jar: 1 .0-SNAPSHOT] at granat.dp. web .action.StartAction.execute

Potential ObjectDB bug

.apache.shiro. web .servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro- web - 1 .2. 1 .jar: 1 .2. 1 ] at org.apache.shiro. web .servlet.AbstractShiroFilter$ 1 .call(AbstractShiroFilter.java:365) [shiro- web - 1 .2. 1 .jar: 1 .2. 1 ] at org.apache.shiro.subject.support.SubjectCallable.doCall

JBoss 7 startup fails

.deployment] (DeploymentScanner-threads - 1 ) Found Guestbook_ObjectDB_ web .war in deployment directory ... ] (MSC service thread 1 -3) Starting deployment of "Guestbook_ObjectDB_ web .war" 13:49:36,719 INFO [org.jboss.as.jpa] (MSC service thread 1 - 1 ) added javax.persistence.api dependency to Guestbook_ObjectDB_ web

Error reading UTF string

(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7. 1 . 1 .Final.jar:7. 1 . 1 .Final] at org.jboss.as. web .security ... .handleInCallerTx(CMTTxInterceptor.java:139) [jboss-as-ejb3-7. 1 . 1 .Final.jar:7. 1 . 1 .Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:204) [jboss-as-ejb3-7. 1 . 1 .Final.jar:7

Spring + Maven + persitence.xml

):   org.springframework. web .util.NestedServletException: Request processing failed; nested ... org.springframework. web .servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894) org.springframework. web .servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http

Pre-detach loading: retrieval by navigation not working in if statement

: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application, but the problem does not happen in the smaller web application (as I will demonstrate below), so there is no point making that available

jakarta.persistence.PersistenceConfiguration

of this PersistenceConfiguration class should use sharedCacheMode . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DATASOURCE An instance of javax.sql.DataSource . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DRIVER Fully qualified name of the JDBC driver class. Since: Jakarta Persistence (JPA) 1 .0 JDBC_PASSWORD Password for JDBC

jakarta.persistence.criteria.Subquery

Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning ... of the containing query Returns: subquery root. Since: Jakarta Persistence (JPA) 1 .0 Join correlate ( Join

jakarta.persistence.metamodel.IdentifiableType

Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... . Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return

jakarta.persistence.metamodel.MappedSuperclassType

. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section. support Support The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse Java EE 6 (J2EE) in NetBeans support Support

SELECT clause (JPQL / Criteria API)

(); for (Object[] result : results) { System.out.println( "Country: " + result[0] + ", Capital: " + result[ 1 ... ) { System.out.println( "Country: " + result[0] + ", Capital: " + result[ 1 ]); } CriteriaBuilder.tuple ... ("Country: " + t.get(0) + ", Capital: " + t.get( 1 )); } The Tuple interface defines several other methods

Auto Generated Values

. It takes a name, an initial value (default is 1 ), and an allocation size (default is 50). A sequence ... ="seq", initialValue = 1 , allocationSize =100) public class EntityWithSequenceId { // Use ... . This means that if you want sequence numbers to start with 1 when using the TABLE strategy, you must specify initialValue=0 in the @TableGenerator  annotation.

Server User List

to connect to the server only from the specified IP addresses. For example, "127.0.0. 1 " (the local computer ... of "192.18.0.0-192.18.194.255,127.0.0. 1 " allows connections from any IP address in the range 192.18.0.0 - 192.18.194.255 and from 127.0.0. 1 . The admin attribute, with a value of true or false , specifies

Database Explorer

a hash symbol ( # ), for example, Point# 1 . Specify a collection as a comma-separated list ... and primary key, separated by a hash symbol ( # ), for example, Point# 1 . Use Edit Set Reference Set to New ... the object by its type and primary key, separated by a hash symbol ( # ), for example, Point# 1 . Use Edit

jakarta.persistence.EntityManager

StoredProcedureQuery EntityManagerFactory Since: Jakarta Persistence (JPA) 1 .0 The JPA Connections and Transactions ... . Since: Jakarta Persistence (JPA) 1 .0 void close () Close an application-managed entity manager ... : IllegalStateException - if the entity manager is container-managed. Since: Jakarta Persistence (JPA) 1 .0 boolean

jakarta.persistence.metamodel.ManagedType

the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return the Collection-valued

jakarta.persistence.metamodel.EmbeddableType

is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name , Class ... of the given name and type is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.StoredProcedureQuery

method will return either the update count (zero or greater) or - 1 if there is no update count (i.e ... Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods boolean execute () Return true if the first ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 int

Minor typo on web page...

Minor typo on web page...

jakarta.persistence.criteria.CriteriaQuery

.. Since: Jakarta Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root ... to the given entity. Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add ... Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 List

Apache License, Version 2.0, January 2004

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1 . Definitions . "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright

Literals in JPQL and Criteria Queries

both Java and SQL syntax for numeric literals. Numeric suffixes (for example, 1 .5F ) are also supported ... . literal ( 1 ); Expression i2 = cb. literal (Integer.ValueOf(2)); Expression d = cb. literal (3.4

Query Parameters in JPA

= ? 1 ", Country.class); return query. setParameter ( 1 , name). getSingleResult (); } The format

JPA Shared (L2) Entity Cache

(MyEntity2.class, Long.valueOf( 1 ), Collections. singletonMap( "jakarta.persistence.cache.retrieveMode ... (MyEntity2.class, Long.valueOf( 1 ), Collections. singletonMap( "jakarta.persistence.cache.storeMode

Updating JPA Entities

, 1 ); em. getTransaction (). begin (); employee.setNickname("Joe the Plumber"); em. getTransaction ... when entity classes are enhanced: Employee employee = em. find (Employee.class, 1 ); em. getTransaction

jakarta.persistence.criteria.CriteriaBuilder.In

, TupleElement Interface used to build in predicates. Since: Jakarta Persistence (JPA) 1 .0 Public Instance ... : name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast

jakarta.persistence.EntityGraph

Persistence (JPA) 2. 1 Public Instance Methods AttributeNode addAttributeNode ( String attributeName ... . IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 ... ) 1 .0 Subgraph addElementSubgraph ( PluralAttribute attribute ) Add a node to the graph

jakarta.persistence.criteria.Path

(JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression ... to the referenced attribute. Since: Jakarta Persistence (JPA) 1 .0 Expression get ( PluralAttribute

jakarta.persistence.criteria.AbstractQuery

Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root corresponding ... class Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 ... (JPA) 1 .0 List getGroupList () Return a list of the grouping expressions. Returns empty list

jakarta.persistence.TypedQuery

Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in ... back. Since: Jakarta Persistence (JPA) 1 .0 Stream getResultStream () Execute a SELECT query and return the query ... been joined to the transaction. Since: Jakarta Persistence (JPA) 1 .0 X getSingleResultOrNull

jakarta.persistence.criteria.CriteriaBuilder.Case

which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class

jakarta.persistence.Subgraph

within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence (JPA) 2. 1 Public ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 .0 void addAttributeNodes ... - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph

jakarta.persistence.criteria.Predicate

Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning ... . See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast ... (JPA) 1 .0 List getCompoundSelectionItems () Return the selection items composing a compound selection

jakarta.persistence.Graph

(JPA) 1 .0 void addAttributeNodes ( Attribute ... attribute ) Add one or more attribute nodes ... : IllegalStateException - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph ... . Since: Jakarta Persistence (JPA) 1 .0 Subgraph addElementSubgraph ( String attributeName , Class type

jakarta.persistence.criteria.ParameterExpression

Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1 .0 List

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

otherwise. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class

jakarta.persistence.criteria.CriteriaUpdate

. A CriteriaUpdate object must have a single root. Since: Jakarta Persistence (JPA) 2. 1 Public Instance ... . Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add a query root ... of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.criteria.LocalDateTimeField

The date part of a datetime. Since: Jakarta Persistence (JPA) 1 .0 DAY The calendar day of the month, numbered from 1 . Since: Jakarta Persistence (JPA) 1 .0 HOUR The hour of the day in 24-hour time, numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1 .0 MINUTE The minute of the hour, numbered from

Report Generation with BIRT and JPA

= x :     (0, 0), ( 1 , 1 ), (2, 2), ..., (999, 999) The BIRT report

[ODB1] Chapter 7 - JDOQL Queries

a specified order. 7. 1   Introduction to JDOQL A basic JDOQL query has the following ... . One of the useful string methods that is not supported by JDO 1 .0 but supported in ObjectDB ... : Calendar calendar = Calendar.getInstance(); calendar.clear(); calendar.set(2000, 0, 1 ); Date date

[ODB1] Chapter 9 - ObjectDB Explorer

databases.   9. 1   Running the Explorer The Explorer is a pure Java GUI application. It is shipped as an executable jar that will run on any system with a Java 1 .3 JRE or later installed