JPA-NestedSet icon indicating copy to clipboard operation
JPA-NestedSet copied to clipboard

NestedSet & Play! framework model

Open poum opened this issue 14 years ago • 1 comments

I've tried to use JPANestedset which seems great and perfectly respond to my need but Play! model uses long ID and NodeInfo int ID..... I'm not a Java GURU and I don't know workaround to inherit from Play model & implement NodeInfo in the same time ...

But, is an int ID enough ? Should not a long better suitable for this need ?

PS: great work & many thanks PSPS: sorry for my english :-(

poum avatar Sep 16 '11 07:09 poum

The solution might be to have the NodeInfo interface to not enforce the id field, instead relying on the JPA API to derive information about the id field—by no means a bad thing.

JustinTArthur avatar Jun 13 '12 17:06 JustinTArthur