If you really want or need to break the abstraction layer and bypass JPA
((Session)entityManager().getDelegate()).createCriteria(MyObject.class);
seems to work fine for me on tomcat.
It...
Type: Posts; User: petercm; Keyword(s):
If you really want or need to break the abstraction layer and bypass JPA
((Session)entityManager().getDelegate()).createCriteria(MyObject.class);
seems to work fine for me on tomcat.
It...
Thanks for the update.
In case anyone ends up here via Google or something I believe the answer to my 2nd question about the @GeneratedValue is to provide the ID field and @Id annotation myself...
Just wanted to make sure I wasn't just doing it wrong before posting a bug.
http://jira.springframework.org/browse/ROO-589
I also tried the other methodMethod attributes which I assume are...
I've looked around a bit but haven't seen anyone else asking about this. If I have read-only access to existing tables (in my case HR data), there doesn't seem to be a way to turn off the persist,...