I passed on using the nativeQuery option and found a way to do the query with JPQL and query hints -...
Type: Posts; User: drinks.sobe; Keyword(s):
I passed on using the nativeQuery option and found a way to do the query with JPQL and query hints -...
I found another way to query the data using a JPQL syntax and query hints
The query I'm performing returns a lot of records and I only care about the first result.
So I added @QueryHints with two...
What is the correct syntax for passing parameters when using @Query "nativeQuery" option?
I asked the question over in the Roo forum but no response yet -...
After seeing the release of Spring Data JPA 1.1.0 GA - http://www.springsource.org/node/3552
I noticed that the @Query supports a nativeQuery = true flag -...
I have generated a roo project with DBRE from a legacy database.
Options used with jpa setup: --database ORACLE --provider ECLIPSELINK
Options used with DBRE: --activeRecord false ...
This seemed to do the trick. :cool:
Just remember to clear out the caches and delete the sts-caches-* so that Roo can rebuild them.
I was able to reproduce this startup error again.
Roo was working fine in the command line shell until after I imported my multi-module maven project into STS 2.8.1.
My project has 4 modules...
@dudRK
That worked, thanks for the tip!
After deleting the ".spring_roo_pgp.bpg" file in the Users folder, Roo was able to start with no exceptions.
/cheers
Looks like it might be the key server ... http://keyserver.ubuntu.com/pks/lookup?op=get&search=
Response is...
Error handling request
Error handling request: No keys found
I had the same error just now ...
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.2.0.RELEASE [rev 39eb957]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER....
You might try using what is suggested in
14.5.1.4 Dealing with multiple persistence units
http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/orm.html#orm-jpa-setup
...
Thanks for sharing out the source.
I was able to ...
# git clone https://github.com/btlife/Spring-Roo-PetClinic-ExtJS
# mvn clean install
# mvn tomcat:run
# browse to...
@bitlife
also interested, thx
This might help you out ...
http://stackoverflow.com/questions/916169/cannot-use-identity-column-key-generation-with-union-subclass-table-per-class
Looks like the JPA @GeneratedValue strategy...
I tried the you tube link above, but it asked for login to you tube.
After visiting your google code project site, the link to the video work.
http://www.youtube.com/watch?v=Y-kuYj8vsYU
Good...
You might try getting the latest SNAPSHOT build of the Roo Flex Addon - http://forum.springsource.org/showthread.php?t=98528
I found why the WSDL was not showing :eek:
It was in the web.xml configuration.
url-pattern needs to have /* added to it (Step 10 above)
Only having /webservices will still work, but it...
I was also able to get a simple Roo project and CXF configured with CXF added manually.
But when I try and access the WSDL endpoint (?wsdl) I get a Roo "Requested Resource Not Found" page.
Do I...