Internal Website Search

1-50 of 136 results

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database ... ; drop as a url parameter:     EntityManagerFactory emf =         Persistence.createEntityManagerFactory("myDbFile.odb; drop

Drop in Client/server mode not working

Hi, can't seem to get drop to work in c/s mode: version : objectdb-2.3.5_04 config :  url : 'objectdb://localhost/testStorage1.tmp; drop ;user=admin;password=admin'   suggestions? David ... ;    "objectdb://localhost/testStorage1.tmp; drop ;user=admin;password=admin");   

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 ... () cause exceptions. Yes, you'd better to put it into manual, since " drop table" is often in debugging. I can not find " drop table" in this site BTW. gzdillon Lai Yang The code “createQuery("DELETE FROM

drop a column from table

Hi, I want to drop one column from my database table suppose i have 3 column (id, name, address) now i want to drop address. then what will be the query or procedure..   Bimal Bimal kumar dalei ... Support Hi But it physically present and logically it will not display. If a want to drop or delete

The drop code word does not work?

.createEntityManagerFactory("objectdb:punkter.odb; drop "); The drop -codeword does not seem to work - I must manually ... a tmp/temp database name extension (instead of odb), or add support for dropping database files

Drop JDO support

In my opinion JDO is a legacy/deprecated technology. You should remove JDO support in favour of JPA. I think this would make ObjectDB to grow faster. tuille Alberto Otero ObjectDB already supports JPA and this is its main API (e.g. the manual focuses on JPA). We have no reason to drop JDO, as there are still ObjectDB users that use it. support Support

Database Connection using JPA

- for specifying a user password in client server mode. drop - for deleting any existing database ... a connection to an empty database (discarding existing content if any) the drop parameter has to be specified: EntityManagerFactory emf = Persistence . createEntityManagerFactory ("objectdb:myDbFile.tmp; drop

impossible to drop a table with 50 million objects

impossible to drop a table with 50 million objects

Database Management Settings

most database updates (except schema updates). The element The drop attribute of the element specifies ... of these temporary databases is deleted when using the drop URL connection parameter . The elements

Posting Sample Code

;   "objectdb:$objectdb/db/test.tmp; drop ");        

'DROP TABLE' in ODB?

SQL ' drop table' in ODB? lwalkowski Lukasz Walkowski This is currently not supported. As far as I understand the main effect of such drop operation would be on the list of classes in the Explorer

How force always recreate database on redeployment.

You should be able to drop the entire database if its file is not locked by Glassfish. See the connection ... ) the drop parameter has to be specified:   EntityManagerFactory emf =       Persistence.createEntityManagerFactory("objectdb:myDbFile.tmp; drop "); But I am obtaining

Step 6: Design a BIRT Report Table

In this final step we will add a simple table to the report: Open the [Insert Table] dialog box by dragging a Table from the [Palette] window and dropping it on the report design (.rptdesign ... the data set in the [Data Explorer] window (under the data set node) and dropping them on the second

Bulk Delete and Update - best practice?

to update/remove a large number of objects? I've had success with the " drop " keyword in ... based databases (in server mode the database is locked so drop can't be used). The only method I've ... , would be more efficient. drop in the connection url should work also in server mode if the database is not in use by

Remove not working

(String[] args) { String url = "objectdb:$objectdb/db/test.tmp; drop "; EntityManagerFactory emf ... -uncommitted"); properties.setProperty("javax.jdo.option.ConnectionURL", "Test.odb; drop ... CBE Ah, my problem above was using "Test.odb; drop " instead of "Test.tmp; drop ". I'll post a new test

Persist error @ManyToMany how to define correct entities relationships

"); //; drop em = emf.createEntityManager(); } synchronized void closeDB(){ em.close(); emf.close(); } void ... ( "objectdb:$objectdb/db/testc.tmp"); //; drop em = emf.createEntityManager(); } synchronized void closeDB ... :$objectdb/db/testc.tmp"); //; drop em = emf.createEntityManager(); } synchronized void closeDB(){ em.close

Step 1: Create a Java EE 6 Web Project

the file system and drop it in the WebContent/WEB-INF/lib node in the Eclipse Project Explorer

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging a  Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data

Step 1: Create a Web Project

.jar file from the file system and dropping it on the WEB-INF/lib node in the Eclipse Project Explorer

virtual servers and one file

), there is a massive drop in performance. We have already seen that queries take more than 20 seconds ... of this? We are not aware of this issue (no previous reports). A drop in performance from a few milliseconds ... drop . ObjectDB 2.x does use RandomAccessFile . ObjectDB 3.0, which is currently under development

Database absolute filepath

.createEntityManagerFactory( "objectdb:$objectdb/db/test.tmp; drop "); System.out.println(emf.getProperties ... instead of test. odb ? What does the keyword drop at the end of the line do? ThreaT Ashton Hogan The drop parameter  indicates a request to discard an old database (if exists) and create a new empty

Merge Issue: Attempt to reuse an existing primary key value

/db/test.tmp; drop ");         EntityManager em = null ;   ... ; "objectdb:$objectdb/test.tmp; drop ");         EntityManager em ... ;       "objectdb:$objectdb/test.tmp; drop ");      

Left join fetch behaviour doesn't retrieve children?

:$objectdb/db/test.tmp; drop ");         EntityManager em = null ... ; EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db/test.tmp; drop ");   ... .createEntityManagerFactory("objectdb:$objectdb/db/test.tmp; drop ");   EntityManager em = null;  

