persistence
What's the difference between the name argument in @Entity and @Table when using JPA?
I\'m using JPA2 and both @Entity and @Table have a name attribute, e. g.: @Entity(name=\"Foo\") @Table (name=\"Bar\")[详细]
2023-04-01 11:14 分类:问答JPA: InvalidStateException Error + Composite Key/EmbeddableId/Sequence Generated IDs
I currently have a schema set up with my database and Java Application using OpenJPA that works most of the time, but sometimes I get the error for a few users:[详细]
2023-04-01 10:58 分类:问答Objectify and entity groups
Here is a question for all the objectify/ app engine gurus out there: I am creating ojectes with a parent/child relationship by storing the key of the parent object in the child.[详细]
2023-04-01 09:29 分类:问答Object won't update
I have an object with strings and integers as fields, which I can update without a problem. I just find the correct field with the unique id and call setPersonalName(\"Mike\"); and make this object wi[详细]
2023-03-31 20:37 分类:问答Is calling persist() flush() and refresh() in one method to persist an entity the right way?
My intention is to return a newly persisted entity just in the same business call to a client in order to get the generated primary key needed for further business logic. Calling a finder method to fi[详细]
2023-03-31 14:31 分类:问答Check for existing, persistent SQLite connection in PHP
PHP supports the use of persistent SQLite connections. However, a problem arises in trying to run maintenance script开发者_Python百科s (like a file backup), with such a connection opened. These script[详细]
2023-03-31 11:13 分类:问答Persisting Entities to a Database Java
I\'m just starting to work with persistence and databases in my use of webapps. I have created several Entity classes and have a database connection set up in Eclipse, but I\'m not sure how to generat[详细]
2023-03-31 02:18 分类:问答Hibernate does not save my newly created objects
I have a pretty simple tables structure: table Products with product_id and name attributes. table Barcodes with product_id (foreign key to the开发者_C百科 Products table) and code attributes.[详细]
2023-03-30 16:18 分类:问答Persist PK Object with JPA (ManyToMany)
Please change title if you know a better one, because I really don\'t know how to express the problem.[详细]
2023-03-30 16:17 分类:问答Updated data (in Database) is not visible via JPA/Eclipselink [duplicate]
This question already has answers here: Spring Data JPA Update @Query not updating? (5 answers) Closed 2 years ago.[详细]
2023-03-30 15:31 分类:问答