1. Difference between Set and Collection in hibernate stackoverflow.comWhat is the difference between using a Set or a Collection for @OneToMany or @ManyToMany properties on my hibernate entity objects? Does Hibernate map things differently depending on which one you choose? ... |
2. Hibernate: Collections of Collections stackoverflow.comThis is a problem I keep on running into: I would like to have hibernate manage a single table that represents a collection of collections. For example:
|
3. How to determine Collection changes in a Hibernate PostUpdateEventListener? stackoverflow.comIn Hibernate, implementing a PostUpdateEventListener allows you to plug into Hibernate's workflow and gives you the opportunity to inspect and compare the old and new values of an Entity's properties as ... |
4. Implementing Collections based (DDD) Repository with Hibernate stackoverflow.comI'm trying to see if it's possible to implement a repository as a
|
5. PreUpdate not firing when adding to a collection stackoverflow.comI have a JPA annotated class which contains a collection like so:
|
6. Unique items in Hibernate collections stackoverflow.comI have defined a collection in Hibernate like this:
It creates a mapping table with colums ... |
7. Converting Between Hibernate Collections and My Own Collections stackoverflow.comI have set up Hibernate to give me a |
8. Hibernate collections within collections stackoverflow.comI have a Hibernate entity named Menu which has a collection of Groups, each group in turn has a collection of MenuItems. So as an example, a menu can be ... |
9. collections of collection stackoverflow.com
|
10. Hibernate - found two representation of same collection stackoverflow.comWhile inserting/modifying a record in the database i am getting following exception as:found two representation of same collection but the strange thing is the record in the database are successfully updated ... |
11. How does Hibernate stores collections? stackoverflow.comI would like to know, how does Hibernate stores collections internaly? To make it clearer. I have entity Text which is annotated by a collection of Tags. So there are two ... |
12. Hibernate Collection coderanch.comHello, I have lots of objects mapped to hibernate. One object has |
13. Hibernate: Found two representations of same collection coderanch.comHi all, I'm getting a HibernateException saying "Found two representations of same collection: domain.Email.recipients" when updating a class that's holding a java.util.Set of java.lang.Strings. Doing a Session#save() on the same object works perfect. It's just the Session#update() that's making trouble here. I tried searching the Hibernate forum and found a couple of old threads that discussed the same problem but there ... |
14. Collections - Hibernate coderanch.comHi, I have two POJOs, User and Factory. I have three tables, t_user, t_factory and t_user_factory t_user has user profile (primary key is user_id) t_factory has factory details (primary key is factory_id) t_user_factory has user's assigned factories (user_id and factory_id are only columns here). The reason why t_user is not having a factory_id is that t_user will have lot of redudant ... |
15. Hibernate is ultra-sensible at collections! coderanch.comFound (another) tricky thing about Hibernate. To be honestly is starting to piss me off. Maybe because I still don't have the experience to steer clear of these problems or i just miss the old days when I was writing every query with my own hand and everything that happened was so predictable. So I have a standard class A that ... |
16. org.hibernate.QueryException: The collection was unreferenced ? coderanch.com |
17. JPA [Collections] coderanch.comHi! I've got a little problem with collections in JPA. To retrieve a data in a simple field it's ok, exemple @Entity @Table(name = "XXX") public abstract class ... { @Column(name = "ID",) private long id; } Query = "SELECT y FROM XXX y WHERE y.id = :id But, if I have un Set |
18. how to say all items in collection in another collection? forum.hibernate.orghow do we say cleanly in hql something like, "select only the rows where all the elements in my collection are contained within this other collection" when I use "object in (:collection)", it does an "OR" on the individual items so it pulls all the rows with at least one match. I basically want the opposite - only pulling if they ... |
19. Hibernate collection many to many forum.hibernate.orgWhen I want to update a collection (insert or remove an item) hibernate first remove all items (delete all) from database and then insert the remain items in the collection, I don't understand why. I just doing something like this: ParentObj parent = dao.get(ParentObj.class, id); ChildObj child = new ChildObj(); child.setId(childId); parent.getChildCollection().remove(child); dao.save(parent); Thanks! |
20. InitializeCollectionEvent underlying collection forum.hibernate.org |
21. collection of interface opbject forum.hibernate.orgHallo How can i map a one-many relationship where the set is a collection of different objects each implementing a common interface. each implementaion of the inteface maps to a different table. for example. parent object : Person common interface : ContactDetail subclass : Address, email, PhoneNumber e.t.c; Assitance will be greatly appreciated. |
22. JPA 2 MetaModel: "collection of any not supported yet" forum.hibernate.org |
23. Inmutable collection and still tries to erase it forum.hibernate.orgI use a view to map a relation between SomeClass and OtherClass, the problem comes when I want to delete an instance of SomeClass. I have this kind of mapping: Code: |
24. make a collection as uninitialized forum.hibernate.orgHi! I am using pattern data transfer object, with mappers to make the translation between dto y domain. Some collections are of type 'DeleteOrphan', but they are not taken into account in the dto. In the mapper, to make collections from the transfer, I need to make some collections uninitialized. If left empty, the elements are removed. if null, ''A collection ... |
25. 2010 Fall Winter UGG Collection forum.hibernate.org |
26. Sample code for org.hibernate.collection package forum.hibernate.org |
27. ElementCollection and collection contracts forum.hibernate.orgHello Hibernate users, Can someone please explain or point me to some relevant documentation, why isn't collection type contract enforced when a collection of basic types (e.g. String) is mapped using @ElementCollection? Seems at the moment (jpa 2.0, hibernate 3.6.0) it doesn't matter if collection type is a List or a Set - same ddl is produced. I'd expect when Set ... |
28. Duplicated items in One-To-Many collection forum.hibernate.org@Override public Order findById(Serializable id) { List results = jpaTemplate.find("select o from Order o where o.id = ?1", id); return results.size() > 0 ? (Order) results.get(0) : null; } |
29. Nested Collection not been initializated forum.hibernate.orgHi all I have de following scenario ObjectA has a collections of objectB. ObjectB has a collection of ObjectC. Every relation is in lazy fetch mode. I use a criteria in order to get a list of ObjectA. In that criteria I change the fetchmode of the two nested collections to JOIN. I then return the collection to my web tier. ... |
30. fail-safe cleanup (collections) warnings before crash forum.hibernate.orgHello, We have a webapp (Tomcat 6.0.20, SpringMVC 2.5.6, Hibernate 3.2.7, MySQL 5.1.44) that generally runs smoothly for days (even weeks) at a time, but on more than one occasion has gone down just after Hibernate gives the following warnings: WARN org.hibernate.engine.loading.LoadContexts fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@11969cd |
31. Collection change listener forum.hibernate.org |
32. Hibernate has a bug processing collections forum.hibernate.orgHello, I just migrated to Hibernate 2.1 beta3 and I am getting an error when I try to save an object that contain collections: net.sf.hibernate.AssertionFailure: Hibernate has a bug processing collections It says Hibernate has a bug. I think it is only a 2.1 version problem because it didnt occur when I used 2.0.3. However Id like to migrate because I ... |
33. previous-/currentState of collections in onFlushDirty forum.hibernate.orgIf a property, thats a Set is changed by Set.add() or Set.remove() and Interceptor.onFlushDirty() is called, then the previousState and the currentState of this property are the same object Set. So I can't really get the previousState and the currentState of the Collection. Does anybody know a way to get this information of the collection in Interceptor.onFlushDirty()? Thanks in advance |
34. .add reads all collection items forum.hibernate.orgHi, I have a parent/child relationship. My child table has several million records. I've just migrated from EJB entity beans to hibernate, and everything works fine, except that I can't add a child to a parent withou causing hibernate to read all child entities into the collection. I do something like this variable = getVariable( ... ); sample = new Sample( ... |
35. Collection strangeness forum.hibernate.orgHello, I have a class with a non-lazy list of child items. When I fetch the data from the DB, I can access the parent properties just fine but there is something strange with the child list. I have two rows in the database and the log says total objects hydrated: 2 ... collection fully initialized 1 collections initialized However, when ... |
36. Initializing a many-to-many collection forum.hibernate.orgThanks, Gavin, that does (kind of) make sense, especially if one is looking at the relationship from the perspective of the database. I suppose that I was just assuming that the relationship would be viewed from the perspective of the java objects instead. I guess that way I was looking at it, a one-to-many and a many-to-many are not very different ... |
37. OutOfMemoryError with indexed Collection forum.hibernate.orgI think we may have found the cause of an OutOfMemoryError that has been troubling us for some time. Today we tracked it down to a one-to-many mapping using a List with an index. It would appear that the error was triggered because the value of the index was very large. Consider the following code in net.sf.hibernate.collection.List: /** * @see PersistentCollection#readFrom(ResultSet, ... |
38. Collection and client forum.hibernate.org |
39. How to compare collections in findDirty ? forum.hibernate.org |
40. Initializing collections forum.hibernate.org |
41. How to properly manipulate collections ? forum.hibernate.orgHi all, I got the mappings: |
42. 2.1beta6 collection bug? forum.hibernate.orgHello. In short: Hibernate throws ConcurrentModificationException trying to initialize lazy collection. I'm sorry for not providing mappings etc. here, but it will take time to isolate problem and paste only meaningful data here. Of course I will do it if it is absolutely necessary. I just hope someone may quickly guess where the problem rooted. Code: java.util.ConcurrentModificationException at ... |
43. Missing Method Collection.getOneToMany() in Hibernate 2.1rc1 forum.hibernate.orgHi, with Hibernate 2.1beta6 I did something like net.sf.hibernate.mapping.Collection collection = ...; collection.getOneToMany().getAssociatedClass() to determine the type of the elements contained in a collection. I just downloaded rc1. It seems that the method getOneToMany does not exist anymore with this new version. Could anyone please tell me how I can get the same information with the rc1 api? Thanks, Peter |
44. get the sum in collection ??? forum.hibernate.org |
45. "In" Expresssion and collections forum.hibernate.org |
46. Found two representations of same collection forum.hibernate.orgI've been struggling with an the following error for a while now: "Found two representations of same collection" I've traced it to my calling session.clear(); I was just wondering about this behavour. It seems to me to be a bug (although more likely my misunderstanding something). Why should session clear cause this error? Also I'll just make the comment that the ... |
47. Custom collection and one-to-many forum.hibernate.orgHello, I wonder if is there possible to use custom collection (instead of hibernate's built-in: set, map, etc.) in one-to-many association. As far as i understand I should use CompositeUserType - but I have no idea how to incorporate my new type into mapping file and one-to-many relation. For exaple suppose we have custom collection public class FooVector { // vector ... |
48. Can't get "orber by" to work with collection! forum.hibernate.orgList res = session.createCriteria(Documento.class) .createCriteria("versaoDocumentos") ... |
49. Found two representations of same collection forum.hibernate.orgBeginner Joined: Sat Jan 31, 2004 10:09 am Posts: 26 Hi all, could anybody tell me why this occured? I want to save an entity, but that entity was loaded in previous request cycle. I kept that entity in the Visit. And that entity has a one-to-many collection. I will attach my session controller in the last. ---------------------------------------------------------------------- Code: Caused by: ... |
50. Workaround for collections of collections? forum.hibernate.orgHiya. I understand from the docs that collections of collections aren't supported in Hibernate. Is there a common design pattern that Hibernate users employ for working around this? Specifically, I'm in need of persisting a Map where the keys are strings but the values are Maps. (An even better world would have me persisting a Map with string keys but values ... |
51. Call Hibernate.isInitialized() before adding to Collection? forum.hibernate.org |
52. collection manipulation forum.hibernate.orgHi All, If I have a one to many from object A to object B, but A does _not_ control the lifecycle of B, which is the proper way to implement the mapping and the java code for adding/removing B elements to/from A? I am particulary having problems for removing a B from the collection referenced by A. If I do ... |
53. How to efficiently copy collections? forum.hibernate.orgI have a typical one-to-many relation parent -> children where children are a set. I wish to create another parent object whose children are copies of the children of the original. It appears that the only way to do this is to create a new parent object object, persist it, and ONE at a time create a copy of each child ... |
54. How to detach a collection? forum.hibernate.orgI have: public Collection xxx(String username) { Session session = HibernateUtil.currentSession(); Transaction tx = session.beginTransaction(); query = session.createQuery("..."); Collection resultList=query.list(); tx.commit(); HibernateUtil.closeSession(); return resultList; } But I get nothing returned, I guess it's because i close the session. I don't know when would be the best time to close a session and how to detach a object/collection. can someone help me ... |
55. mapp a collection forum.hibernate.orgHibernate 2.1 Oracle 9i Hi everybody. I'm a begginer in hibernate, so, I need help! I'm trying to mapp this object: public class Negocio { private IDomicilioNacional m_domicilioComercial; private IDomicilioNacional m_domicilioFiscal; public Negocio() { } } ---------- Here are the other objects: public interface IDomicilioNacional { public CodigoPostal getCodigoPostal(); public void setCodigoPostal(CodigoPostal aCodigoPostal); } --------- public class DomicilioNacional extends Domicilio implements ... |
56. Antipattern - Accessing an uninitialized collection forum.hibernate.orgThe AssertionFailure that occurs when a user is accessing a child collection in the parent during the load of the parent has been pretty well documented and discussed. http://www.hibernate.org/Documentation/FAQsFromTheForum#A32 http://forum.hibernate.org/viewtopic.php?t=928523&highlight=isinitialized We were having the same problem and don't want to introduce a Hibernate-specific check (if (Hibernate.isInitialized(coll)) ...) into our domain model. At the end of the last post above, Gavin stated: ... |
57. Collections manipulation ? forum.hibernate.orgNewbie Joined: Tue Apr 20, 2004 8:43 am Posts: 6 All day I've been trying to understand how java collections are used in Hibernate I realy need the help of the CLUB ;) I use the foloving example Code: //Boss.java /** * * @hibernate.class */ public class Boss { private String branchName; private ... |
58. net.sf.hibernate.collection.Set and java.util.Set forum.hibernate.orgHi all. We are making one web application with Struts and Hibernate. When I load an element (with some relations inside it) I have one object with some relations mapped inside Set objects (java.util.Set interface and net.sf.hibernate.collection.Set implementation). Supose that we have those objects inside Set lazy (so they will be loaded if they are readed). Ok. We want to transfer ... |
59. How to reload a collection without loosing other other data. forum.hibernate.org |
60. Optimize hibernate collections forum.hibernate.orgI have an Entity, which have list of others entities (childs) i'm using lazy=true for list mapping. All fine, but when i added new child to list, whole collection loaded by hibernate. It's perfomance problem now, because the ammount of data is rather large. If i use inverse=true for list, hibernate doesn't load collection and generate only one SQL INSERT , ... |
61. Hibernate Collections forum.hibernate.orgI'm currently using Hibernate2 in a distributed enironment that implements services via remote EJB calls. My concern is this....We have clients that will need to include the Hibernate jars in their class loaders since Hibernate "sneakily" replaces the java.util.* collections with it's own. Is there a way around this? Can Hibernate be configured to return java.util.* collections instead? |
62. "Found two representations of same collection" forum.hibernate.orgIn my current project our team got the following HibernateException "Found two representations of same collection". Could anybody clear me the cause of this exception? I see the comment to the method that throws this exception: Code: /** * Initialize the role of the collection. * * The CollectionEntry.reached stuff is just to detect any silly users who set up * ... |
63. getting data from a collection forum.hibernate.orgI am using the one to many mapping between two tables |
64. Adding a new instance to a already existing collection forum.hibernate.orgI have a many-to-many relationship between two tables A and B. I need to update A by setting a new B to the collection of Bs in A. Set Bs = A.getB(); Bs.add(b) session.flush(); My Bs collection is lazy. My problem is, when I add a new B to the collection, I am reading the entire collection and then adding to ... |
65. Many-to-many mutable collection forum.hibernate.orgI'm having trouble tracking down the relevant documentation that explains the best way of going about having add methods to add a new item to a collection. public Set getFoos() { return foos; } public void setFoos(Set foos) { this.foos = foos; } public void addFoo(Foo foo) { this.foos.add(foo); } Now i get java.lang.UnsupportedOperationException when trying this. I'm in the process ... |
66. How to model a collection within a collection? forum.hibernate.org |
67. "'Found two representations of same collection" forum.hibernate.org |
68. Unexpected behavior with net.sf.hibernate.collection.Set forum.hibernate.orgFirst, let me say that Hibernate is awesome. I'm just now playing around with it, but really like! I'm seeing one weird behavior though: Discription: The 'contains' method is returning false, but I know the given object is (the only object) in the set because: a)It's iterator finds it: assertEquals(hibernateSet.iterator().next(), givenObject); //passes b)Wrapping the hibernate Set in a java.util.HashSet results in ... |
69. Collection or CSV forum.hibernate.orgHi Guys I have a property called owners which is a comma-separated list of Strings representing users. I wish to load a set of objects from the datbase where a passed username is in this comma separated list. I can't see anything in the HQL reference for this and I thought a Collection was a bit heavy-handed for this or not? ... |
70. "Found two representations of same collection" exc forum.hibernate.org |
71. doesn't handle collections inside collections? forum.hibernate.orgHi Michael, thanks for the quick reply. I'm interested in why you think that it is not good OO? For example I have an Account object which contains multiple AddressBook objects & a user can add as many as they wish. These AddressBook objects need to contain multiple Contact objects which contain the info about each contact. How else would one ... |
72. "Found two representations of same collection" in forum.hibernate.orgDear group, I jused hibernate as our persitence mechanism for the brand new project. That far it I could get it work. But now I ran into a problem I can't solve on my one. First the context: We're using coconn for a web-app and hibernate as the persistence mechanism. I read all the hibernate stuff at cocoon and ended up ... |
73. prefetching collections forum.hibernate.orgI'm trying to reduce the number of queries that need to get executed and am looking for some tips. We have a search query that is returning elements of type FooImpl. Each FooImpl class has a collection property mBars that contains elements of type BarImpl. The BarImpl class has no reference to the FooImpl that contains it. Our original search query ... |
74. Dynamic instantiation with a Collection forum.hibernate.orgHibernate version: 2.1.4 Mapping documents: Code: |
75. Wrapped Collection forum.hibernate.org |
76. Collections under Hibernate forum.hibernate.orgOk, this issue seems related to the user of Collections under Hibernate. It seems to be caused by the fact that I return a clone() from Theme.getChildren(). Hibernate doesn't seem to like that. The question is, is there a way to return a clone() from getChildren()? "Good coding practices" call for returning either clones from getChildren() or a constant Map. The ... |
77. NPE net.sf.hibernate.collection.Set.iterator(Set.java:131) forum.hibernate.orgI'm very sorry. This problem has come up in a production environment. So I'm very out of my mind. This system has been working fine. The only thing I think that has changed, is that some attributes mapped using Hibernate are now derived. So the getter return a calculation based on children in a Set The attribute is still mapped, the ... |
78. setCacheConcurrencyStrategy on collections forum.hibernate.org |
79. How expensive is a collection that is rarely used? forum.hibernate.orgHibernate version: 2.1.7 This is more of a question than a problem or issue. I've read Hibernate in Action and the manual, but did not see a clear answer to this. I've got a somewhat deep class hierarchy, with five classes A, B, C, D, E, F and G, such as: Code: ... |
80. Don't dereference a collection==intrusive code restriction? forum.hibernate.orgNewbie Joined: Sun Dec 12, 2004 5:52 pm Posts: 9 Hello everyone, I have a question, is there a way to solve the following problem and leaving cascade="all-delete-orphan". Here is a mapping snippet that maps a map: Code: |
81. collection of abstracts forum.hibernate.orgNewbie Joined: Tue Dec 28, 2004 4:51 am Posts: 1 Hibernate version: 2.1.7c Mapping documents: class Portal { String name; Collection crefs; } abstract class CRef { String name; Portal portal; } class ComponentCRef extends CRef; class FolderCRef extends CRef; |
82. Hibernate Collections and result sets forum.hibernate.orgWe are attempting to integrate with a presentation layer technology that works exceptionally well with result sets and, to a lesser degree, XML documents. Is there a way given a hibernate collection to return the collection as a JDBC result set? An alternative solution would be to serialize the collection and its contents; however, that is percieved to be less desirable. ... |
83. Found two representations of same collection forum.hibernate.orgAuthor Message thomasFranck Post subject: Found two representations of same collection Posted: Thu Jan 13, 2005 5:23 am Newbie Joined: Tue Jan 11, 2005 10:56 am Posts: 6 Hibernate version: 2.1.6 Full stack trace of any exception that occurs: SEVERE: org.springframework.orm.hibernate.HibernateSystemException: Found two representations of same collection: intra.novartis.pharma.smt.dao.RecordVO.businessCaseAttachSet; nested exception is net.sf.hibernate.HibernateException: Found two representations of same collection: intra.novartis.pharma.smt.dao.RecordVO.businessCaseAttachSet ... |
84. Found two representations of same collection forum.hibernate.orgHi all, I'm getting a HibernateException saying "Found two representations of same collection: domain.Email.recipients" when updating a class that's holding a java.util.Set of java.lang.Strings. Doing a Session#save() on the same object works perfect. It's just the Session#update() that's making trouble here. I tried searching the forum and found a couple of old threads that discussed the same problem but there were ... |
85. Hibernate vs xml vs collection forum.hibernate.orgMy question: I am still in the learning curve regarding Hibernate including Java. So please your help would be wonderful. Assuming that you receive a collection, a list or the type doesnt matter if that contains more than one element. So think about followupid = OK1_1, OK1_2 Observation = Good, Ok, Bad. And status = I To have a better understanding ... |
86. one-to-one to a collection handler instead of one-to-many forum.hibernate.org |
87. any-to-many and collections! forum.hibernate.orgAuthor Message tristpost Post subject: any-to-many and collections! Posted: Thu Feb 17, 2005 4:36 am Newbie Joined: Fri Jan 14, 2005 4:58 am Posts: 10 Hibernate 2.1 / MySQL I have read some previous questions about how to map many-to-any with collections in this forum but I still do not manage to get it right.... My though is to ... |
88. Collection with nested collections - Possible? forum.hibernate.org |
89. Help needed with collections forum.hibernate.orgHibernate version: 2.6 I have the tables like in this example: owner (owner_id, name) animal (animal_id, owner_id) cat (animal_id, someattribute) dog (animal_id, someattribute) owner can have an collection of dogs and cats. Animal is abstract thing. When I try to map like this: |
90. bi directional indexed collection forum.hibernate.orgI've been going the rounds with this one myself. (Search for "Bidirectional lists - for the record" in the forum for my unintelligible gibberish conversation with the gurus!) Basically it comes down to a short answer and a long answer. You're better off with the short one, which is: "Just because." The long answer has to do with two issues. Issue ... |
91. Unable to create a collection of collection forum.hibernate.orgAuthor Message pmahesh Post subject: Unable to create a collection of collection Posted: Wed Mar 23, 2005 2:04 pm Newbie Joined: Tue Mar 22, 2005 10:49 pm Posts: 1 Problem: I have a Booking object which contains a collection of BookingWeek objects. When i create the booking object and the collection of bookingweek object at one shot, it goes ... |
92. writing collections forum.hibernate.org |
93. Detaching Hibernate collections for remote client forum.hibernate.org |
94. Evicting Hibernate collections - RMI Client speaking IIOP forum.hibernate.org |
95. I got "MappingException: collection was not an associat forum.hibernate.org |
96. net.sf.hibernate.collection.Set not deterministic? forum.hibernate.orgHibernate version:2.1.8 When I look up a collection (List) by running the HQL Code: from Child c where c.parent=? the order of entries returned is deterministic. ie no matter how many times I run it (across hibernate sessions) the order is the same. However when I get the same Collection via association Code: Set set = parent.getChildren() the order is non ... |
97. Collection doesnt work forum.hibernate.orgAuthor Message danicuki Post subject: Collection doesnt work Posted: Mon Apr 18, 2005 6:27 pm Newbie Joined: Mon Apr 18, 2005 5:53 pm Posts: 6 Hibernate version:3.0 My database have this relationships: A table named "Item". The primary key is (cod_empresa, cod_item) A table named "Estrutura". The primary key is (cod_empresa, cod_item_pai, cod_item_filho) I have two foreign keys for ... |
98. Help with collections forum.hibernate.orgHi, I have problem with HQL. I have this entities: UserAccount, Opravneny, Spis, Opravneny2Spis UserAccount: { ID, Name, .... Opravneny //collection to Opravneny } Opravneny { ID, ... } Spis { ID Opravneny2Spis -> collection } Opravneny2Spis { ID File -> } Spis -> (1 : N) -> Opravneny2Spis Opravneny2Spis -> (1 : N) -> Opravneny UserAccount -> (1:N) Opravneny and ... |
99. Simple Collection use forum.hibernate.orgHibernate version: 3.0.1 Name and version of the database you are using: SQL Server 2000 sp3 I've read through the documentation many times and now also have several books on the subject just to fill things out. My question is this as I've not seen it addressed anywhere just yet: I have a number of tables which are essentially lists of ... |
100. Can I avoid net.sf.hibernate.collection.* dependency? forum.hibernate.orgThis is a general query I have with relation to hibernate. We have a hibernate2 based persistence layer on a JBOSS server. The API to the service layer exposes the objects (POJOs)generated by hibernate. We have a seperate JAVA application using this API, but to my surprise, the returned POJOs from the API have a dependency on the net.sf.hibernate.collection.* classes for ... |