openjpa
How to perform a Non-Polymorphic JPQL query with JPA 1.0?
imagine i have 3 Entities, Basic <- Sub <- SubSub. I want to select Basic and Sub but not SubSub[详细]
2023-03-19 04:04 分类:问答org.apache.openjpa.lib.jdbc.ReportingSQLException, MySQL, OpenJPA, Geronimo
Can anyone explain why I\'m getting this error (full stack trace below): Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: You have an error in your SQL syntax; check the manual that cor[详细]
2023-03-16 10:54 分类:问答OpenJPA criteriaBuilder nested object property fetch
Is there any way in OpenJPA to get hold of a nested object property via CriteriaBuilder? Here\'s a small case.[详细]
2023-03-14 01:21 分类:问答OpenJPA: how to make entity use dynamic update, mutable, optimistick lock, etc
I\'m migrating from Hibernate to OpenJPA. And there开发者_StackOverflow中文版 are many entities with annotations like this:[详细]
2023-03-13 02:09 分类:问答Slow Performing OpenJPA Query
I have the following query method that has slow performance: @Override public Map<String, Long> getFeatureCounts() {[详细]
2023-03-11 12:53 分类:问答Libraries for hash partitioning/Sharding with JPA
My department has decided move to hash partitioning/sharding for some of our large Oracle databases.We will be splitting our entities across different schemas.I\'ve been tasked to do a spike to evalua[详细]
2023-03-11 04:04 分类:问答Mapping A Field To A Custom Query in OpenJPA
I have a class, Location. Location contains a List of coordinates that define its border. @Entity @Table(name=\"LOCATION\")[详细]
2023-03-08 15:29 分类:问答Spring+OpenJPA TransactionRequiredException from delegate service method
We\'re running into problems with Spring 3.0.5 transactional management and OpenJPA 2.0.1 and we can\'t seem to pinpoint the problem so any help is appreciated.[详细]
2023-03-08 13:13 分类:问答How can I "move" an object from one table to another using OpenJPA?
I have two tables, that share the same definition. I commonly insert new objects into one of these tables, let\'s call it Table1. From time to time, I want to move one entry from Table1 to the other t[详细]
2023-03-06 12:24 分类:问答OpenJPA - Extending PersistenceMappingDefaults to convert Camel-Case to Underscores
public class ImprovedMappingDefaults extends PersistenceMappingDefaults { @Override protected void correctName(Table table, Column col) {[详细]
2023-03-05 14:36 分类:问答