Home » Search

About like

61-70 of 200Refresh
Forum
1

Externalising persistence.xml properties in Glassfish?

>
Forum
1

How to Remove records from many to many relationship tables in JPA

have Relation tables    TransportationEvent  and Conclusion  , relations like @Entity public class ... database i have got another two table like Conclusion_TransportationEvent     and  TransportationEvent ... and Conclusion) here i am trying to delete conclusion table records like bellow: removeConclusions
Forum
1

Is it ok to put list or map of embeddable objects in entity ?

entity. And what happens if I do operation like : entA.setBList(new ArrayListlike that @Entity public class EntityA ... .   My problem is - when i remove EntityA instance I would like to have removed all EntityB classes
Forum
1

Issue with Casting / Joins

Hi I can't seem to find my way out of this. Basically what I have is something like: @Embeddable ... but anyway.. :) Now if you can just tell me: 3. How to do this? I mean, how does such a cast look like and how do I know what the substitution looks like from the generated query? Alex The following code
Forum
1

Java 9 support

a "provides" statement.) So, an ObjectDB modular JAR likely would not need "transitive", would not ... therefore since the real class isn't even in my list of packaged modules).  ObjectDB would likely ... wait for third parties (like ObjectDB) to provide a fully designed and tested Java 9 module
Forum
1

java.sql.Date equals comparison not working with CriteriaAPI

value doesn't match any results in the database. Our code looks like this: CriteriaBuilder builder ... method of the created predicate yields in something like: $1.eintritt=2013-11-01 whereas as seen in my manual query string i do something like: $1.eintritt = {d '2013-11-01'} Any ideas
Forum
1

Listing large number of complicated objects with paging.

. The problem is, that running code that looks like this: TypedQuery icQuery = em.em ... -exec-3] DEBUG pl.hplxtool.dao.impl.ProductDAOImpl - Returning data Query manager builds plan like ... 50 records at a time. The funny thing is that in log from query manager fetchSize is like
Forum
1

Multi selection and distinct in a criteria query

hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria
Forum
1

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

, when querying the db with: Query q = JPA.em().createQuery("SELECT m FROM MyClass m WHERE m.myDate LIKE :query OR m.myText LIKE :query"); q.setParameter("query", "%myQuery%"); I ... : Query q = JPA.em().createQuery("SELECT m FROM MyClass m WHERE m.myText LIKE :query OR m.myDate LIKE
Forum
1

Query to search for common elements in two separate collections.

for identical members. Something like: SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER OF :someCollection Is something like this possible in the JPA spec? A possible efficient way ... embeddable class that would wrap the collection with its hash code. Sounds like you are suggesting