ObjectDB Database Search

101-150 of 200 results

Persistent domain in Scala or Java...

.  Are there strong JPA-like libraries for Scala, or should I be considering Scala-specific persistence or using Java for the domain to take advantage of JPA / ObjectDB etc. All input greatly

Schema or odb file compare

Dear Support, is there a way to compare two schemas or odb files? I try to compare two object graphs Thx wua Andreas Wurm This is currently not supported, but you may file a feature request  if you need this ability (describing what exactly you expect from this new feature, and how it should work). support Support

Internal objectdb error when open a database or open an entity manager

we get following exception when we open a database or open an entity manager   Exception in thread "ODB IndexActivation" [ObjectDB 2.6.6_06] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www

JPA Query language support in OBjectDB / Sub query or nested Query

Hi Wanted to check with you on the exact level of support of JPA QL within the ObjectDB world. I have given a sample typed query below which fails to work with ObjectDB and it runs very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or

Field or Table Encryption

Is there a build-in way to encrypt object fields or entire "tables" with annotations?  If not, are there any recommended design patterns? Thanks mrbahr2003 Thomas Gregory Please see this feature request in the issue tracking. If you need selective encryption of types / fields - please describe your suggestion in that issue thread. support Support

LIMIT or TOP functions

Is there LIMIT or TOP functions in object db? If so can you provide some examples? vinodh vinodhkumar You can set query result range by using the setFirstResult and setMaxResults methods. You can find more details and an example in the manual . support Support Thanks. This solved my purpose. vinodh vinodhkumar

One transaction or two?

