Internal Website Search
51-100 of 200 resultsFailed 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 fieldsauto-generated uuid fields | |
Database Doctor above) is the path to the new database file to be generated by the ObjectDB Doctor. | |
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 | |
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 | |
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 | |
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 | |
Generating new activation code gives 500 server errorGenerating new activation code gives 500 server error | |
javax.persistence.TableGenerator Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A table generator may be specified on the entity class or on the primary key field or property. The scope of the generator name is global to the persistence unit | |
javax.persistence.SequenceGenerator Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A sequence generator may be specified on the entity class or on the primary key field or property. The scope of the generator name is global to the persistence unit | |
javax.persistence.ForeignKey of foreign key constraints when schema generation is in effect. If this annotation is not specified ... to specify whether foreign key constraints should be generated . The syntax used in ... element is not specified, the provider will generate foreign key constraints whose update and delete | |
javax.persistence.GeneratedValue for the specification of generation strategies for the values of primary keys. The GeneratedValue ... primary keys. Example 1: @Id @GeneratedValue(strategy=SEQUENCE, generator ="CUST_SEQ") @Column(name="CUST_ID") public Long getId() { return id; } Example 2: @Id @GeneratedValue(strategy=TABLE, generator | |
javax.persistence.JoinTable or control 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 ... . These are only used if table generation is in effect. Since: JPA 2.1 ForeignKey inverseForeignKey default | |
javax.persistence.MapKeyJoinColumn columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to SQL generated by the provider for the column. Since: JPA 2.0 ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign | |
javax.persistence.ForeignKey.value (Optional) Used to specify whether a foreign key constraint should be generated when schema generation is in effect. A value of CONSTRAINT will cause the persistence provider to generate a foreign key constraint. If the foreignKeyDefinition element is not specified, the provider will generate | |
javax.persistence.JoinColumn Attributes String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL for the column. Since: JPA 1.0 ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation | |
javax.persistence.OneToMany-valued association with one-to-many multiplicity. If the collection is defined using generics ... and the orphanRemoval element apply to the map value. Example 1: One-to-Many association using generics // In ... () { return customer; } Example 2: One-to-Many association without using generics // In Customer | |
javax.persistence.Persistence schema generation to occur. The Persistence class is available in a Java EE container environment as ... the factory. These properties may include properties to control schema generation . The values ... and/or create DDL scripts as determined by the supplied properties. Called when schema generation | |
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 | |
[ODB1] Chapter 5 - JDO Connections to establish a separate database connection for every web request. In general , holding a database connection | |
javax.jdo.spi.PersistenceCapable. The extra methods in the PersistenceCapable interface might be generated by pre-processing a .java file, or might be generated from a tool directly. The exact technique for generating the extra methods is not ... the ObjectId. This method is generated in the PersistenceCapable class to generate a call to the field | |
javax.jdo.spi.JDOImplHelper. This method is generated in the PersistenceCapable class to generate a call to the field manager ... , String name , and Float salary ) would have the method generated : void jdoCopyKeyFieldsFromObjectId ... to the key fields in the ObjectId. This method is generated in the PersistenceCapable class to generate | |
javax.jdo.annotations.Join for a generated foreign key constraint. Since: JDO 2.1 String generateForeignKey default "" Generate or ... "true" or "false". Since: JDO 2.1 String generatePrimaryKey default "" Generate or assume a primary ... ". Since: JDO 2.1 String index default "" The name of the index to generate . Since: JDO 2.1 String | |
javax.jdo.annotations.Element extensions. Since: JDO 2.1 String foreignKey default "" Name for a generated foreign key constraint. Since: JDO 2.1 String generateForeignKey default "" Generate or assume a foreign key constraint ... String index default "" The name of the index to generate . Since: JDO 2.1 String indexed default | |
javax.jdo.annotations.Value String foreignKey default "" Name for a generated foreign key constraint. Since: JDO 2.1 String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns ... of the index to generate . Since: JDO 2.1 String indexed default "" Whether the value column(s | |
javax.jdo.annotations.Key default "" Name for a generated foreign key constraint. Since: JDO 2.1 String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns associated ... to generate . Since: JDO 2.1 String indexed default "" Whether the value column(s) should be indexed |