ObjectDB Database Search

51-100 of 200 results

Failed to generate dynamic type objectdb.java.util.ArrayList

_06] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Server VM 1.6.0_26 ... .objectdb.o.InternalException: com.objectdb.o.UserException: Failed to generate dynamic type objectdb.java.util.ArrayList com.objectdb.o.UserException: Failed to generate dynamic type objectdb.java.util

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

when using with generic classes for "deep" value wrappers with signatures like: @Entity abstract public ... with the other generic value wrapper examples, as it exhibits a problem with ObjectDB that the others do not ... the JD-GUI decompiler , which has better support for generics than the now-obsolete JAD

Possible issue for default id generator

generator when strategy is sequence. Error: Incomplete definition of auto value in field MyTestCase ... and 36: @GeneratedValue(strategy=GenerationType.SEQUENCE)//, generator ="seq") @Id @SequenceGenerator ... there is no default generator but the element generator is optional. Thanks. eurojet P. F. Martinez In ObjectDB

auto-generated uuid fields

Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values, and when we try to use it the error message seems to imply that auto- generating strings isn't supported

Primary key generation problem after changing entity package

@SequenceGenerator(name = "SEQ_BOARD", allocationSize = 5, initialValue = 1) @GeneratedValue( generator = "SEQ ... ;     @GeneratedValue( generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE ... 2.3.7_04] javax.persistence.PersistenceException Duplicate definition of generator 'SEQ_BOARD in

com.objectdb.o.UserException: Failed to generate dynamic type

" [ObjectDB 2.6.1_05] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit ... .UserException: Failed to generate dynamic type Entities.AbstractLong at com.objectdb.o.MSG.d(MSG.java:75 ... more [ObjectDB 2.6.1_05] Failed to generate dynamic type Entities.AbstractLong (error 361) The class

EmbeddedId with Generated field value

both solutions I expected I could get a generated value for the field uid by simply adding the documented ... simply a not contemplated future? Slinky Silvio Ornano Automatic generated IDs is currently supported

auto generate timestamp

Hi all, How can I create auto timestamping column? I want the database to generate the timestamp. I tried google but suggested solutions doesn't work in objectDB. http://stackoverflow.com/questions/811845/setting-a-jpa-timestamp-column-to-be- generated -by-the-database - Pawel   pawel Pawel

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto- generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following ... to have the id available earlier (immediately after persist ) - you have to switch to sequence or table  value generation strategy. support Support

Field in Generic Class not persisted?

Hi, I am trying to persist a class which is extended from an generic class - but fields declared inside the generic class are not persisted - is that expected? I assume it can be done b/c this field can be recovered after serialisation/deserialization. Here is an code to demonstrate the problem

General Performance Issues Illustrated with a Specific Method

Cloud HIMS is a JSF/JPA (EclipseLink 2.3)/MySQL application designed to capture data in Health Care Centres across Sri Lanka. We've recently migrated to ObjectDB to improve performance. Despite the migration, we're experiencing general performance issues across all transactions. As requested in

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid use of annotations. This is an example of what I'm trying: When the code is run I get the message:  No definition of generator 'audit_seq' (referenced by field com.spiffymap.sealog.model

Query performance in general

Hi ObjectDB team, we are currently investigating performance issues that affect some of our customers. Unfortunately, we are not yet able to reproduce issues in a test case, so we rely on reports and log files from customers. During internal analysis and discussions, we had some general questions

Should I be able to persist a JFrame (or gui components in general)?

about it, that just defining the interface is not generally enough to define the persistence, 2 things

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath , so what is missing or how to recognize what is wrong with that class ?? thanks in

Report Generation with BIRT and JPA

hi In  Report Generation with BIRT and JPA  tutorial. step:1 completed but in step:2  "business Intelligence and Reporting tools"   is not  available. attach in image1.jpg Thank you Bimal kumar Dalei     Bimal Bimal kumar dalei The title of the dialog box

auto-generated uuid fields

auto-generated uuid fields

Control and Setting

This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations:

Obtaining a JPA Database Connection

to be able to generate an EntityManagerFactory . But when using ObjectDB you can either define a standard

Query Parameters in JPA

to JPA, which generally excels in its thin and simple API. There are 9 methods for setting parameters

SpringBoot-Point

mouse events) and generating the output (the canvas display). It is explain in the Frontend Section

Eclipse Public License - v 1.0

OF SUCH DAMAGES. 7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable

JPA Metamodel API

The JPA Metamodel API provides the ability to examine the persistent object model and retrieve details on managed classes and persistent fields and properties, similarly to the ability that Java reflection provides for general Java types. The Metamodel Interface The main interface of the JPA

Online Backup

 above could generate a backup whose full path is  c:\objectdb\backup\201912312359\test.odb

JPA Exceptions

