ObjectDB Database Search

101-150 of 200 results

Explorer doesn't open file

It seems as an ObjectDB Explorer bug is handling a specific field of the type  java.util ... refactored the code to store the value as a String and not a TimeUnit it works fine.  I shouldn't have been storing TimeUnit in the entity anyway as it is not a persistable type but it was in a super

Error when trying to open the Explorer (failed to find Java VM)

opens as supposed. Both on console and on windows using explorer.jar works as supposed ... the jar directly as you suggested could be a good workaround. support Support

JPA inheritance issue with ObjectDB - Field not found in type error

I'm using ObjectDB as my JPA provider, and I'm facing an issue with inheritance. My classes are as follows: @Entity public class Item implements Serializable, Comparable { boolean retired ... caused the issue as ObjectDB ignores this ORM annotation. So the cause might be more complicated

OEM license, enhancer

We do have an OEM license. Ig I understand correctly, we do not have to create an activation code for each customer system when we are using enhancer.  As we want to ship a standard database ... Zwicker That is correct. As long as you distribute your software with entity classes

query on calendar class

other date parts are supported by ObjectDB as an extension to JPA), so you should consider ... a Calendar to a Date . Using Date or Timestamp as the field type instead of  Calendar ... with dates, please post a simple single top class running example ( as explained in the posting instructions ) that demonstrates all the issues. support Support

Low performance when getting grove roots

