Title: Create an abstract class
I have my mapping files from my database. I am using hbm2java to get my java classes, but I want to get them as abstract classes and create other classes wich are extends of this classes already created.
An example:
{Labor.hbm.xml}
name="l
On 10 Nov (19:13), Martin Paoletta wrote:
> I understand why this is happening, What I've been missing is something
> like a business transaction that can span several r-r cycles, with an
> identity map (which should solve the problem of repeated objects) and
Re-use the same Session in each R-
Hi,
A very common use case for my application involves interacting with the
same objects in several request-response cycles. I need to get an object
from the repository, make changes to it, and several request-response
cycles flush the object to the database. Possible changes include:
- Changin
I think what you really want is a bag ;)
Andrew Murphy wrote:
I have converted a number of one-to-many association mappings that
previously used a java.util.Set over to java.util.List, and in the
corresponding 'parent' DAO class I now have the accessor and mutator methods
using a List.
This has
I have converted a number of one-to-many association mappings that
previously used a java.util.Set over to java.util.List, and in the
corresponding 'parent' DAO class I now have the accessor and mutator methods
using a List.
This has introduced unexpected consequences, one being that the collect
This will probably be very useful in situations where we do not have full
control of the object in question. For example Axis is a very good
framework for implementing web services, as well as Java -> XML & XML ->
Java binding. However without modification of Axis, the returned Java
object will a