Internal Website Search
51-100 of 200 resultsChange path for urls2.xml file I am using ObjectDB embedded and have set my home path in relation to the JAR, but running ... the creation path of this file? I assumed it would be in relation to the home path , similar to the db ... directory (regardless of the ObjectDB home path ). You can change the user home directory by changing | |
Path in tomcat path in the manual . Notice that the database file can be at any absolute path that you specify ... :\objectdb" and then use this path . Now you can redeploy you application without deleting database files | |
Problem with distinct select, order by and equivalent alias/attribute path the expressions (alias and access path ) theoretically be equivalent and therefore also the last query should work ... to me switching from alias to attribute path between projection and order by part... bklink Benjamin Klink | |
Adding multi part path index on non-embedable object member. joesms Joerg Weishaupt The index definition is invalid, since a multi path index is limited ... . You may split a multi path index to two separate indexes, e.g. A simple index on the collection | |
Multi part paths in a composite index must have the same length Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Exception in thread "main" [ObjectDB 2.6.0_01] javax.persistence.PersistenceException Invalid index path ... wrapper. Multi part paths in a composite index must have the same length. Therefore, the following | |
$temp property not evaluated properly when used in log path$temp property not evaluated properly when used in log path | |
Navigation through Path to evaluate collectionNavigation through Path to evaluate collection | |
migration path from JPA / Hibernatemigration path from JPA / Hibernate | |
Help with 'not like/lower' query): ParameterExpression stringProp = criteriaBuilder.parameter(String.class); Path path = root.get(property ... = criteriaBuilder.like(criteriaBuilder.lower( path ), stringProp); stringMapOfValues.put(stringProp, property ... = criteriaBuilder.notLike(criteriaBuilder.lower( path ), stringProp); stringMapOfValues.put(stringProp, property | |
UserException: Invalid configuration in 'internal' - Check permissions path . With such information I have tried to create an entityManager, in each slave, as follows ... because ObjectDB doesn't have a permission to create a log file in the default path (as specified in ... on the log directory and ObjectDB Home , and either change permissions for the default log path , or | |
Can I Disable the Creation of the "log" Directory? (attached to forum thread mentioned above), I disable logging (by setting log path ="") but the "log ... which you set the log path to empty, since apparently the only place in which "log" is specified in ... . Path ; import java.nio.file. Paths ; import java.util.Properties; public class Test{ public static void | |
Embedding ObjectDB on server application at the connection file path for the persistent factory. So if I want to pass in the database file path , with relative path , where exactly is it relative to? So I did a test and just wrote:   ... the classpath (i.e. JPA is available but not ObjectDB). It could also happen if the path | |
javax.persistence.criteria.CriteriaBuilder of the specified type Since: JPA 2.1 Path treat ( Path path , Class type) Downcast Path object to the specified type. Parameters: path - path type - type to be downcast to Return: Path | |
javax.persistence.criteria.MapJoin , Path , PluralJoin , Selection , TupleElement The MapJoin interface is the type of the result ... the Map that is the target of the join Since: JPA 2.0 Path key () Create a path expression that corresponds to the map key. Return: path corresponding to map key Since: JPA 2.0 MapJoin on ( Expression | |
Setting temp directory location in ObjectDB file path is calculated using: String dirPath = System.getProperty("com.objectdb.recovery. path "); if (dirPath == null) {   ... ;m_recoveryFile = new File(dirPath, ".$" + m_dbFile.getName() + "$"); So you can change the path by | |
Catching exceptions from client-server mode online backup); backupQuery.setParameter("target", "relative- path "); backupQuery.setParameter("name", backupSubdir); In case the relative- path is not writable we've get: com.objectdb.o.UserException: Failed to create a new file '/absolute- path /relative- path /database.odb' at com.objectdb.o.MSG.a(MSG.java:77) at com.objectdb | |
ObjectDB within a resource adapter module and Java EE Connector Architecture an XML file or you can simply provide the file path of the ObjectDB database instead ... that replaces a logical path with a parameter (similar to $objectdb in the url) with a value from ... is the same in both case, but at least the path is clear. Note also that the user and password | |
Online Backup in client-server mode then it is interpreted as the path on the server machine to which to write the backup file and no temporary file ... it seems, that the Absolute path on Linux/MacOS is not working. When I enter the path /tmp/odb_backup it is still creating ... parameter it represents a path relative to the ObjectDB home directory, and in client-server mode,  | |
Failed to write to ObjectDB log file to create a log file at the default path . Possible solutions: Change the location of the log files to another path . Grant the ObjectDB process permission to write to that path . Disable logging by specifying an empty path . support Support In my project I want to include objectdb.jar into my jar program | |
Failed to read DB file while online backup is running._JdoUserException: Failed to read from file '/ path _to_db/dbFile.odb' NestedThrowables: java.io ... by: com.objectdb.o._JdoUserException: Failed to read from file '/ path _to_db/dbFile.odb ... version. jakab Gergely Jakab Unfortunately the "Failed to read from file '/ path _to_db/dbFile.odb'" error | |
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 | |
Configuration and Activation Code in ObjectDB 2.x Manual. The location of the configuration file is discussed in the Configuration Path section ... , it is mentioned that i can set the conf file path through System.setProperty("objectdb.home", "/odb"); If i am packing the conf file in my jar file, what should be the path that i | |
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 | |
Performance Issues After Migrating to ObjectDB - Urgent Assistance Required # # Note: Please set the JAVA_VM and OBJECTDB_JARS variables! # Path of Java VM (a complete absolute path can be specified) JAVA_VM="java" # Path of ObjectDB jar file (a complete absolute path can be specified) OBJECTDB_JARS="objectdb.jar" # Prepare args (an input odb file | |
ODB tries to create log files inside its own jar on Win7 including in Eclipse plugins so it seems to be related to packaging. Configuration and logging paths ... a special protocol (rsrc:) - the result could be a failure to handle these paths . Setting  ... a new project, added objectdb.jar to the build path as an external jar, and wrote this one-class | |
Replication issue, Replayer failing due to NullPointerException./" on the slave; "/usr/test/backend/db/" is the data path and where all the DB's are on the master ... copying the contents of $replication into the directory above it(the "data path "), this seems like a bug ... the path etc. which isn't correct as it was running as root, I just had this suspicious feeling | |
lockfiles in client/server mode using the same directory for their temporary files. Changing the temporary directory path ... this configuration file is probably not used (see rules for the configuration path on this manual page ... : A temporary directory will not be created in the default location if you change the temporary path | |
How to configure where the ODB is stored? Howard Worden You may specify any file path (e.g. an absolute path "C:\data\my.odb ... ") + "/ /objectdb"); but i find log folder in the path defined for objectdb.home but the .odb ... file name with no path then the current default directory will be used, which could be the Tomcat | |
MapJoin.key() - JPA Method JPA Method in javax.persistence.criteria.MapJoin Path key () Create a path expression that corresponds to the map key. Return: path corresponding to map key Since: JPA 2.0 | |
MapJoin.value() - JPA Method JPA Method in javax.persistence.criteria.MapJoin Path value () Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this. Return: path corresponding to the map value Since: JPA 2.0 | |
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 | |
javax.persistence.criteria.CriteriaUpdate ( Path attribute, Expression value) Update the value of the specified attribute ... Since: JPA 2.1 CriteriaUpdate set ( Path attribute, X value) Update the value | |
javax.persistence.criteria.SetJoin JPA Interface SetJoin Type Parameters: - the source type of the join - the element type of the target Set Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin , Selection , TupleElement The SetJoin interface is the type of the result of joining to a collection | |
javax.persistence.criteria.PluralJoin JPA Interface PluralJoin Type Parameters: - the source type - the collection type - the element type of the collection Super Interfaces: Expression , FetchParent , From , Join , Path , Selection , TupleElement The PluralJoin interface defines functionality that is common to joins to all collection | |
javax.persistence.metamodel.Bindable JPA Interface Bindable Type Parameters: - The type of the represented object or attribute Instances of the type Bindable represent object or attribute types that can be bound into a javax.persistence.criteria. Path . Since: JPA 2.0 Public Methods Class getBindableJavaType () Return the Java type | |
javax.persistence.criteria.CollectionJoin JPA Interface CollectionJoin Type Parameters: - the source type of the join - the element type of the target Collection Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin , Selection , TupleElement The CollectionJoin interface is the type of the result of joining | |
CriteriaUpdate.set(attribute,value) - JPA Method JPA Method in javax.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( Path attribute, Expression value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.set(attribute,value) - JPA Method JPA Method in javax.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( Path attribute, X value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
javax.persistence.criteria.ListJoin JPA Interface ListJoin Type Parameters: - the source type of the join - the element type of the target List Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin , Selection , TupleElement The ListJoin interface is the type of the result of joining to a collection | |
javax.persistence.NamedEntityGraph JPA Annotation NamedEntityGraph Target: TYPE Implemented Interfaces: Annotation Used to specify the path and boundaries for a find operation or query. Since: JPA 2.1 Public Annotation Attributes NamedAttributeNode [] attributeNodes default {} (Optional) A list of attributes of the entity | |
ODB Server tries to write a log file to a weird location We are testing client-server architecture. Our server has the following config: path = "$temp" threshold = "64mb" / inactivity-timeout = "0" / size = "0" user = "true" password = "true" / path = "$objectdb/log/odb" max = "8mb" stdout = "false" stderr = "false" / path = "$objectdb/log/odb/archive | |
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 | |
Compatibility Problems Upgrading from 2.6.9_04 to 2.7.6 to 2.7.6. The desired path was to upgrade the database servers to 2.7.6 first, followed by ... path ? Thanks, Clinton CAPdev CAP Dev the desired path was to upgrade the database servers to 2.7.6 first, followed by the code. Is this a supported upgrade path ? I have run into issues | |
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 |