ObjectDB Database Search

101-150 of 200 results

JPA does not seem to be db agnostic

.class); Root root = query.from(Friendship.class); Path path = root. get("username"); query.where(criteriaBuilder.equal( path , username)); return em.createQuery(query).getSingleResult(); } kasavbere kasav

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

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

Object as parameter results in exception

my path expressions to point to basic java types ( path expression pointing to id):    

JBoss 7 startup fails

production environments was not found on the java.library. path : /usr/local/jdk1.6.0_26/jre/lib/i386/server ... environments was not found on the java.library. path : /usr/local/jdk1.6.0_26/jre/lib/i386/server

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

server.exe on 32bit and 64bit Windows

to winrun4j documentation you may specify the path to the JVM in explorer.ini and server.ini files ... .location=C:\Program Files\Java\jdk1.6.0_29\jre\bin\server\jvm.dll Notice that the specified path

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

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

Compile time enhancement using build.xml of a Netbeans web application

;   (Where obviously the path to your objectdb.jar has to be adapted.) However, I want ... to someone else (you will have to adapt the objectdbjar path property): webel Dr Darren Kelly Thank

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 

Empty query results after JAR creation

your code you use a relative path to access the database:     EntityManagerFactory emf ... will be created automatically in that path . support Support Well, thanks for your advice. I have changed

Spring MVC Errors

eclipse I still have a error like this:   Description Resource Path Location Type Plugin ... : Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org

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

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

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

Changing from client server to embedded mode

in use, so if you have a new objectdb.jar copy in your project, the path will be relative ... an absolute path to that file as a connection url. support Support

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

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

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

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

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

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

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

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

.1beta project run config for deployment to Glassfish4.1: I tried both relative and absolute paths ... addition, instead of a system property you can now set the output path in the configuration

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

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

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

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

to a filing system path .  Example.  "My Drawer/MyFolder/SomeTab/DocumentA" is the case ... (the secondary indexed key) to find the object.  When displaying the path , I can use

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

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

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

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

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

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

Storing Images

. The alternative is to keep the images as external files and keep only their path /name in the database

Integration

out the correct path or argument line to use. i can see a warning in the odb log file about my entity not

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

Issue with DISTINCT Select

a result of path navigation (e.g. x.a.b ). Only explicit variables are shown in toString ... in the error message with the original path that it represents, to make the error message

ObjectDB 2.4.0

compilation of path expressions in queries. Fixed handling null  values in JOIN and path expressions in

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

stress test -> com.objectdb.o.InternalException: null

() for servlet [rest_29133222] in context with path [] threw exception [Error processing webservice request ... () for servlet [rest_29133222] in context with path [] threw exception [Error processing webservice request

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

ODB Doctor Stops Progressing (runs forever)

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

huge heap usage

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

ClassCastException in Tuple.get

that are not a Path - am I right? hobson Maciek Chabros Just to let you know, in most places I managed ... to see it fixed, so Tuple.get would work with any TupleElement, be it Path , Join, Root, or

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

Inverse OneToMany Mapping and EmbeddedId

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

ObjectDB 2.0.2

Fixed a bug in queries on embedded objects in C/S mode. Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code enhancement in Java EE server. Fixed a bug in multi variable queries.