Schema-Update: Rename superclass and remove one subclass

.createEntityManagerFactory("objectdb:test.tmp; drop "); EntityManager em = emf.createEntityManager ... example: public static void main(String[] args) { // no drop - reuse the existing file

Optimistic locking: prevent version increment on entity collection attribute

.createEntityManagerFactory("./test.odb; drop "); EntityManager em = emf.createEntityManager(); em.getTransaction ... = Persistence.createEntityManagerFactory("./test.odb; drop "); EntityManager em = emf.createEntityManager(); em

EntityManager getMetamodel() causes crash

(shown below), which appears to cause the problem.  I am using the ObjectDB server.  I drop ... ;password=admin; drop " EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); MyEntity

Join performance in Objectdb

;      "objectdb:$objectdb/db/test.tmp; drop ");       ... ;   "objectdb:$objectdb/db/test.tmp; drop ");        

failure to enforce NOT NULL for java.lang.String

= Persistence.createEntityManagerFactory("target/test.odb; drop "); EntityManager em = emf ... ;  "objectdb:test.tmp; drop ");         EntityManager em = emf

IN expression in a Criteria Query

; drop "             );      ... /db/test.tmp; drop "             );   

Schema Update: class hierarchy change

;   .createEntityManagerFactory("objectdb:$objectdb/db/test.tmp; drop ");   EntityManager ... :$objectdb/db/test.tmp");   //no drop - reuse the existing file   EntityManager em = emf

multiple LEFT JOINs do not work as expected

; drop ");         EntityManager em = emf.createEntityManager ... ( "objectdb:test.tmp; drop "); EntityManager em = emf.createEntityManager(); em.getTransaction().begin

Remove a modified entity cause an optimistic lock exception

; "objectdb:$objectdb/db/test.tmp; drop ");         EntityManager em = emf ... ; "objectdb:$objectdb/db/test.tmp; drop ");         EntityManager em

Remove an entity which attributes were changed - OptimisticLockException

; "objectdb:$objectdb/db/test.tmp; drop ");         EntityManager em = emf ... ;        "objectdb:$objectdb/db/test.tmp; drop ");   

Query execution time issue

about 10-12 seconds. If i remove ANY 5 left joins, query execution time drops to about 50 ... to, for exmple, 9 query execution time drops to about 60 milliseconds. Kind regards, Pero   Pero

Unable to persist fields in subclass

) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:simplePatientTest.tmp; drop "); //; drop EntityManager em = emf.createEntityManager(); SimplePatientTest patient = new

Eclipse plugin problem (using ObjectDB as a separate bundle)

, if the first URL (NOT an update site) does not work simply drop the attached com.richclientgui ... .eclipse.org/eclipse/downloads/ drops /R-3.6.2-201102101200/index.php and unzip it into a folder

Issue with orphanRemoval and multiple EntityManagers

;          "objectdb:test.tmp; drop ");    

problem when primary key value is zero

;    "objectdb:$objectdb/db/test.tmp; drop ");        

Jboss 6 persistence.xml startup error

drop it in the JBoss's deploy directory, start JBoss ( run ) and open the browser at  http

Problem with Criteria Querys

/test.tmp; drop ");         EntityManager em = emf

Embedded List

= Persistence.createEntityManagerFactory("objectdb:$objectdb/db/test.tmp; drop ");      

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

if one could simply drop the objectdb bundle into the runtime, request a reference to the Factory and not having

[ODB1] Chapter 1 - About ObjectDB

system that supports servlets/JSP. Just drop the JDO and ObjectDB jar files into the WEB-INF/lib

Tracking changes to new collections (in enhancement mode) after flush

;             String dbUrl = "objectdb:F2640.tmp; drop ... ) { EntityManagerFactory emf = Persistence .createEntityManagerFactory("objectdb:c:\\test.tmp; drop ... ;             String dbUrl = "objectdb:F2640c.tmp; drop

Unexpected exception (Error 990) com.objectdb.o.InternalException

:$objectdb/db/test.tmp; drop ");         EntityManager em = emf ... ;          "objectdb:$objectdb/db/test.tmp; drop ");  

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

; EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db/test.tmp; drop ");   ... ;     "objectdb:$objectdb/db/test.tmp; drop ");       

Issues with JDO Casting & Full Qualified Names

.createEntityManagerFactory("objectdb:$objectdb/db/test4.tmp; drop ");   EntityManager em = emf ... ;           "objectdb:$objectdb/db/test4.tmp; drop

Schema-Update: Rename superclass and remove one subclass

.createEntityManagerFactory("objectdb:test.tmp; drop "); EntityManager em = emf.createEntityManager ... example: public static void main(String[] args) { // no drop - reuse the existing file

New entity objects are duplicated on merge cascading

;           "objectdb:$objectdb/db/test.tmp; drop ... $connection = "objectdb:db/test.tmp; drop ";         EntityManagerFactory

Strange Error with Criteria API and Sorting

("objectdb:db/test.tmp; drop ");   EntityManager em = emf.createEntityManager();   // Add some data