ObjectDB Database Search

51-100 of 200 results

OutOfMemoryError on search after update on DB created with DB Doctor

It looks like there may be an issue with the DB files created with DB Doctor in recovery mode ... . We instruct Object DB to create a 1Gb DB file on initial start-up using: This happens as expected. 2 ... is the 1Gb file created originally and SystemDB.odb.rpmnew is the recovered DB file generated by DB Doctor

ODB tries to create log files inside its own jar on Win7

, and they were unable to run it.  The stack traces they sent me indicated that ODB was trying to create its log ... ; Here's the end of the stack trace: [code]Caused by: com.objectdb.o.UserException: Failed to create a new file ... machine and it works fine.  (I didn't check where it creates its log files, but evidently

How to create dynamic Entity class.

Hello,      I was creating dynamic object to store data inside database. I am using javassist API to create dynamic class. Here i have written some code which is create dynamic class as well as object. Class and object successfully created . And insert data also now problem

Failed to create a new file 'target\objectdb\log\archive' (error 112)

(see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user ... "target\objectdb". The folder "target\objectdb\log" does not exist yet. Do we have to create ... .server:integration-test] Failed to create a new file 'target\objectdb\log\archive' (error 112) [11

Does ObjectDB create one instance of each entity class on (web app) load ?

reason create an   instance of each entity (and if so, under what circumstances ) ?   I can also see that for Abstract bases of entities it is creating one instance with an instrumented class ... this fully. I was scratching my head wondering whether I was inadvertently creating  the said instances

how to create only table structure.

hi, I want to create only a table without insertions of data. And also table contains constraints like not_null, unique, primary key etc. Ex: (In sql) create table emp (id int(5) primary key, name varchar2(20)); , so it will create  only table. when we want to see the table structure

Is there any GUI for creating/editing entity?

Hi, I'm new for JPA/JDO. How should I create /edit entity class? Is there any GUI?   In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com ... for creating /editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench. 

How to create a wildfly datasource with dsJndi name to an objectdb database?

Hello everybody, maybe someone can help me creating a wildfly datasource to an objectdb database? I want to setup the authentication in my JEE-Application working the following way: - users ... Therefore I need a dsJndiName for the objectdb database and I can't find anything how to create

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

how to create in memery database in objectdb

plz can u give or help me how to create in memory database in objectdb   with example yadavanil anil yadav See answer in this forum thread  (also use that other thread for further discussion). support Support

recovery enabled="false", still creates tablename.odb$ files

Running in embedded mode, configuration specifies " ".  Still, tablename.odb$ files get created , and if still present after an abrupt stop, the application will not restart properly.   What do we need to do to not utilize recovery files (not have orphan tablename.odb$ files)? CAPdev CAP

Unable to create 128 column of a table.

Hi, Can we create 128 column of table? am getting following error. java.lang.ArrayIndexOutOfBoundsException: -128 at com.objectdb.o.ALS.g(ALS.java:135) at com.objectdb.o.ANT.G(ANT.java:594) at com.objectdb.o.ANT.x(ANT.java:526) at com.objectdb.o.SCM.o(SCM.java:175) at com.objectdb.o.TYS.d(TYS.java

Is there an administration tool with which I could create extra indexes?

Hello, I have composite index, and it was working fine, but now I need to add more features to the software and I need to throw more indexes in there. I wanted to know what's the best way to do this. 1. Have some admin tool CREATE INDEX..... ON a.b or 2. add more @Index to the object entities. in

Create simple index for a Id field

, so you don't have to create an index for the id. zmirc Mircea Chirac The thing is that I noticed it's really

Does JPA have any configuration to create DDL's that are database specific

There some JPA classes who's names more that 30 character. This worked well in MySQL , Derby , PostgreSQL but when it was tried on oracle , we hit the constraint that oracle has of 30 characters.   So basically my question is that is there any JPA have any configuration to create DDL's

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown if name is the same. What do I

JPA - ExceptionInInitializerError when creating EntityManager

Computer. Create a separate project & copy my original sources into it. I did the all configuration

ODBC - How to create a DSN connection in Window

ODBC - How to create a DSN connection in Window

Are indexes implicitly created for relationships?

Are indexes implicitly created for relationships?

How to creat a Query with Sql which returns a List marks

How to creat a Query with Sql which returns a List marks

JPA Criteria API Queries

, a CriteriaQuery instance is created to represent the query. A Root instance defines the FROM clause's range ... expression. After building the CriteriaQuery , you use it to create a TypedQuery object

Server User List

: Permission to modify the contents of a database. create : Permission to create new subdirectories

Chapter 1 - Quick Tour

This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter, you will be able to write basic programs that create , open, and close ObjectDB databases and perform basic CRUD ( Create , Retrieve, Update, and Delete) operations

jakarta.persistence.criteria.Subquery

of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Root correlate ( Root parentRoot ) Create ... parentJoin ) Create a subquery join object correlated to a join object of the enclosing query ... Persistence (JPA) 1.0 CollectionJoin correlate ( CollectionJoin parentCollection ) Create a subquery

jakarta.persistence.PersistenceConfiguration

@Documents EntityManager create (@Documents EntityManagerFactory factory) { return factory ... query timeout hint. Since: Jakarta Persistence (JPA) 1.0 SCHEMAGEN_ CREATE _SCRIPT_SOURCE An application-provided SQL script to be executed when the schema is created . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory

: AutoCloseable Interface used to interact with the persistence unit, and to create new instances ... . An EntityManagerFactory with a lifecycle managed by the application may be created using the static operations ... factory may be created by calling Persistence.createEntityManagerFactory or Persistence

jakarta.persistence.criteria.Path

( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited ... for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate ... ) 3.2 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single

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 ... , that type is returned. If the query was created using the createTupleQuery method, the result type

ObjectDB tries to create a File in a localtion without write access

: Failed to create a new file 'IndexManager_12.mrg_filter' at com.objectdb.o._PersistenceException.b ... :78) ... 25 more Caused by: com.objectdb.o.UserException: Failed to create a new file 'IndexManager ... which creates the file for example in %TEMP% btc_es BTC EmbeddedSystems Please try build 2.7.0_04. support

500 Internal Server Error on creating a new issue

Hi, we tried (several times) to create a new issue but we receive a message: hgzwicker Hans-Georg Zwicker Thank you for this report. The error seems to be related to uploading a file (according to the website log), but unfortunately we couldn't repeat the error. Please report again if it reoccurs

Query execution creates a wrong result

Query execution creates a wrong result

jakarta.persistence.criteria.Predicate

equalTo ( Expression value ) Create a predicate to test whether the expression is equal ... testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create ... Persistence (JPA) 1.0 Predicate in ( Object... values ) Create a predicate to test whether the expression

jakarta.persistence.criteria.CriteriaBuilder.In

type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate ... Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression ... ... values ) Create a predicate to test whether the expression is a member of the argument list. Inherited

