|
Content with label hibernate in codesmell (See content from all spaces)
Related Labels:
javaee, ejb3, jee, jpa
Hibernate Bug when mapping Collections
you see your collection mapping broken or at least unstable (no matter if in combination with attached or detached entities) using hibernate3 3.2.1 do not hesitate to try hibernate3 3.2.2.ga. We lost serveral hours today due to a bug introduced in 3.2.1 ...
Other labels:
javaee, ejb3
|
Hibernate and IndexColumn
you might know already, Hibernate adds an important nonSpec Feature to the JPA: ordered List Mappings. It is used as easy as: @OneToMany(fetch = FetchType.LAZY, cascade = ) @IndexColumn(name = "sort", base = 1) private List<B> b = new ...
Other labels:
javaee, ejb3
|
EJB3 Entity-Relationships
Had some fun with EJB3 Entity definitions today, that showed a pitfall of "Quickandeasydon´tthinkabout" relationship definition. Situation is as follows: @ManyToMany(mappedBy = "a", fetch = FetchType.LAZY, cascade= ) @Cache(usage = CacheConcurrencyStrategy.READWRITE) private Set<B> b = new HashSet<B ...
Other labels:
javaee, jee, ejb3, jpa
|
|
|