1. DB2 cursor closed error while listing result set forum.hibernate.orgorg.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [select this_.MBR_ID as MBR1_25_0_, this_.CUST_ID as CUST2_25_0_, this_.CLNT_ID as CLNT3_25_0_, this_.PRESBR_ID as PRESBR4_25_0_, this_.PRES_ELIG_EFFV_DTE as PRES5_25_0_, this_.PRES_ELIG_TERM_DTE as PRES6_25_0_ from ARGRX2.PRESBR_ELIGY_LCK this_ where this_.CUST_ID=? and this_.CLNT_ID=? and this_.MBR_ID=? and this_.PRES_ELIG_TERM_DTE>?]; SQL state [null]; error code [-99999]; [ibm][db2][jcc][10120][10898] Invalid operation: result set is closed.; nested exception is com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][10120][10898] Invalid operation: ... |
2. Leal memory in query.list() forum.hibernate.orgHello everybody, I am developing a application using hibernate 3.1, and my OldGen memory in the JVM is inscreasing till the system gets collapsed. I have found that the problem is relared to Lists in Hibernate ( query.list(); ). Any of you know how can I find out a solution to the problem ? This is my code : --------------------------------------------------------------------------------- session ... |
3. Leal memory in query.list() forum.hibernate.orgHello everybody, I am developing a application using hibernate 3.1, and my OldGen memory in the JVM is inscreasing till the system gets collapsed. I have found that the problem is relared to Lists in Hibernate ( query.list(); ). Any of you know how can I find out a solution to the problem ? This is my code : --------------------------------------------------------------------------------- session ... |
4. Leal memory in query.list() forum.hibernate.orgHello everybody, I am developing a application using hibernate 3.1, and my OldGen memory in the JVM is inscreasing till the system gets collapsed. I have found that the problem is relared to Lists in Hibernate ( query.list(); ). Any of you know how can I find out a solution to the problem ? This is my code : --------------------------------------------------------------------------------- session ... |
5. Leal memory in query.list() forum.hibernate.orgHello everybody, I am developing a application using hibernate 3.1, and my OldGen memory in the JVM is inscreasing till the system gets collapsed. I have found that the problem is relared to Lists in Hibernate ( query.list(); ). Any of you know how can I find out a solution to the problem ? This is my code : --------------------------------------------------------------------------------- session ... |
6. Searching sub-lists of entities forum.hibernate.orgWouldn't that be something like from EntitiyA as a left join a.children as b where b = :referenceEntityB I haven't tested it, but i believe this one will create an outer join which again will return the elements that has B in it. If you want the EntityA to come back with its children collection initialised, add "fetch" after "left join": ... |
7. Binding a List in a bean to a parameter in a query forum.hibernate.org |
8. Persisting a @CollectionOfElements (List |
9. how does HQLQueryPlan handles list forum.hibernate.org |
10. Filter a list of records indirectly ref. from another table forum.hibernate.org |
11. Mapping/delete problem from indexed collection (list) forum.hibernate.orgpublic class Row { public static class Key implements Serializable { private Integer year; private Integer number; private Integer rownum; // getters/setters omitted } private Key key; private Document parent; private Integer idx; ... |
12. Avoid updating for list of primitives forum.hibernate.org |
13. SQLQuery list problem forum.hibernate.orgI have a SQLQuery like this: select count(*) , avg(customer.salary) from customer where customer.salary > 1000.0 and customer.salary < 10000; and I'm using hibernate session.createSQLQuery and list function. it returns List |
14. Storing a list of abstract objects forum.hibernate.org@Entity @Inheritance(strategy=InheritanceType.SINGLE_TABLE) @DiscriminatorColumn(name="thingsType") public [b]abstract [/b]class Thing implements Serializable{ @Id @GeneratedValue(strategy=GenerationType.SEQUENCE) @Column(name="oid", nullable=false, insertable=true, updatable=true, length=8) private Long oid; ... } @Entity @DiscriminatorValue(name="cat") public class Cat extends Thing{ .... } @Entity @DiscriminatorValue(name="human") public class Human extends Thing{ .... } @Entity public class Box implements Serializable { ... |
15. First child object in the list is null forum.hibernate.org |
16. nested list mappings forum.hibernate.orgHi, i have the following classes: MyClass, YourClass and HisClass MyClass contains a List of YourClass and YourClass contains a List of HisClass so I have a class that contains a List of Objects, each of which contains a List of more Objects... so I map: |
17. nested list mappings forum.hibernate.orgHi, i have the following classes: MyClass, YourClass and HisClass MyClass contains a List of YourClass and YourClass contains a List of HisClass so I have a class that contains a List of Objects, each of which contains a List of more Objects... so I map: Code: |
18. nested list mapping forum.hibernate.orgHi, i have the following classes: MyClass, YourClass and HisClass MyClass contains a List of YourClass and YourClass contains a List of HisClass so I have a class (MyClass) that contains a List of Objects (YourClass), each of which contains a List of more Objects (HisClass)... so I map: Code: |
19. How to re-index a List-association with list-index forum.hibernate.orgI have following relation Parent having two Children Child1 and Child2. Following is the sample mapping. Code: |
20. Getting the list of object without using relations forum.hibernate.orgNewbie Joined: Wed Sep 16, 2009 1:24 am Posts: 9 I have two tables 1. LoanCustomerDetail - having relation with LoanDetail table 2. CustomerObject - temporary table I need to get list of LoanCustomerDetail objects ,based on the customerNo's from the CustomerObject,which has no relation with LoanCustomerDetail object. For this I need to write a HQL to list all loanCustomerDetail object, ... |
21. JPQL to list the last N records from a table forums.oracle.com |
22. List use in JPQL syntaxis forums.oracle.comHello. Can I use List |