SELECT clause (JPQL / Criteria API)

and processing query results. If an entity class is used as a result class, the result entities are created in

Setting and Tuning of JPA Queries

. For example, setting a query hint on an EntityManager affects all queries that are created by

Detached JPA Entities

not exist in the persistence context, a new one is created . The method returns the managed entity

Strings in JPQL and Criteria Queries

: // Create path and parameter expressions: Expression path = country. get ("name"); Expression param = cb

Schema Update

creates new, separate persistable classes with no instances. Therefore, you should back up your database

Collections in JPQL and Criteria Queries

methods for building these expressions: // Create path and parameter expressions: Expression languages

Step 5: Add a JSP Page

Finish to create the new JSP file. Now replace the content of the new jsp file with the following

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse version of the  Spring MVC and JPA tutorial. It demonstrates how to  create and run a full Java Spring MVC (Model View Controller) web application in Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish) and Maven. The demo web application manages

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

Step 4: Add a Controller Class

the class name - use  exactly that case sensitive class name. Click  Finish to create

Step 2: Define a JPA Entity Class

class name. The package name should be tutorial . Click Finish to create the new class. Use copy

Step 6: Set the Spring XML

  spring-servlet as the File Name. Click  Finish to create the XML file. Now use 

Step 6: Set the Spring XML

to create the XML file. Now use copy and paste to replace the content of the spring-servlet.xml file

Getting Started with JPA and Eclipse

This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entities, where each Point has two persistent fields: x and y

NetBeans/JPA Web Application Tutorial

This is the NetBeans version of the  JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat Server 6.0 ( some modifications are needed for Tomcat 7.0 ), ObjectDB and JPA. The demo web

Step 7: Run the Spring Web App

is created under the Tomcat directory. You can stop the Tomcat server and open the database file in 

JPA Tutorials

by step instructions on how to create the sample applications. In addition, the sample applications