Home » Search

About like

61-70 of 200Refresh
Issue
1

Best practise loading big data

). But this does not sound like a nice solution. We tried to detach the MyValue object before returning ... . Every MyStep contains a list of 2 MyValue objects. Then we do something like ... then our application gets into trouble. So we need a solution for this serious issue. We would like to know
Forum
1

Explorer in 2.3

field. I would like to enter SHA1.hash("mypassword");  You might use beanshell for the expression ... like 10) to display. Then at the bottom of the table or tree, have a link to fetch the next N ... of elements. Again, most likely I'm only interested in seeing an example of the data
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.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