ObjectDB Database Search

101-150 of 200 results

How to access database object to my application.

Hi, I want to access a object which contains some value like id,name,college and address. Here it returns some address but i am not getting object value, i attach 3 java program below, please check. 1 : GetterSetter method  2: Creating object for insert data  3: For Access data

Pessimestic Locking doesn't release when application unexpectedly terminates.

take no more than 1 -2 seconds to complete, then setting an expiration time of 5 seconds should be safe

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

ObjectDB 1 .x? You have to define an index and open the database in your application ... , with object 1 .x, the same query was getting executed within an seconds and now the same is taking around 40 ... query.execute(param1, param2); This takes 1 second to execute using objectdb1.x, but the same takes

JBoss 7.1 and EAP 6 support

I understand that keeping up with a new version can be difficult. Having said that, JBoss 7. 1 . 1 Final was released in early March and Enterprise Application Platform (EAP) 6, the fully supported version by RedHat which is based on 7. 1 , has been released recently. I would really like to use

javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar

Hi, I notice that objectdb zip file has: javax.transaction-api- 1 .3.jar However that library has moved to jakarta.transaction-api and is now on version 2.0. 1 Questions: a) Do I need this library at all? b) If I do need it, do I use jakarta.transaction-api 1 .3 or 2.0. 1 ? Similarly java

Reading 1.x odb files in ObjectDB 2.x without upgrading

db odb file from version 1 .x to 2.x, user is unable to open the odb files in the application which is having object db 1 .x installed. Is there any way to read odb files from 1 .x in object db 2.x ... binitbhaskar Binit Bhaskar Old ObjectDB 1 .x databases cannot be opened directly by ObjectDB 2.x

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

application failed: C:\Users\Mircea\Documents\NetBeansProjects\natural7\target\natural7- 1 .0-SNAPSHOT ... 1 .5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in ... application WEB-INF/lib directory. Try also using  objectdb-jee.jar instead of  objectdb.jar

Unable to convert 1.x odb file to 2.x

if you can complete the remaining 1 % by your own simple console application that would port any problematic ... Hi, my company is just about to switch from ObjectDB  1 .04.2487 (SE) to ObjectDB 2. So I ... well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1 .0

objectdb explorer in ver 2.2 and 1.0

to the Explorer in future versions. Support of ObjectDB 1 .x is now limited, so new application should only use ObjectDB 2.x. Notice that ObjectDB 2.x also supports JDO better (JDO 2 instead of JDO 1 ). support Support ... You are right - some important features of ObjectDB 1 .0 Explorer are not implemented yet in ObjectDB 2.2

License Key on macOS Sequoia 15.6.1

Regarding the  OEM license I've another issue: I've updated my macbook to the latest version of macos Sequioa 15.6. 1 (24G90). Unfortunately since then the mac-id behavior drives me crazy ... the Activator of the last build will generate a more stable activation code also for applications

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

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

each 1-2 days objects on some objectdb level lock/block each other

each 1 -2 days we have the situation that our system changes to a completely underperforming mode ... % and around 200 threads hgzwicker Hans-Georg Zwicker According to the subject of this thread it happens every 1 -2 ... request Are you sure about that? If your clients use a web application they may refresh the page

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

ArrayIndexOutOfBoundsException: -1

I've attached a test which fails with the error "ArrayIndexOutOfBoundsException: - 1 ". It runs 10 threads which create and persist objects. The objects are based on application objects so its not ... . I'm running with 64bit JVM 1 .6.0_30 on windows 7 The first thread to fail output the following

Integration with Java EE (JPA 1.0)

ObjectDB can be used in both Java EE and Java SE by using application managed EntityManager . Support of container managed EntityManager and integration with the JTA (Java Transaction API) is not ... EE containers ( application servers) has been added in version 2.0.4. support Support

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

