ObjectDB Database Search

51-100 of 168 results

How to convert a boolean to an int in the query?

;     Path boolCaptial = c.get("capital");        ... .class); Path boolApproveEmail = c.get("approveEmail"); Expression intApproveEmail = boolApproveEmail ... .class); Path boolApproveEmail = c.get("approveEmail"); Path boolApprovePhoneNumber= c

LEFT JOIN FETCH over empty embedded collection returns no results

First of all, thank you for promptly implementing JOIN FETCH over nested paths in response ... may be with the expression  c.bList.val . Path expressions are considered as INNER JOIN by JPA, although apparently it makes sense to consider path expressions in LEFT JOIN FETCH differently. support Support

Does ObjectDB support lazy loading?

void main(String[] args)   { String path = "test.odb"; EntityManagerFactory emf = Persistence.createEntityManagerFactory( path ); EntityManager em = emf.createEntityManager(); em.getTransaction ... ; String path = "test.odb";     EntityManagerFactory emf = Persistence

Help with JPA2 Criteria and conditional operator grouping

; ParameterExpression nameParam = builder.parameter(String.class);   Path namePath = root.get("companyId");   Path conditionOnePath = root.get("conditionOne");   Path conditionTwoPath = root.get("conditionTwo");   Path conditionThreePath = root.get("conditionThree");     c.select

PersistenceException UserException: Failed to validate persistence.xml

. What is the "!" character at the beginning of the path , is it part of your path ? Could you try moving your project to a path with no special characters? I don't know if it would solve the exception but it is worth trying. support Support Thank you. But path acts right way. Finally I've got it. I

ObjectDb.conf Defaults

javax.jdo.PersistenceManagerFactory; import java.nio.file.Files; import java.nio.file. Path ; import java.nio.file. Paths ; import java.util.Properties; public class Test{ public static void main(String ... Directory: %s%n", currentDirectory); Path objectDbConFile = Paths .get(currentDirectory, "objectdb.conf

problem with lazy loading - unittest project attached

class path resource [test/LazyLoadingTests-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [test/LazyLoadingTests-context.xml] cannot be opened because it does not ... omitted Caused by: java.io.FileNotFoundException: class path resource [test/LazyLoadingTests-context

Database absolute filepath

Is there a line of code that can be used to print out my databases absolute path ? I have set it as ... ()); System.out.println(emf.getProperties().get("objectdb.connection. path ")); EntityManager em = emf ... ().get("objectdb.connection. path ")); em.close(); emf.close(); } } support Support Why did you call it test. tmp

ObjectDB Enhancer Tool in Java 9

-Dobjectdb.conf=ObjectDb.conf --module- path com.objectdb.jar --module com.objectdb/com.objectdb.Enhancer ... --class- path objectdb.jar;MyDir com.objectdb.Enhancer com.mystuff.* Command output: [ObjectDB 2.7.1_09 ... you may offer!  CBE CBE Oh, jdk.unsupported in available in my module path (and proven with --list

Explorer in 2.3

. Auto-login of last opened (remote) database puts the full URL into the Database Path field, when it should be only the database path . This causes an error on starting Explorer.exe. Same when opening

Problem with @UniqueConstraint

[] args) { int r = ( int )( Math . random () * 1000000 ); String PATH = "c:\\temp\\test_" + r + ".odb" ; EntityManagerFactory emf = Persistence . createEntityManagerFactory ( PATH ); EntityManager em = emf

Soft Reference Object Cache Recommendation

? Can you see a path of strong references from a root that holds that  byte[] from being garbage ... get freed.  Presumably, all items listed therefore have a strong reference path from some root

Connecting to a remote objectdb server

an absolute path (or relative, starting with $objectdb ) for the database root directory. See this manual ... has no permission to create files at that path . Please check also the ObjectDB log file on the server

Getting com.objectdb.o.UserException:

the location of the log files to another path . Or: Grant the ObjectDB process permission to write to: C ... You should be able to disable logging now with ObjectDB 2.4.3_01 by specifying an empty path .   support Support

enhancement issue

a destination path for writing the enhanced classes as class files ( using -d ), and of course you have to make sure that the path is included in the application classpath before the jar file

JSON serialization and __odbHidden members

with relevant getters/setters) RESTful service class: @ Path ("/user") public class rs1 ... /json") @ Path ("/reguser") public Response regUser(LoginInfo loginInfo, @QueryParam("screenX") Integer x

Standalone server needs dependencies?

had to export my persistence classes to a jar in the server and add it to the class path when starting ... ; Then reset the database, then it does not need the POJO in the class path after! Trianglehead Json

UserException: Package com.example.model is not found by the enhancer

how the enhance() method looks up the model path since it will be inside the example.jar after building?   ... since the path will change depending on which environment the jar is run on. Load time enhancement

Get list of database files

the java.io.File API. You can also get the File (or directory) of a specific path on the server using: File ... ;          host, port, username, password, path

EM.find() is suddenly slower

the picture further. support Support I added both profiling results and an image for the start path ... _ path .png  (104 KB) above. btc_es BTC EmbeddedSystems It might be related to a large eager

Access objectdb.conf as class loader resource

at the expected path , then it is loaded as a resource from: META-INF/objectdb.conf Default configuration is included in objectdb.jar as a resource at that path . You may try putting your jar file

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start? path =/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

Is there an update on running ObjectDB purely in-memory?

;               Any database url or path ... .createEntityManagerFactory("objectdb:test.mem"); The exact path (as long as it is ended with such suffix

How to apply Unique constraints on embedded fields?

is enforced by maintaining an index. You can try defining a multi part path index in class ... Caused by: com.objectdb.o.UserException: Invalid index path 'b1.c.values / b2.c.values' in type org

WebService : Failed to get reference value of field using enhanced method

the class path . If you cannot solve the problem - try to isolate it and to post a simple test case ... in the class path . no, all my classes situated in one place --- I get always this error : "Failed

Slow performance on Mac

; java -jar demo-0.0.1-SNAPSHOT.jar write / path /to/file.odb - To read data (write):     java -jar demo-0.0.1-SNAPSHOT.jar read / path /to/file.odb   Attached: - JAR file

Query in JPA2 with LEFT JOIN on INNER JOIN

.get(Action_. path ).get( Path _.id), idPAth); masterPredicate = cb.and(masterPredicate,predicateOnPath); for (int i = 0; i

Unexpected exception during open the database

and see if you get exception? Note that if ObjectDB doesn't find the configuration in the expected path it uses ... , with the configuration file that you just sent. Another path we can try is to silent this exception

Fantom

(after setting java build path for the objectdb.jar), it worked perfectly! See attached database file ... Same IDE. See attached screenshot. objectdb.jar is in the Java Build Path . I also added it to 

Error activating objectdb

C: \ Users \ Roberto Pinto java -cp objectdb.jar com.objectdb.Activator Error: The main class com.objectdb.Activator was not found or loaded this is the path of the activator D: \ BBDD_Entornos ... directory and cannot find it. Either specify the full path of objectdb.jar or run the command after moving into the bin directory. support Support

unable to update table in slave server database

. As slave database is storing data in replication path ,while we are giving replication url as ... , but you can also move the master and slave database files to new paths , if needed, generate new

Client server mode no longer works after JRE install

with my application as opposed to the version of java on the PATH variable. I will not know in ... an ordinary Java program , so by specifying full JVM path you can select any JDK or JRE

JPQL JOIN FETCH Error

John Brush The query is not a valid JPQL query since JOIN FETCH should be followed by a path ... WHERE LOWER( doi.doi ) LIKE LOWER( "10.000/test" ) ...I get the error: Invalid fetch path : .titles

Database is locked when in use

(diectory path );   binitbhaskar Binit Bhaskar It should be a string, but since it is undocumented

mapping file is not being loaded

is interpreted by ObjectDB also as a direct database path , so if the persistence unit is not found

Database is erased after deploying a new web application version

. Yotam Yotam Boaz Where is your database located (i.e. what is the path to the database file

Is redirecting the log file possible

somewhere more convenient? Knut Hansson Knut Hansson Yes, you can configure the log path . support Support That did it - many thanks! Knut Hansson Knut Hansson

Source not found error after downloading ObjectDB 2.3.7_04

of my existing project. I added the Objectdb.jar file in build path . There were no compile time errors

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

solution. support Support Hello, thank you for confirming that changing the class path is the right way

Guestbook Tutorial (Eclipse/Glassfish)

. You can move the database to a safe location by specifying an absolute path on your computer

Alias not used in ORDER BY

Hi, I am doing something simple like final Root from = criteria.from(T.class) final Path path = from.get("someStringProperty") final Expression upperPath = builder.upper((Expression ) path ); upperPath.alias("TEST"); criteria.multiselect(from, path ); criteria.orderBy(builder.asc(upperPath)) I

Use temporary files to enable very large transactions

a location for temporary files in the configuration file . The default path is  $temp/ObjectDB ... well as paths to these objects from root objects (to see why they are reachable and cannot be garbage ... dump. The screenshots shows a summary in 'number_of_instances' and the paths to these objects from

ODB Doctor Stops Progressing (runs forever)

;   483 Mar 18 10:10 NEW_consumer_target_Kroger_15.odb$ export PATH =$ PATH :/cap

Inverse OneToMany Mapping and EmbeddedId

;an attempt to support path expressions such as  "id.ab" . Please try it. support Support to 1 ... is attached. Sorry. to 2: Path expressions are recognized now, but entitys from EmbeddedId are not mapped

Best practise loading big data

and paths of strong references from roots to objects? support Support @Entity class MyStepBlockCollection ... the configuration file that is actually  used by ObjectDB. In recent releases of ObjectDB you can the path

huge heap usage

about the roots and paths that keep these objects in memory (particularly roots and paths

ArrayIndexOutOfBounds with Critera API and function call

with CriteraBuilder.function("$1.getAge", Integer.class) ($1 is a valid path we've goot from our root selector). NOTE ... expression with  CriteraBuilder.function("$1.getAge", Integer.class) ($1 is a valid path we've

ObjectDB BIRT Driver Update

\MANIFEST.MF (The system cannot find the path specified) java.io.FileNotFoundException: C:\Users\kwhittin ... \META-INF\MANIFEST.MF (The system cannot find the path specified) at java.io.FileOutputStream.open

ObjectDB 2.5.1

Added support of editing enum values in the Explorer. Added logging of type registration . Added error message when using mapped by (inverse) collections and maps of invalid types. Changed JOIN FETCH to act as LEFT JOIN in path expressions. Updated the PDF manual. Fixed a possible deadlock

Resource leaking via a rogue Shutdown Hook

, and after the application has been stopped. The thing to look for is the fact, that the only path