From: Jon L. <jon...@xe...> - 2002-05-15 09:33:28
|
Hello, I have been playing with Hibernate for the past few days and have been = very pleased with the speed at which I can get things up and running. I = am using it to access some legacy data that has composite keys for some = of the tables. I am correct in my findings that you cannot currently do queries based = on composite keys where you only want to select using only 1 of the = composite key properties? The only way currently supported is to do a = "find" for the object using the composite key object, right? If it is supported I couldn't figure out how to do it, so I ended up = patching Hibernate so you can do a select based on the composite key, = however I think the way I did it is only valid as a temporary solution. = I would be willing to work on adding complete query support for = composite keys if anyone else thinks there is demand for this. Regards, Jon Lipsky |