: absolute value. Since: Jakarta Persistence (JPA) 1 .0 Expression all ( Subquery subquery ) Create ... . Since: Jakarta Persistence (JPA) 1 .0 Predicate and ( Expression x , Expression y ) Create a conjunction ... : and predicate. Since: Jakarta Persistence (JPA) 1 .0 Predicate and ( Predicate... restrictions

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.CriteriaUpdate

optimistic locking checks. Portable applications using bulk update operations must manually update ... . 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

jakarta.persistence.Column

field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... applications which make use of schema generation should explicitly specify the precision and scale of columns of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name

jakarta.persistence.Query

execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence (JPA) 1 .0 ... back. Since: Jakarta Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 Stream

Schema Update

when you rename or move persistable classes to another package. If you run the application with persistable ... these changes, the application runs only with a configuration that matches them exactly. The default

Is ObjectDB better than competing object databases?

you can keep your application portable. If necessary, you will always be able to switch to any ... almost every application . ObjectDB supports user defined primary keys including composite primary keys

Is ObjectDB scalable? What are its limitations?

ObjectDB is highly scalable and can manage efficiently databases in a wide range of sizes, from a few Kilobytes to hundreds of Gigabytes and even Terabytes. ObjectDB can be used in small embedded single user applications as well as in heavy loaded multi threaded multi user applications . ObjectDB

JPA Queries

TypedQuery in modern applications to ensure compile-time type safety. A sub-interface of Query used ... because it eliminates the need for casting results. Controls the execution of stored procedures (not applicable

Obtaining a JPA Database Connection

a multithreaded application , each thread usually has its own EntityManager instance while sharing a single, application -wide EntityManagerFactory . When the connection to the database is no longer needed

ObjectDB Overview

processing, etc.) but in a way that makes development easier and applications faster. ObjectDB Database Key ... . Can easily be embedded in applications of any type and size. Tested with Tomcat, Jetty, GlassFish

GROUP BY and HAVING clauses

SUBSTRING(c.name, 1 , 1 ) FROM Country c GROUP BY SUBSTRING(c.name, 1 , 1 ); The FROM clause iterates ... : SELECT DISTINCT SUBSTRING(c.name, 1 , 1 ) FROM Country c GROUP BY with aggregate functions JPQL supports ... and the number of distinct currencies that those countries use: SELECT SUBSTRING(c.name, 1 , 1 ), COUNT(c), COUNT

jakarta.persistence.LockModeType

for new applications . Since: Jakarta Persistence (JPA) 1 .0 WRITE Synonymous with OPTIMISTIC_FORCE ... applications . The semantics of requesting locks of type LockModeType.OPTIMISTIC and LockModeType ... for rollback). Since: Jakarta Persistence (JPA) 1 .0 Enum Constants NONE No lock. Since: Jakarta Persistence

jakarta.persistence.JoinColumn

CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name (Optional ... Persistence (JPA) 1 .0 String referencedColumnName (Optional) The name of the column referenced by ... of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean unique (Optional

jakarta.persistence.Convert

Temporal . Applications that depend on such conversions are not portable. The Convert annotation ... to prefix the name of the attribute of the key or value type that is converted. Example 1 : Convert ... GenericEmployee { ... } See Also: Converter Converts Basic Since: Jakarta Persistence (JPA) 2. 1 Annotation

jakarta.persistence.OrderColumn

and maintained by the application . The OrderBy annotation is not used when OrderColumn is specified. The order ... ; " _ "; " ORDER ". Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean nullable (Optional) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1 .0 boolean insertable

ObjectDB 2.1.1

ObjectDB 2.1.1

jakarta.persistence.ConstraintMode

Used to control the application of a constraint. Since: Jakarta Persistence (JPA) 2. 1 Enum Constants CONSTRAINT Apply the constraint. Since: Jakarta Persistence (JPA) 1 .0 NO_CONSTRAINT Do not apply the constraint. Since: Jakarta Persistence (JPA) 1 .0 PROVIDER_DEFAULT Use the provider-defined

Database Management Settings

is appropriate for most applications . The element When recovery is enabled, ObjectDB creates a recovery file

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the  web.xml configuration file and to configure that servlet using ... the WEB-INF directory. The next step (and the last in this tutorial) is  running the Spring web application .

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using ... for JSP pages in the WEB-INF directory. The next step (and the last in this tutorial) is running the Spring web application .

Step 5: Add a JSP Page

Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains ... the previous step). The next step (and the last in this tutorial) is running the web application .

Step 5: Add a JSP Page

Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains ... the previous step). The next step (and the last in this tutorial) is running the web application .

Step 5: Add a JSP Page

replace the content of the new jsp file with the following content: JPA Guest Book Web Application ... (and the last in this tutorial) is running the web application .

Step 4: Add a Servlet Class

bean, which is instantiated and injected by the application server into the  guestDao field ... page that will serve as the application view and will produce the guestbook output.

JPA Web App Tutorial - IntelliJ Project

To open and run the  JPA Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA ... : Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat

Step 5: Add a JSP Page

of the new jsp file with the following content: JPA Guest Book Web Application Tutorial Name: The JSP ... " attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application .

Step 4: Add a Servlet Class

on the database are carried on by the GuestDao session bean, which is instantiated and injected by the application ... ). The next step is adding a JSP page that will serve as the application view and will produce the guestbook output.

Java EE 6 JPA Tutorial - IntelliJ Project

To open and run the  Java EE 6 Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open ... directory and click  OK . Define the Server: Select  File Settings Application Servers . Add

Step 5: Add a JSP Page

content: JPA Guestbook Web Application Tutorial Name: The JSP generates the guestbook page output

Spring MVC JPA Tutorial - IntelliJ Project

the Server: Select  File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat

Step 4: Add a Controller Class

a JSP page that will serve as the application view and will produce the guestbook page output.

Which API should I use - JPA or JDO?

is more commonly used. Therefore, it might be the first choice for most new applications . You can use JPA as ... that are supported only by JDO. Selecting the more popular API leads to more portable application