.TransactionRequiredException Exception Class Overview The root of the JPA exception class subtree is: General errors

jakarta.persistence.ForeignKey

: Annotation Specifies the handling of foreign key constraints when schema generation is in effect ... should be generated . The syntax used in the foreignKeyDefinition element should follow the SQL syntax used by ... will generate foreign key constraints whose update and delete actions it determines most appropriate

jakarta.persistence.JoinTable

(JPA) 1.0 ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in ... (Optional) Used to specify or control the generation of a foreign key constraint for the columns

jakarta.persistence.PersistenceConfiguration

by "jakarta.persistence.schema- generation .create-script-source" . Since: Jakarta Persistence (JPA) 1.0 SCHEMAGEN_CREATE_TARGET The provider- generated SQL script which creates the schema when "jakarta.persistence.schema- generation .scripts.action" is set. Since: Jakarta Persistence (JPA) 1.0 SCHEMAGEN

jakarta.persistence.GenerationType

Enumerates the defined primary key generation strategies. See Also: GeneratedValue Since: Jakarta Persistence (JPA) 1.0 The Auto Generated Values article explains how to use GenerationType . Enum ... , and IDENTITY . The AUTO generation strategy may expect a database resource to exist, or it may attempt

jakarta.persistence.JoinColumn

(Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... ) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true ... when generating the DDL for the column. Defaults to the generated SQL for the column. Default

auto-generated uuid fields

Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values, and when we try to use it the error message seems to imply that auto- generating strings isn't supported

jakarta.persistence.Column

applications which make use of schema generation should explicitly specify the precision and scale of columns ... ) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true ... UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence

jakarta.persistence.SecondaryTable

the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect. If both this element and the #foreignKey element of any ... . These are typically only used if table generation is in effect. These constraints apply in addition

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic for loop over an @entity type I get a generics error. The generic for loop is:  for (Steel s ... this. webel Dr Darren Kelly This rewrite of the generic for loop works but it is inconvenient

Generating new activation code gives 500 server error

Trying to generate a new activation code using our site license key gives a 500 error every time. Code generated using version 2.7.4_04 and openjdk 1.8.0_171. spiffy Jonathan Harley There was a problem, thank you for this report. Please try again now. support Support

jakarta.persistence.MapKeyJoinColumn

(Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... ) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true ... when generating the DDL for the column. Defaults to SQL generated by the provider for the column. Default

Generating new activation code gives 500 server error

Generating new activation code gives 500 server error

jakarta.persistence.CollectionTable

the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element and the foreignKey element of any ... . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 1.0 Index

jakarta.persistence.Table

if table generation is in effect. These constraints apply in addition to any constraints specified ... (Optional) Indexes for the table. These are only used if table generation is in effect. Note ... constraints to be applied to the table. These are only used if table generation is in effect. Default

jakarta.persistence.MapKeyColumn

statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by ... (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults

jakarta.persistence.PrimaryKeyJoinColumn

) The SQL fragment that is used when generating the DDL for the column. This should not be specified for a OneToOne primary key association. Defaults to the generated SQL to create a column ... appended to the generated DDL which declares this column. May not be used in conjunction

jakarta.persistence.OrderColumn

(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider ... is included in SQL UPDATE statements generated by the persistence provider. Default: true ... when generating the DDL for the column. Defaults to generated SQL to create a column of the inferred type

jakarta.persistence.Persistence

. It may also be used to cause schema generation to occur. The Persistence class is available in ... . These properties may include properties to control schema generation . The values of these properties ... tables and/or create DDL scripts as determined by the supplied properties. Called when schema generation

jakarta.persistence.OneToMany

. If the collection is defined using generics to specify the element type, the associated target entity ... association using generics // In Customer class: @OneToMany(cascade = ALL, mappedBy = "customer") public ... without using generics // In Customer class: @OneToMany(targetEntity = com.acme.Order.class, cascade

jakarta.persistence.PrePersist

class. A generated primary key value is available when this callback occurs only for UUID , TABLE , or SEQUENCE primary key generation . For IDENTITY primary key generation , the generated primary key

jakarta.persistence.ForeignKey.value

) Used to specify whether a foreign key constraint should be generated when schema generation is in effect. ConstraintMode.CONSTRAINT specifies that the persistence provider must generate a foreign key ... will generate a constraint whose update and delete actions it determines most appropriate for the join column

Step 4: Add a Servlet Class

to generate the page output. Notice that operations on the database are carried on by the 

Step 4: Add a Servlet Class

the next tutorial step). The JSP uses the "guest" attribute to generate the page output. Notice that operations

Step 4: Add a Servlet Class

(which is presented in the next tutorial step). The JSP uses the "guest" attribute to generate the page output

Which API should I use - JPA or JDO?

databases is more important than general portability to both object and relational databases. JPA