ObjectDB Database Search
51-100 of 200 resultsHow to store and compare Date up to sec. How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but I want to store till sec("23 May, 2020 10:25:23 AM") like MySql and other db. They stores the date up to sec. Manoj Manoj | |
Why are my Map entries not stored? Why are my values of the map "states" not stored in the database? It seems the 'State' is stored ... ; 'Authority' (value) is stored (I see entries in the Explorer), but there seems to miss the connection ... @MappedBy: In that case the map content will be stored embedded in the Ticket instances and no  | |
Storing Images What is the best way to store images? As external files? In the database as blobs? Are blobs supported? joelc Joel i use odb to store images, in a complex, persistent uml model based on Eclipse EMF/UML2. to persist the images, i just store an array of bytes (byte[]) representing the encoded images | |
Storing XML files in ObjectDB Hello, Is it possible to store XML files in ObjectDB? Thanks st.clair.clarke St Clair Clarke ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as a tree of Element nodes. Another option is to define an entity | |
First query before any of the object has been stored object is different from what's already stored . The problem is that, before any instances of that object have been stored , the query generates an exception. I'd been expecting  ... if any of an object has been stored yet? jshaffstall Jay Shaffstall The query fails | |
stored procedure in ObjectDB Hi, Does ObjectDB support " stored procedure"? Some frequent ... Yang No stored procedures in ObjectDB. JPA (or JDO) lifecycle events can be used as a replacement ... overhead (no additional round trips), and JPA lifecycle events (unlike stored procedures) are portable | |
Class fields selection to store In a class how do I define which are the fields to be stored ? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store one of the fields should I do the following? Which are the value used for fields that I do not want to store | |
Attempt to store an instance of a non persistable type java.net.URL can rewrite this to simply check whether it is a valid URL $url string and storing it. I can return getURL also as transient to keep my public contract. But it would be nice to have URLs stored directly.   | |
How to configure where the ODB is stored? Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is stored . I need to know where it is so I can inspect it with 'database explorer'. The docs say ... it. So, where is this file stored ??? Also, the contents of the DB don't seem to be persisted between AppServer | |
Unable to store AtomicInteger to store an instance of a non persistable type java.util.concurrent.atomic.AtomicInteger I am using ... is to store an int then from the entity call an extra setup function in @PostLoad | |
Attempt to store an instance of a non persistable type: Attempt to store an instance of a non persistable type technology.tavla.common.device.data.log.v2 ... : Attempt to store an instance of a non persistable type technology.tavla.common.device.data.log.v2 | |
Storing methods? I don't think ObjectDB does this, but I want to ask to make sure: are methods stored in the database along with data? Thanks. lsitongia Leonard Sitongia No, methods are not stored in the database. Therefore, if in client-server mode user defined methods are in use in queries (supported by | |
Wrong data stored in time only fields This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields . The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM | |
Storing objects problemStoring objects problem | |
Wrong data stored in date only filedsWrong data stored in date only fileds | |
Storing Images and Object PoolingStoring Images and Object Pooling | |
Storing a tree of data (depth=3)Storing a tree of data (depth=3) | |
Database crash; ------------------------------------------------------------------------------------------------------------------------ [2017-07-10 11:22:12 #1 store ... server] Server on port 3333 has started by 10380@wzbhb101 [2017-07-10 23:06:55 #3 store ] Database ... -07-10 23:07:23 #1 store ] Database 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' is opened by 11028 | |
Obtaining a JPA Database Connection an EntityTransaction Operations that modify database content, such as store , update, and delete | |
SpringBoot-Point. the points that the user draws on the canvas, are stored using Jakarta Persistence (JPA) in | |
ObjectDB 2.9 Developer's Guide ObjectDB. hows how to use JPA to store , retrieve, update and delete database objects. Explains | |
Database Connection using JPA (properties); EntityTransaction Operations that affect the content of the database ( store , update, delete | |
JPA Metamodel API. This includes all the types whose instances are already stored in the database. Three additional | |
JPA Persistence Unit classes become known to ObjectDB, for example when a first instance of the class is stored in the database. | |
Locking in JPA object. The initial version of a new entity object (when it is stored in the database for the first | |
ObjectDB Overview mode and Embedded mode. Single JAR with no external dependencies. Database is stored as a single | |
JPA Exceptions because of an attempt to store a new entity object with a primary key that is already in use by another existing | |
jakarta.persistence.AttributeConverter Methods Y convertToDatabaseColumn ( X 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 Returns: the converted data to be stored in the database column | |
jakarta.persistence.StoredProcedureQuery: Query Interface used to control stored procedure query execution. Stored procedure query execution ... of all required IN and INOUT parameters. It is not required to set the values of stored procedure parameters for which default values have been defined by the stored procedure. When getResultList | |
jakarta.persistence.ParameterMode Specifies the mode of a parameter of a stored procedure query. See Also: StoredProcedureQuery StoredProcedureParameter Since: Jakarta Persistence (JPA) 2.1 Enum Constants IN Stored procedure input parameter Since: Jakarta Persistence (JPA) 1.0 INOUT Stored procedure input/output parameter | |
javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL whether it is a valid URL $url string and storing it. I can return getURL also as transient to keep my public contract. But it would be nice to have URLs stored directly. webel Dr | |
jakarta.persistence.StoredProcedureParameter Interfaces: Annotation Declares a parameter of a named stored procedure query. All parameters of a named stored procedure query must be declared. See Also: NamedStoredProcedureQuery ParameterMode ... defined by the stored procedure in the database. If a name is not specified, it is assumed | |
jakarta.persistence.TableGenerator: "" Since: Jakarta Persistence (JPA) 1.0 String table (Optional) Name of the table that stores ... of the column that stores the last value generated. Defaults to a provider-chosen name. Default ... the generator table that distinguishes this set of generated values from others that may be stored in the table | |
jakarta.persistence.InheritanceType to inherited fields or properties, and so the state of an entity instance might be stored across multiple ... SINGLE_TABLE A single table for each entity class hierarchy. Subclasses are stored together with the root class, and each entity instance is stored as a single table row. The concrete subclass | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,Class...) ) Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. The resultClass arguments must be specified in the order in which the result sets is returned by the stored procedure invocation | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,String...) ) Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. The resultSetMapping arguments must be specified in the order in which the result sets is returned by the stored procedure | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String) for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets, any result set is returned as a list of type Object[] . Parameters: procedureName - name of the stored procedure in | |
jakarta.persistence.Column of decimal digits to use for storing fractional seconds in a SQL time or timestamp column. Applies ... be stored in a time column, or that the maximum number of digits supported by the database and JDBC driver should be stored in a timestamp column. Default: -1 Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.createNamedStoredProcedureQuery(String) for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets, any result set is returned as a list of type Object[] . Parameters: name - name assigned to the stored procedure query in | |
jakarta.persistence.Embeddable Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Embeddable Implemented Interfaces: Annotation Target: Type Declares a type whose instances are stored as an intrinsic part of an owning ... an embeddable type. An embeddable class does not have its own table. Instead, the state of an instance is stored | |
Step 4: Add a Controller Class object is constructed and stored in the database. Processing is forwarded to a JSP page | |
Eclipse/JPA Java EE Tutorial by a Guest entity object and all the Guest entity objects are stored in an ObjectDB database | |
Eclipse/JPA Web Application Tutorial and all the Guest entity objects are stored in an ObjectDB database. Required Software | |
JPA Web Application Tutorial by a Guest entity object and all the Guest entity objects are stored in an ObjectDB | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Entity Class ... (or New Other... Persistence Entity Class and clicking | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window) and selecting New Class . Enter guest as the package name - use exactly that case sensitive package | |
Getting Started with JPA This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields - x and y . If you already know JPA - the source code will be straightforward | |
NetBeans/JPA Java EE Tutorial the guestbook is represented by a Guest entity object and all the Guest entity objects are stored in | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name | |
Getting Started with JPA and NetBeans This is the NetBeans version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields |