jpa-2.0
How to config depth of cascade operation in EclipseLink?
For example, there is a relationship between A , B and C: A has Many B, B has many C. I want to remove B and C while remove A.[详细]
2023-03-23 13:46 分类:问答JPA2 Criteria API .as(String.class) casting to char(1) - How do I work around this?
Using the criteria api, I have a query which does something like: CriteriaBuilder cb = entityManager.getCriteriaBuilder();[详细]
2023-03-23 04:13 分类:问答JPA multiple select query
I have a query like this, how can I get my entity type from the list? It is returning like object,but when I cast to my Entity it does not cast.[详细]
2023-03-23 00:02 分类:问答JPA - single table inheritance with discriminator inserts but fails to retrieve correct object
I have two tables \'Task\' and \'Contents\'. Im using single table inheritance with discriminator to map two entities (PrimaryContent, AttachmentContent) to the \'Contents\' table. I have a parent ent[详细]
2023-03-22 20:37 分类:问答Exception while lazily loading a collection from entity
I fear that I miss a very basic point, but I\'m stuck at the moment, hopefully someone can point my eyes starring to hard at it to the right one...[详细]
2023-03-22 19:36 分类:问答Is Select EXISTS() possible in JPQL?
I\'m trying to run a query that checks if some conditions are true and returns a simple boolean result as output.What makes it slightly tricky is that one of the conditions is to test fo开发者_StackOv[详细]
2023-03-22 06:45 分类:问答ORA-01400 cannot insert null error in one to one relationship
i have this code public void guardarAspirante(AspiranteDTO aspiranteDTO) { Aspirante aspirante = new Aspirante();[详细]
2023-03-22 05:55 分类:问答how to use another implementation for JPA 2 level 2 cache?
We\'d like to use another L开发者_开发百科2 cache for our big JPA application. We are trying to achieve a shared cache between multiple servers.[详细]
2023-03-21 14:21 分类:问答problem with JPA EntityManager
i am new to JPA, i have a problem with my JPA . i have used the entity manager as follows: 1: package com.icesoft.icefaces.samples.datatable.jpa;[详细]
2023-03-21 12:05 分类:问答JPA multi-tier relationship
I have a problem where I am stuck :(. I have to build a relationship of a relationship( strange !). For example, I have a relation whereone entity A can have many B (OneToMany)[详细]
2023-03-20 20:34 分类:问答