sorry for my english, I speak spanish. I recently migrate an application from ejb 2.x to ejb3 (approx. 300 entities), Im using WebSphere 7.0.0.9.
Here is simple example I\'ve created after reading several topics about jpa bulk inserts, I have 2 persistent objects User, and Site. One user could have many site, so we have one to many relations he
How do I write where clause 开发者_Python百科where the value has spaces: Actually I am using openJPA and I have to set parameter.
I have a problem with mapping many-to-one relationship without exact foreign key constraint set in database. I use OpenJPA implementation with MySql database, b开发者_如何学Pythonut the problem is wit
I have an attribute which is annotated with @Id. The ID is going to be generated automatically when persisting the object. That means that the ID-value is not defined before I persist the object. Afte
I have three tables.AvailableOptions and PlanTypeRef with a ManyToMany association table called AvailOptionPlanTypeAssoc.The trimmed down schemas look like this
We need to make sure only results within the last 30 days are returned for a JPQL query. An example follows:
I have to query a Message that is in a provided list of Groups and has not been Deactivated by the current user. Here is some pseudo code to illustrate the properties and entities:
I\'ve been using JPA for some time now and been in projects where we\'ve used both Hibernate Annotations and Toplink Essentials.
We are trying to use a basic @OneToMany relationship: @Entity @Table(name = \"PARENT_MESSAGE\") public class ParentMessage {