ObjectDB Database 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 | |
Literals in JPQL and Criteria Queries instead of literals are more generic and efficient because they can be compiled once and then run many | |
Defining a JPA Entity Class and automatic sequential value generation . This powerful feature of ObjectDB is absent from other object-oriented databases. | |
Database Doctor. The second argument ( new.odb ) is the path for the new database file that the ObjectDB Doctor generates . | |
Obtaining a JPA Database Connection you to define a persistence unit generate an EntityManagerFactory . However, with ObjectDB | |
Query Parameters in JPA number of methods is not typical for JPA, which is generally known for its lean and simple API | |
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 enables you to examine the persistent object model and retrieve details about managed classes, persistent fields, and properties, similar to how Java reflection provides this capability for general Java types. The Metamodel interface The main interface of the JPA Metamodel | |
Chapter 6 - Configuration" ... If a configuration file is not found, default values are used. General configuration considerations | |
JPA Annotations policies. Automate the generation of primary keys and other field values using various strategies | |
Online Backup file by using the code above could generate a backup whose full path is c:\objectdb\backup | |
JPA Criteria API Queries queries. The Criteria API is generally better for dynamic queries that are built at runtime | |
JPA Listeners & Callbacks Annotations to the database, making the generated primary key available. Update events Handle events triggered | |
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 ... , SEQUENCE , and IDENTITY . The AUTO generation strategy may expect a database resource to exist, or | |
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 | |
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.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 | |
Generating new activation code gives 500 server errorGenerating new activation code gives 500 server error | |
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 | |
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 | |
Step 4: Run the Application) When you run the application for the first time, a new ObjectDB database file is generated in the db sub | |
Step 3: Add a Main Class In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax | |
Step 4: Add a Controller Class (which is presented in the next tutorial step) that generates the HTML output. The JSP uses the GuestDao component | |
Step 4: Add a Servlet Class page (which is presented in the next tutorial step). The JSP uses the "guest" attribute to generate | |
Step 4: Add a Servlet Class). The JSP uses the "guest" attribute to generate the page output. Notice that operations | |
Step 4: Add a Servlet Class the next tutorial step). The JSP uses the "guest" attribute to generate the page output. Finally | |
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 connection for every web request. In general , holding a database connection open for longer than necessary |