ObjectDB Database Search
1-50 of 93 resultsDatabase Schema Evolution, have to be converted to the new schema. Note: In client-server mode the ObjectDB server must be restarted ... of an old schema is loaded into memory it is automatically converted into an instance of the up to date ... name and either the same type or a convertible type, as explained below. A matching field | |
javax.persistence.Convert.converter JPA Annotation Attribute in javax.persistence. Convert Class converter default void.class Specifies the converter to be applied. A value for this element must be specified if multiple converters would otherwise apply. Since: JPA 2.1 | |
javax.persistence.Convert JPA Annotation Convert Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Specifies ... corresponding XML element to specify the Basic type. The Convert annotation should not be used to specify ... will not be portable. The Convert annotation may be applied to a basic attribute or to an element | |
Unable to convert 1.x odb file to 2.x well, but then on converting 1 of the DB files I got this error: java -jar converter .jar ../old.odb ../new.odb ObjectDB 1.0 ... .ConvertManager.main(ConvertManager.java:161) at com.objectdb. Converter .main( Converter .java:26 ... which is 3G in size and I think half of it was converted . The output is much longer (see it in attachment | |
javax.persistence.Converter JPA Annotation Converter Target: TYPE Implemented Interfaces: Annotation Specifies that the annotated class is a converter and defines its scope. A converter class must be annotated with the Converter annotation or defined in the object/relational mapping descriptor as a converter | |
@Convert is not supported? Does objectdb jpa implementation support @ Convert annotation? ( convertion of property before persistance and vice versa) for example @ Convert ( converter = MyConverter.class) private Date date; I've wrote a test on this, and seems that my Converters methods are not executed at all (like | |
javax.persistence.Converts JPA Annotation Converts Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: JPA 2.1 Public Annotation Attributes Convert [] value default null The Convert mappings that are to be applied. Since: JPA 2.1 | |
How to convert a boolean to an int in the query? How to convert a boolean to an int in the query? I have five parameters of type boolean in ... them. You can calculate it in a JPA lifecycle event . Currently you cannot convert boolean to int in ... + ... true and Boolean.TRUE are converted to 1. false and Boolean.FALSE are converted to 0. support Support | |
javax.persistence.Converts.value JPA Annotation Attribute in javax.persistence. Converts Convert [] value default null The Convert mappings that are to be applied. Since: JPA 2.1 | |
javax.persistence.Convert.disableConversion JPA Annotation Attribute in javax.persistence. Convert boolean disableConversion default false Used to disable an auto-apply or inherited converter . If disableConversion is true, the converter element should not be specified. Since: JPA 2.1 | |
javax.persistence.Convert.attributeName JPA Annotation Attribute in javax.persistence. Convert String attributeName default "" The attributeName element must be specified unless the Convert annotation is on an attribute of basic type or on an element collection of basic type. In these cases, the attributeName element must not be specified. Since: JPA 2.1 | |
Convert embedded database to server Hello, What is the right way to convert an embedded database to a server one ? As a result, will a file "db.odb" exist ? If no, where will be located db files ? Regards, Xirt xirt Sylvain No need to convert . Same odb file is used in both client-server and embedded modes. Just copy | |
javax.persistence.Converter.autoApply JPA Annotation Attribute in javax.persistence. Converter boolean autoApply default false Since: JPA 2.1 | |
Logical Operators in JPQL and Criteria API are converted to Predicate instances using the isTrue method. This is required because in the non | |
Numbers in JPQL and Criteria Queries can always be converted to a numeric expression by using the literal method. | |
What are the main benefits of using ObjectDB? convert these queries to SQL and then transition the SQL to the DBMS for execution through a JDBC | |
What is ObjectDB? or convert objects to records/records to objects using SQL or ORM, as opposed to when using | |
Reading 1.x odb files in ObjectDB 2.x without upgrading, but can be converted to ObjectDB 2.x format and then opened. Try running the converter , and if it works, you may add the converter ( converter .jar) to your software and run it automatically to create ... the converter please report. If the converter works well with your databases, but you need help | |
javax.persistence.AttributeConverter of the database column A class that implements this interface can be used to convert entity attribute ... may be the same Java type. Since: JPA 1.0 Public Methods Y convertToDatabaseColumn (X attribute) Converts ... . Parameters: attribute - the entity attribute value to be converted Return: the converted data | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x Hi, I upgraded the odb file using converter .jar which is having 15943 entry. Previously ... it and let you know. I will use the following command after i convert from 1.x to 2.x String ... using the Converter this way, spawning a new process may be preferred. support Support | |
AttributeConverter.convertToEntityAttribute(dbData) - JPA Method;dbData ) Converts the data stored in the database column into the value to be stored in the entity attribute. Note that it is the responsibility of the converter writer to specify the correct dbData ... to be converted Return: the converted value to be stored in the entity attribute Since: JPA 1.0 | |
javax.persistence.criteria.CriteriaBuilder for converting a string to lowercase. Parameters: x - string expression Return: expression to convert ... x) Create expression for converting a string to uppercase. Parameters: x - string expression Return: expression to convert to uppercase Since: JPA 2.0 Expression values (M map) Create | |
Query filter comparing Dates.sql.Time are converted from local elapsed time to GMT elapsed time. An opposite conversion ... a uniform way and clients in different time zones will see the same date and time ( converted to local ... . Therefore, the database contains converted elapsed times and the parameter is not converted . Attached | |
AttributeConverter.convertToDatabaseColumn(attribute) - JPA Method;attribute ) Converts the value stored in the entity attribute into the data representation to be stored in the database. Parameters: attribute - the entity attribute value to be converted Return: the converted data to be stored in the database column Since: JPA 1.0 | |
Embedded in JDO metadata not working in objectDB 2.x ? only adjusted the neccessary code to access the database (JDOConnection, etc.) and converted the DB ... better ? 4. Is there some way to convert a database file with these not-embedded objects ... . Is there some way to convert a database file with these not-embedded objects to an equivalent file | |
[ODB1] Chapter 3 - Persistent Classes, have to be converted to the new schema. ObjectDB implements an automatic schema evolution mechanism ... the memory it is automatically converted into an instance of the new up-to-date persistent class ... is converted automatically to the new type. If casting is illegal (for example from int to Date ) the field | |
CriteriaBuilder.upper(x) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression upper ( Expression x ) Create expression for converting a string to uppercase. Parameters: x - string expression Return: expression to convert to uppercase Since: JPA 2.0 | |
CriteriaBuilder.lower(x) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression lower ( Expression x ) Create expression for converting a string to lowercase. Parameters: x - string expression Return: expression to convert to lowercase Since: JPA 2.0 | |
Problem of query With an aggregate function.setParameter("host",choix.getHost() ); listClassRepHost.setParameter("startDate", convert .convertDateTime(choix.getStartdate()) ); listClassRepHost.setParameter("endDate", convert .convertDateTime(choix | |
Mismatch client-server protocol prefix? The implementation hasn't changed at all. We only converted our WAR to a standalone runnable WAR with embedded Tomcat. In addition we converted our Spring configuration from xml to configuration classes | |
Update Entity references if we change the type of an entity Hello, we must change (extend) our entity model and therefor we convert the type of some entities. As example (like in the attached example): We have an EntityA that have a reference to an EntityB ... how we detect the existing EntityB instances they must be converted to the new Entity. With the same ID | |
Dates David Moshal When a Date instance is stored in an ObjectDB database it is converted automatically ... from the database it is automatically converted back to local time. Using (2) instead of (1) in | |
Join query problem with new statetment BaseEntity implements Serializable, Convertable { @GeneratedValue(strategy ... , Convertable { @GeneratedValue(strategy = GenerationType.AUTO)   | |
virtual servers and one file_ Convert = window.external.ObjectByURI( 'BAB! Convert !' ); var G_FullText = window.external.ObjectByURI | |
Schema evolution & renamed/moved enum convertible type, you can add a new field (with a different field name) with the new type and on PostLoad convert the old field value to the new one. support Support Thanks, I guess I need to persist | |
Catching exceptions from online backup_ Convert = window.external.ObjectByURI( 'BAB! Convert !' ); var G_FullText = window.external.ObjectByURI | |
Indexing a field results in internal Exception I have an application that I have been converting from JPA/MySQL to JDO/ObjectDB and I have hit a problem with indexing. An index on a String field is required to give good performance but if I add ... the way, why do you convert the application from MySQL/JPA to ObjectDB/JDO and not to ObjectDB/JPA | |
Dont want to use Proxy Class Hi, We are trying convert our Java app into GraalVM native image. We are able to convert if we use simple persistable Java data types. But if our entity contains a collection that is stored as an instance of java.util.ArrayList, we are getting UserException that states "Failed to generate | |
multi EntityManager with Spring Boot, but 'Too many persistable types (>10) I'm trying to use two EntityManager with Spring Boot, but no luck with 'Too many persistable types (10) - exceeds evaluation limit' at second database. My purpose is converting database ( converting model entity. same class name but different package). Single application with Spring-Boot 2.1.8 | |
Automatic schema evolution causes ArrayOutOfBoundsException (since String and Pemission are not convertible types), so you will have to use a new field name, and write code to convert from List to List , possibly in a PostLoad callback method . The second | |
Problem with merging / persisitng objects with @Embeddable field Serializable, Convertable { (...) @ElementCollection(fetch = FetchType.EAGER) List productSets; @Embeddable ... Serializable, Convertable { @ManyToMany(targetEntity = ProductSet.class, mappedBy = "productDemands | |
Query in Spring Data error Like for Integer records define a standard method for converting numbers to strings. However, you can make use of the ObjectDB ability to run Java methods in queries and convert numbers to strings using the static method String | |
What role is the JDO in ObjectDB? common features. Using ObjectDB makes it easier to convert applications between these two standards in the future, since the ObjectDB file format is the same - so there is no need to convert data | |
UserException or JDOUserException I received an Exception: "com.objectdb.o.UserException: Attempt to obtain a transaction using a closed EntityManager" Should I ever see a "UserException"? Should it have been converted ... is my code.) CBE CBE Thanks. Build 2.9.6_06 adds the missing wrapper that converts the ObjectDB | |
[ODB1] Chapter 6 - Persistent Objects the numeric ID of the object as a string. The ability to convert Object IDs to strings, and the ability to convert strings back to object IDs (as shown in the next section), make object IDs very useful | |
ClassCastException of same object type project I found that I could convert the objectDB jar to an eclipse plugin. What I had not done was use | |
java 8 LocalDateTime is not working in query compatibility card here, it is not quite working: In JPA you can use the @ Convert annotation in order ... @ Convert ( http://www.objectdb.com/database/forum/849 ). So we are between a rock and a hard place ... how you can use Java 8 date/time using @ Convert , we may be able to add this support. support Support | |
Support Attribute Conversion for Persistence The @ Converter annotation and the Attribute Converter interface have two big benefits: 1) They make it possible to persist any as-yet-unsupported java types that do not implement java.io.Serializable. (If they do, it is possible to persist them automatically by turning on the option in | |
Multiple MEMBER OF query This seems to be the result of how JPQL queries are converted into SQL like syntax before executing. MEMBER ... are actually converted to JPQL and then processed. Could you show me how? Something as follows | |
JPA 2.2 LocalDate still not working doing something wrong? Also Converters are still not working... Kevin Kevin Pfaff The system blocks ... ;OffsetTime and OffsetDateTime are converted and stored as UTC. support Support Thank |