Internal Website Search

101-150 of 200 results

Database Inconsistency or corruption

ObjectValue are just deleted from the database. If I had detailled traces of the EntityManager or ... IDs available on persist, or flush after persist to get IDs allocated. It is unclear ... relationship. If an update is not detected (e.g. due to 3 or 4) - you may try changing another (even dummy

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table ... MyEntity e").executeUpdate();” works, but it can not reset id to zero! "drop table" or "delete from table" or "truncate" can clear the id counting. Any idea? gzdillon Lai Yang Resetting generated ID

Should I be able to persist a JFrame (or gui components in general)?

.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax ... ideas on the runtime error, or how I could reduce amount of code to map UI to a database to as ... somehow. This may exist, and I just don't get it, or whatever. And second, the idea of persisting interface

Is it ok to put list or map of embeddable objects in entity ?

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity ... part of the containing entity. Since there is no separate space allocation for the collection or its elements ... happening... Is that a bug or are cascade operations not supported with Embeddable classes ? kborkowski

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

are redundant. Q: Is there an option or strategy to disable/skip runtime enhancement checks (to improve load time ) ?     webel Dr Darren Kelly Please provide more information about these checks, such as log messages or stack traces. support Support

Cannot save or update entity on Spring App

I've got this DAO in my Spring App import javax.transaction.Transactional; @Repository // or @Component @Transactional public class LanguageRepository { // Injected database connection ... (); return guest; } //DELETE or UPDATE command public boolean deleteOrUpdate(String query, Map map

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com

Waterfall tree algorithm for more optimized version of objectdb or

hello , i heard its very good and new datastructure known as waterfall tree compared to btree. It could be good if you think and research some datastructure or take a look at waterfalltree Or it can be selectable by objectdb :   here what i talk about :  http://stsdb.com/stsdb-w4.0

Annotations not supported in -source1.3 (use -source 5 or higher ..)

and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not supported in -source1.3 (use -source 5 or higher ..) (Note that the version of Java I ran Maven as

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

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

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

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

FROM clause (JPQL / Criteria API)

, MEMBER, MIN, MOD, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR , ORDER, OUTER, POSITION, SELECT, SET, SIZE

Date and Time in JPQL and Criteria Queries

for building date and time expressions that represent the current date and/ or time: // Create

Collections in JPQL and Criteria Queries

Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as  path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages

Is ObjectDB better than competing object databases?

relational database by using an ORM JPA provider such as Hibernate, EclipseLink or Open JPA

What is the Java Persistence API (JPA)?

order to interact with a relational database such as Oracle, DB2, SQL Server or MySQL. The popular JPA

DELETE Queries in JPA/JPQL

As explained in chapter 2 , entity objects can be deleted from the database by: Retrieving the entity objects into an EntityManager . Removing these objects from the EntityManager  within an active transaction, either explicitly by calling the  remove method or implicitly

Literals in JPQL and Criteria Queries

); or by a special CriteriaBuilder 's method, nullLiteral , that returns a typed expression

ObjectDB - JPA Object Database for Java

or NetBeans . Forget relational databases, JDBC, drivers, tables, records, ORM tools and mapping

Where can I learn how to use ObjectDB?

experience in database development, SQL or JPA, but such experience is definitely not a prerequisite.

Defining a JPA Entity Class

, any field that is not declared as static or transient is a persistent field. For example

Step 2: Entity Class and Persistence Unit

node (in the [Project Explorer] window) and selecting New Folder ( or   New Other... General

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat ( or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Spring MVC JPA Tutorial - IntelliJ Project

IDEA: Select the new run configuration at the toolbar and click the green run icon ( or   Shift

Step 6: Set the Spring XML

editor (by right clicking and selecting  Open With Text Editor or by double click

Step 6: Set the Spring XML

clicking and selecting Edit or by double click and then moving to the XML tab in the editor window

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or   NetBeans . Building a new application step by step is an effective way to learn - but 

JPA Tutorials

, such as GlassFish 3.0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework

Java EE 6 JPA Tutorial - Eclipse Project

when the Maven project is imported into the IDE). Choose or define the server and click  Finish

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New Other... Java EE ( or Enterprise JavaBeans) Session

Step 3: Create an ObjectDB Data Source

Start tutorial ). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb ) or client

Spring MVC JPA Tutorial - Eclipse Project

project is imported into the IDE). Choose or define the server and click  Finish . Eclipse

Eclipse/JPA Web Application Tutorial

For this tutorial you will need the following software: Java JDK (6.0 or above). Eclipse IDE for Java EE Developers

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the result