Internal Website 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

Difficulty with the BIRT plugin

. The data path attribute in the server configuration. The path of the server's objectdb.jar file. The path of your database file. support Support

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

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

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

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

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

Object as parameter results in exception

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

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

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

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

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

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

regime (the connection line is the absolute path to the database) no such errors occur

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

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

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

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

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

ObjectDB 2.4.0

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

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

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.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