ObjectDB Database Search

101-150 of 200 results

Add class to objectdb ?

.imageshack.us/img210/8499/screenshot20130203at004.png   I want to insert new Object or Edit ... why dont you add insert new database , insert class and insert object capability to explorer ? explorer

how to operate with same object but two different Thread on database.

Hi,    i have two thread one is for insert data another is for update data but in same ... variables and Getter and setter method constructor and to-string method. Insert .java   Here i create a thread, create object of Gettersettetclass, i.e  insert operation and pass that object

Entity listener - event instead of object

values and insert new entry in audit trail           ... ;           // because we are performing an insert ... ;          session. insert (new AuditTrail(entityId

How to access database object to my application.

. 1: GetterSetter method  2: Creating object for insert data  3: For Access data. Here object created and value inserted successfully but when i am trying to access that object it only access

Slave server not getting deletes

I have a Master and Slave Server and the slave server is getting the persists, but when I do a delete query, the records don't get deleted "delete from TestTable t " When I insert a record, then delete it, then re- insert it again, the slave server will give this error because the record did not

Adding EntityListener Throws Unexpected Internal Exception

) at data.DataDev.addDefaultProduct(DataDev.java:164) at data.DataDev.lambda$ insert $5(DataDev.java:136 ... .db.jpa.JPA.withTransaction(JPA.java:104) at data.DataDev. insert (DataDev.java:113) at Global.onStart

SectionClassifier message in log

to keep a copy if/when it occurs again. I imagine the underlying problem will be on object insertion ... more felixobjectdb Richard Szurgot It could be either insertion or retrieval problem. The Doctor output

Show Sql/Jpql

/Jpql style not xml. I can only see select statements, but I also want to see insert , update ... (unlike ORM JPA implementation) does not use queries to implement Insert , Update and Delete

How to create dynamic Entity class.

class as well as object. Class and object successfully created. And insert data also now problem is only once object is created and insert data only first time. when i am execute

Explorer in 2.3

. Then allow import of that file into another database. 2. Lazy loading of data, especially in table view ... to enter a Java expression into a field. For example, suppose you have a User entity with a password ... . Auto-login of last opened (remote) database puts the full URL into the Database Path field

find repeated records by JPQL

query from 430,000 records and put them into hashmap, finally it cost one hour and failed: Exception in ... while trying to load all the entity objects into a memory data structure is expected. You may try splitting the query into two queries - first execute the inner query and then use the result collection as

Feature Request: Improved ObjectDB Explorer

data into the database. What I mean is that we have to write code that is different each time (or ... of data into the database, while we can enter data straight into the GUI very easily in, for instance ... to frequently, manually enter new information into the database (suppose we need to maintain a booklist

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db

Pre-detach loading: retrieval by navigation not working in if statement

", but apparently not). [EDIT: they are 'loaded into the JVM'  and enhanced into memory .] [EDIT ... during build, classes can be enhanced when they are loaded into the JVM   [my underline] by ... ). Q: Is there any human-friendly way to inspect the classes exactly as they are once loaded into

Memory error during commit, if @ElementCollection field contains many elements

. But this one runs into memory error and happens only, if we have many elements in the element collection although the element collection is actually not load because it is a lazy field. Why we run into ... is loaded as byte[]  to save space, and extracted into objects only when needed, but that loaded

Externalising persistence.xml properties in Glassfish?

Hi,   I've run into a little bit of a wall with regards to persistence.xml and externalising ... into that now. I'm using EJB3.1, JPA2 on Glassfish 3.1. The solution you mentioned is something I'll look into - my maven resource copying is a little flaky and I'd prefer a build independent way

Java 8 Enhancer Problem

.merge(EMImpl.java:518) Inserting new objects works. Also merging ones created after the update to 2.5

Object belongs to another EntityManager - ERROR

Hi, From time to time we are getting following error in our project when trying to insert /update a record in database [ObjectDB 2.4.6_13] javax.persistence.RollbackException 10:29:14,880 ERROR [stderr] (http--10.23.3.98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl#8

@Column length is not working.

I am using objectdb 2.8.3, I have a Entity class with a column that is declared as  @Column(unique = true, nullable = false, length = 16)  but when i m trying to insert a string for that column with a string that has more than 16 character, not able to get any error or exception from

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

of 168,000. I've inserted 168,000 objects of dummy data with an importer. A subsequent 'submit

find() cost unreasonable time!

= (System.currentTimeMillis()-start)/1000f;   System.out.printf(" Insert : %f objects per second %n", iNum

zip file or JAR manifest missing

the target existence, if yes then accumulate, else insert a new record. String sQ2 = "select i from ItemList

Performance in SELECT statement

no difference. edit2: persisting values is also very slow (5-6s for 30.000 inserts ). Environment

Beginners questions

; @ManyToOne @Column(name = "VERLAG_ID") @JoinColumn(name="VERLAG_ID", insertable =false, updatable=false

Error when I switch to server mode

doing a simple insert . gorilla77 Ji Kim The stacktrace indicates a problem in retrieving an object in

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

Performance of "InsertTest"

You provided the "InsertTest" in the following post, and say "On Intel Core 2 Quad Q6600 (and enhancement) it persists 340,000 objects per second". Insertion Speed Rate and Batch Load Now, ten years later, I run it on Intel Core i5-5300U (2.3Ghz) with 8GB memory, output is 45000 per second

Multithreading Test and Deadlock

I move on to testing the multi threaded part of ObjectDB. From the same code (MyMain.java), I set the thread count from 1 to 4 and not only do I found it's slower overall (each thread only needs to insert 250K entities) but the threads are stuck with a deadlock. All threads share the same

Bidirectional OneToMany is slow on updated items

Hello, I have a problem with the following situation. I insert persons with addresses. In the first run, they are all new with a new address. It runs fast. In the second run, the persons are all loaded and got a second address. This seams to be much slower. The Entities are all enhanced by

Finding an object by its datetime

SearchBookingByTimeStamp() { Calendar btime = Calendar.getInstance(); btime.set(2012, 10, 11, 7, 30, 00); //This time is already inserted , trying to find it /* My Query */ TypedQuery query = em.createQuery( "SELECT b FROM Booking b WHERE b.btime = :btime", Booking.class) .setParameter("btime

Activated ObjectDB still throws "Too many persistable types"

I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com.objectdb.o.UserException: Too many persistable types (10) - exceeds evaluation limit I have already reactivated and checked that my objectdb.conf is correctly used (by inserting random chars

@OneToOne query issue with OR and IS NULL

inserted before. But I always get just the entity A were "another" is not null. Could someone help

wrong query result

and then inserted that value again and saved the database. Repairing the database didn’t help

Unexpected exception (Error 990)

I have a huge amount of inserts /updates and after a about 850.000 Entities I got the following error: [ObjectDB 2.4.7_16] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_30 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue

Field level privileges

only allowed insert ability. Anonymous access only accesses some of the fields. kadirbasol Kadir

Create simple index for a Id field

fast inserting the elements, but when it comes to read seems like the performance falls. I

lockfiles in client/server mode

the one that is in use. Try inserting a deliberate XML error to the file, if the client starts

Login Error (bad username 'admin' or password)

and server objectdb.conf files are in use. Maybe you should try to insert an XML error 

Is there any restriction when using fetch=FetchType.LAZY ?

; It seems referencedObj is becoming null for a certain condition. (I checked by inserting code at 

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true); Query q = pm.newQuery(extent); long deletedCount = q.deletePersistentAll(); pm.currentTransaction().commit

AnnotationAttrRef jakarta.persistence.NamedAttributeNode.subgraph

. Superclass subgraph entries will be merged into subclass subgraphs. The value of this element

Can not have unique index on Byte Array

I found that it is impossible to insert a record with @Unique byte[] var; after initial insertion of a single record. Below is the exception:   Nbl3hQfe6LHayqZ7TQKivA== iWbldTBdz3etGCqHspWw3Q== Exception in thread "main" [ObjectDB 2.7.4_05] javax.persistence.RollbackException Failed

Use temporary files to enable very large transactions

? What combination of DELETE / INSERT / UPDATE operations are in that huge transaction? Can we assume ... ; What combination of DELETE / INSERT / UPDATE operations are in that huge transaction? Possible

ClassCastException thrown when running count query

have inserted . I'm currently evaluating your product. So i insert and delete a lot of data. I also tried

Unexpected exception (Error 990) on find

I have a huge amount of inserts /updates and after a about 850.000 Entities I got the following error: [ObjectDB 2.4.7_16] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server ... updates (not only inserts ) to some entities. But the Exception seams to come always when searching

Monitoring and Performance counters

informations about how DB is doing. It would be nice to monitor: -  inserts /s, updates/s, deletes/s, reads/s - total inserts , update, deletes, reads - I/O operations/s - caches current usage - uptime

GC Memory

;A large customer file (around 4.5 Gb) is broken out into 16 segments of around 260 MB each.  The process then loads each segment file into memory and then calls persist on each object.   ... file is loaded into ObjectDb.  After the segment is loaded into objectdb, the EntityManager

query.getResultList() throws ClassCastException

to the tips: Yes I noticed this when I started pushing things into the millions, and had already modified ... + faster on existent entities. Ok, good to know.  I've already looked into enabling level 2 caching ... " on JDK 6, so hopefully that's good enough.  I need to look into it more. I'd like to look closer

Unexpected not reproducable exception during commit

when an attempt to insert a new (key,value) to the index finds that pair of (key,value) already in the index

ObjectDB 2.0.0

performance of database insert /update/delete operations. Changed default configuration (for improved