Doing a composit pk is documented, but how do you ...
# exposed
g
Doing a composit pk is documented, but how do you do a composite id?
t
Composite ids is unsupported yet.
g
Isn't it needed for general join tables? What should the id need to be when you have two keys like that... e.g. user, userAddresses (2 keys), addresses?
t
You can join such tables, but can't map entities to it.
g
Which means I can use DSL but not DAO right? still learning and you know your stuff. Not sure I even like DAO, seems useful but not as often and as flexible as DSL... Can DAO do joins? Doing it with DSL was easy to figure out but I only did that after giving up on DAO joins.
g
Cool... yeah, I realize the reason it wasn't working for me was that I might of been using a non IdTable, lol, oops