About FROM

61-70 of 200Refresh
Forum
12

java.lang.ClassCastException in OSGi runtime when loading data from DB

ClassCastExceptions on my "entity" classes when I try to read data from the DB. In a very old (2011?) forum ... typedQuery = entityManager.createQuery("SELECT FROM Person p WHERE p.id = 1", Person.class ... is available from two different class loaders: A Person class that is specified in your query. A Person class
Forum
12

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..   Just remove the field from ... the field from the entity class you will have to iterate over all the relevant objects, mark them as dirty
Issue
12

Compatibility Problems Upgrading from 2.6.9_04 to 2.7.6

Hi, We are preparing to upgrade our database servers and application dependencies from 2.6.9_04 ... have switched the jar that includes these dependencies and the problems disappeared.  From my latest round ... the upgrades incrementally (DB servers to 2.7.6 followed by code once stabilized)? Thanks,  Clinton > From
Forum
12

"Rebuild Class Indexes" from the command line?

Hi, Is there a way to "Rebuild Class Indexes" from the command line? I have just added a new index and want to make sure the DBs with previously persisted entities have a BTree with all entities ... running the ObjectDB Doctor, which is run from the command line. ObjectDB 1.x included an Explorer
Issue
12

Can't open DB-file with explorer, but from within my code it works

Hi, The problem occured since an update from my old-version (2.4.7_08) to the new version(2.4.7_18): 1) my recent db-file, created with the old-version, has been copied to the local db-folder ... programatically (from within my code) without any errors 4) the db doctor ends without error messages
Forum
12

Changing existing objects from Entity to Embedded

Hi, I realised that I have a mistake (from application logic point of view) in one of my JDO metadata files:        from version 2.7.2_09 and it made no difference. Looks like
Forum
12

Changing from client server to embedded mode

Client Server mode. kindly provide information how to switch from client server mode to embedded ... to it and you will have to copy your database file into the new location. After finding the location of the database file (from
Forum
12

Data migration from SQLServer to ObjectDB

Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. Unfortunately there is currently no such automatic tool. Using a JPA ORM library (e.g. Hibernate or EclipseLink) you can write your own conversion program that retrieves data from the SQLServer database as
Forum
12

Entity is not related to ObjectDB, but i get exception from ObjectDB

Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive ... , it is an exception from ObjectDB, although the entity itself is not related to ObjectDB any
Issue
12

Exception Failed to read from file

Hello, we have found several these exceptions in our log [ObjectDB 2.5.0_06] javax.persistence.PersistenceException Failed to read from file 'C:\SafeQORS\server\cache\MainORSCache.odb' (error 117 ... .UserException: Failed to read from file 'C:\SafeQORS\server\cache\MainORSCache.odb' at com.objectdb.o