have null as the value of this parent reference. To find the roots I execute a query. If the number ... is explained in this manual page . support Support As I understand, I require having javax.annotation.xxx ... Tsichevski Done as you suggested. Now the query result is always empty :-(   Regards, Vladimir

@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 ... ; silently ignored by ObjectDB, as specified in the documentation . Regarding unique, you may use @Unique . For other constraints, such as non null and length - consider checking relevant fields in

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

log includes "Building a synthetic Class" messages, such as : [2017-11-03 09:40:29 #5 type.loader ... class is not available to ObjectDB it creates a synthetic class as a replacement. But these  ... to building synthetic classes.) (I tried with ObjectDB 2.7.1, and it still fails, as

explorer NullPointerException

-click in 'Open local database' window,and the all the pop menu item is gray and disabled,such as ‘new ... sp3 32bit objectdb-2.4.0. I change environment to other computers,such as windows 2000,oracle jre-7u4 ... the next ObjectDB build. As a workaround, open the Options dialog only when a database is open. Regarding

Is 2 level cache in use?

"); This is an instruction to the ObjectDB server to return references rather than entity objects as results, which can help ... ( as demonstrated above) - but it should be supported in all other query hint scopes in future ... supported in all scopes (e.g. also globally as a persistence unit property). support Support

Incremental online backup

backups much faster as only a portion of the data would need to be copied. Such a feature would also allow ... is corrupted as well, so we need to go back to the previous one. The way this would work ... When a transaction ID is specified as a second argument the Replayer applies recorded operations only until that specific transaction is reached. support Support

zip file or JAR manifest missing

classes in a persistence unit . Specify the type as a parameter to the createQuery method. Access ... to using ObjectDB Enhancer as a Java Agent? Does it happen only when you use ObjectDB Enhancer as a Java Agent?   Please read the first Google result for "Error opening zip file or JAR

Missing (null) elements in eager loaded references

explicitly before closing the EntityManager , to see if it helps at least as a workaround ... this to a minimal self contained test case, as explained in the  posting instructions , with no external ... with the parallel stream but the steam api. If I change it to a normal stream or for each it works, as

Database connection url

I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the explorer. I left the conf file set as :           However, I'm not ... .odb created under db-files/ nor can I connect to it from explorer. So, how does one set up odb as

Complex Schema Upgrade not working

in the previous Contact and Customer tables to be empty as well as the new Address class' table

Removing objects where ManyToMany relationships exist

the database? Are OtherEntities that are referenced in a TreeSet automatically removed as ... scenario you may consider using a bidirectional relationship with  OtherEntity as the owner

Is there a way to set EAGER fetch on all "ToMany" collection relationships

Given that the default seems to be FetchType.LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in ... as the fetch type of all relationships may cause loading the entire database into memory

Not releasing locked MST object

indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding (update ... us know what you find as it would help in working on eliminating this deadlock. support Support

Tutorial issue

Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so I created the new project as specified in Step 1 The only thing I did differently was in ... ; willstewart Will Stewart As the error message indicates you have two different entity classes with the same

EntityManagerFactory objects being locked during EntityManager creation

this behavior is not trival, as it would change the order of locks, which must be preserved to avoid deadlocks (although this would be considered as a possible future improvement). Usually this lock

Storing XML files in ObjectDB

a generic Element entity and store the XML as a tree of Element nodes. Another option is to define an entity class per element type. You can also store an entire non parsed XML file as string or byte[] in one entity object. support Support

Cross-platform license

your license with different operating system, as long as it is the same computer, but sometimes this doesn't

Spatial Support

spatial objects as ordinary entity / embeddable objects. Possibly even instances of that specific library may be persisted, if defined as entity classes (e.g. in an orm.xml file) support Support

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

the context class loader. Setting the context class loader, as suggested in #2 above, is a known ... in order to support e.g. Declarative Services and possibly provide EntityManagerFactory as

License Activation Change and Checking Activation

your computer MAC address. Using MAC address as a machine identifier is a common practice in ... side rather than on the server side, as needed. Please try build 2.5.5_02 that fixes the implementation in

What are the steps of creating small web app?

because they are cloud hosting,  Pay as You Go (PAYG) . - Which IDE and Application Server do you prefer to go with  for me as a beginner? * Note: project aim is to provide User accounts  authentications

problem with lazy loading - unittest project attached

;and TABLE strategies generate automatic values as soon as new entity objects are persisted, i.e. before

Activation error on Schema change

addition, as reported in another forum thread , changing network may also require reactivation. support ... had to activate one more server with Debian - the one with private ip as our development env (23.02

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

' again of cleared up the issue. As I assign no ID's in my GUI - it seems that there could be a small bug? I'm ... that the issue is hard to track. It must be a really small bug as it hardly ever happens (maybe

deadlock with newest version 2.4.4_16

replay files as we were not using these. i have attached our full server strack trace ... _17 should fix this deadlock. support Support could we have some more details as to what has changed

ObjectDB Manual

Hello, I would like to be able to read or refer to the ObjectDB manual (v2) on my Kindle. Unfortunately, I didn't find any option to download the manual, either as a .pdf (most convenient) or as a zipped set of .html files (a single file would be better for an easier conversion to .pdf

Evaluation License

) with no license key. As noted on the license page:     ObjectDB can also be used freely ... commercial license, as explained on the license page. Larger companies are required to purchase a license

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

classes, as far as I can tell, the delegate instances are not using too much memory. I use

ORDER BY problem, when String starts with language specific character

other language letters. Future versions of ObjectDB should support also other ordering methods. As ... queries ( as an extension to JPQL and JDOQL) you can use the Normalizer expression directly in the query

Missing Data on Retrieval (0, null values)

should be the same as the tables in (ObjectDB) Explorer.               harald77 Harald The usual way of using ObjectDB (and JPA) is to define entity classes as ordinary classes

connection pooling

connection string when connecting to the database ( as explained in the JPA Overview section in ... part of JPA you cannot expect it to work as is with other JPA implementations. support Support

app.jelastic.eapps.com and objectdb

of ObjectDB files would be as usual, as demonstrated in the ObjectDB web application tutorials. Note

Data portability

Hi, I've never used an OODB, I'm looking for a starting point but a recurrent concern is the Data Portability one. More clear: what options / strategies do I have to export / move my data to another  tool, if there is a need to? One key point of Ojectdb ( as far as I had read) is Code

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

;Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as : javax.servlet.ServletException ... included a dirty and quick fix that used  get as a prefix for both get and set  persistent ... the enhanced property methods using a suffix rather than a prefix. Hopefully this fix should work as

Unlimited JPA Persistable Types

. There is no point in persisting most of the non serializable types such as Thread , because when retrieved from the database it will not behave as expected. support Support The above link is for an XML ... as expected? Everything has state so are certain attributes lost during serialization in that case

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

, but only for this specific scenario as demonstrated by the test case above. support Support The build 2.6 ... , but we get only the second entry as ecxeption ... ArrayList();     } } It is the same problem as demonstrated by the test case in #3

NullPointer when accessing persistent field

as follows; @OneToMany(cascade=CascadeType.ALL, mappedBy="z_component") @MapKey(name="z_schemeName ... .RemoteTestRunner.main(RemoteTestRunner.java:197)   As before a Map structure was being accessed. @OneToMany ... java.util.Map z_registers  = new java.util.HashMap (); As before Enhancer is being run on code

UPDATE statemen crash when i put the WHERE clause.

_points from Record as n where n.student.nume=:nume and n.student.prenume=:prenume and n.student ... ().begin() ; updateEm.createQuery( "update Record as n set n.lab_points=:points where n.student.nume=:nume ... .lab_points from Record as n where n.student.nume=:nume and n.student.prenume=:prenume and n.student

ClassCastException after upgrade to 2.3.5_03

.objectdb.o.MST. aS (MST.java:461) at com.objectdb.o.MST.U2(MST.java:427) at com.objectdb.o.WRA.U2(WRA.java ... ) at com.objectdb.jpa.EMImpl.find(EMImpl.java:551) ... 7 more The class in question is defined as

Best practice for history tracking

object as new? What is the recommended way for creating a UUID PK? Avishay Ben Natan Avishay Ben Natan ... question about UUID PK and post it as a separate thread. These questions are of great value

JDBC Driver for ObjectDB

/forum/2265 https://www.objectdb.com/forum/2459 As a first step, the target should be a read only JDBC ... in JPQL). This may open ObjectDB for read-only applications, such as reporting. support Support

spuriously objectdb objects have null references

are known as unloaded after detachment. This way you can easily tell the difference (after detachment ... access of ObjectDB or as a -D command line JVM argument. If you just prefer an empty collection

JDO PersistenceManager.getSequence() returns null sometimes

package; you can verify that it is being read at run-time by introducing an error such as an invalid ... to me. Using 2.4.7_05, both nextValue() and currentValue() work as expected - thanks

Can't open replicated database

is being used and not touch the schema? I guess I can catch the exception and skip the query as I'll know the database is empty but this would be a bit messy as it is defined by UserException + message text

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

and eliminates the need for another dependency to an ORM, such as Hibernate, since it implements the JPA ... to avoid coupling it to a specific database. By adding ObjectDB as a database and ORM in a project