If I have a large number of objects to delete and then add to a PersistenceManager is it more efficient to do everything in one transaction or two? Currently my code looks like this: PersistenceManager pm = m_pmFactory.getPersistenceManager(); try { pm.currentTransaction().begin(); pm

query null or by zero error

we have the critical problem that we receive a null or by zero (in the log a java.lang.ArithmeticException) error for this query: select o from ObjectNode o where o.currentLocation.nodePath = "/(MG)TOOLPOOL-DMC-125U4/(MP)IN" and o.classIdentifier = '(TP)' database can be download from

To open source, or not to open source

To open source, or not to open source

Significant I/O costs during batch update or insert data.

Significant I/O costs during batch update or insert data.

Annotate a Map field with @ElementCollection or @Basic

Annotate a Map field with @ElementCollection or @Basic

A distinguished Name for server or explorer is good for maintaining!

A distinguished Name for server or explorer is good for maintaining!

ObjectDB as JDBC resource or custom realm

ObjectDB as JDBC resource or custom realm

UserException or JDOUserException

UserException or JDOUserException

Feature request: helpdesk user can change issue or support ticket page title/name

I would like the capability to change helpdesk support ticket page titles. Or if there is a way to already do this please describe. [EDIT: sorry I don't know how to key this to your online helpdesk system as opposed to the objectdb software version] webel Dr Darren Kelly You should be able

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

Luc Have you tried 2.4.5 or 2.4.5_03? Because 2.4.5_03 fixes a GlassFish integration issue . support

Running the Activator requires Java 6 or above.

. Running the Activator requires Java 6 or above.         dmoshal David Moshal Note

Compare two schemas or odb files

Compare two schemas or odb files

jakarta.persistence.Convert

: Annotation Target: Method, Field, Type Specifies how the values of a field or property are converted ... defined autoApply=true , or overriding the use of a converter specified by a field or property of an embedded type or inherited mapped superclass. It is not necessary to use the Basic annotation ( or

Date and Time in JPQL and Criteria Queries

, MONTH , DAY , HOUR , MINUTE , and SECOND parts from a date or time value. For example: YEAR({d '2011 ... for building date and time expressions that represent the current date or time: // Create current date

JPA Metamodel Attributes

_TO_ONE , ONE_TO_MANY , ONE_TO_ONE , or MANY_TO_MANY . Singular attributes Single-valued attributes ... : COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection

JPA Metamodel Types

, Strings, or Dates) that do not contain persistent attributes of their own. An enumeration defining the high-level classification of a type: BASIC , ENTITY , EMBEDDABLE , or MAPPED_SUPERCLASS

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Query Structure (JPQL / Criteria)

. For example, JPQL keywords can be uppercase (e.g., SELECT ) or lowercase (e.g., select ... and FROM clauses are mandatory. The FROM clause declares one or more query variables, also known as

Numbers in JPQL and Criteria Queries

of a numeric argument. The result is always a positive number or zero. For example: ABS(-5) evaluates to 5 ... expression or a simple Java numeric object. // Create path and parameter expressions: Expression path

JPA Criteria Query Date/Time Extraction

Jakarta Persistence criteria queries use the following interfaces and enums to extract temporal components like year, month, or hour from date and time values. TemporalField # Base interface ... └─ LocalDateTimeField # Enum for DateTime fields Date and Time components To extract a date or time component in

JPA Named Queries

methods. Each @NamedQuery annotation is attached to exactly one entity class or mapped superclass, usually ... . Named queries can be attached to any entity class or mapped superclass. Therefore, a list of all managed

DELETE Queries in JPA/JPQL

within an active transaction, either explicitly by calling the remove method or implicitly through a cascading ... cannot include multiple variables, JOIN clauses, or the GROUP BY , HAVING , and ORDER BY clauses

How to install ObjectDB?

ObjectDB is distributed as a zip file. Just download and extract the ObjectDB distribution zip file. No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file.

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational

BIRT/ODA ObjectDB Driver

connection URL. This can be an embedded URL (for example, c:\points.odb ) or a client-server URL ... ) and click Next . Enter a JPQL or a JDOQL query and click Finish . See the Report Generation with BIRT and JPA tutorial for more detailed instructions.

JPA Annotations

classes as entities, embeddables, or mapped superclasses while configuring caching and listener ... associations between entities, such as one-to-one or many-to-many, and specify cascade and fetch

UPDATE SET Queries in JPA/JPQL

= c.population * 11 / 10 The UPDATE clause defines exactly one range variable (with or ... . The SET clause defines one or more field-update expressions, which use the range variable

Managing JPA Entities

been modified or removed during a transaction are held in the persistence context by weak references ... to use strong or soft references instead of weak references . Use the contains method to check

SSL Configuration

of the ssl element, which can be set to true or false , specifies whether SSL is used. As shown in ... attribute of the ssl element must be set to true . Every keystore or truststore file is represented by

jakarta.persistence.criteria.Subquery

, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection ... specifying whether duplicate results must be eliminated from the subquery result or ... assigned to the tuple element or null, if no alias has been assigned. Inherited from TupleElement

jakarta.persistence.EntityManagerFactory

of EntityManager . A persistence unit defines the set of all classes that are related or grouped by ... may be defined by a persistence.xml file, or it may be defined at runtime via the PersistenceConfiguration API. Every persistence unit has a transaction type , either JTA , or RESOURCE_LOCAL . Resource

jakarta.persistence.Basic

: Annotation Target: Method, Field The simplest type of mapping of a persistent field or property to a single database column. The Basic annotation may be applied to a property or instance variable whose type is any one of the following: a Java primitive type, or wrapper of a primitive type, String

Eclipse/JPA Spring MVC Web Tutorial

Eclipse - using ObjectDB, JPA, Tomcat ( or GlassFish) and Maven. The demo web application manages ... software: Java JDK 6.0 ( or above). Eclipse IDE for Java EE Developers. m2eclipse (Maven plugin

JPA Web App Tutorial - Maven Project

The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in  Eclipse or   NetBeans ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

JPA Web App Tutorial - NetBeans Project

Project . Run the project: Select Run Run Main Project... ( or F6 ). Choose or define the server and click

Step 3: Add a Context Listener Class

a ServletContextListener to perform initialization and cleanup operations: The database will be opened ( or created ... . The database will be closed when the web application stops ( or when the web server shuts down), by closing

Getting Started with JPA and Eclipse

. For this tutorial, besides the Java JDK (8 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB

NetBeans/JPA Web Application Tutorial

the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version of ObjectDB

Java EE Web Tutorial

(session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6. If you need a web application that can run on a simple servlet container (such as Tomcat or Jetty

Java EE 6 JPA Tutorial - NetBeans Project

and click  Open Project . Run the project: Select  Run Run Main Project... ( or   F6 ). Choose or define the server and click  OK . If  a browser is not opened - open it at http://localhost:8080/Guestbook/.

Step 2: Entity Class and Persistence Unit

) and selecting  New Entity Class ... ( or   New Other... Persistence Entity Class and clicking ... a text editor (by right clicking and selecting Edit or by double click and then moving to the XML

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in  Eclipse or   NetBeans . Building a new ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

Step 3: Add a Context Listener Class

a ServletContextListener to perform initialization and cleanup operations: The database will be opened ( or created ... . The database will be closed when the web application stops ( or when the web server shuts down), by

Spring MVC JPA Tutorial - NetBeans Project

Project . Run the project: Select  Run Run Main Project... ( or   F6 ). Choose or define