I plan to use this solution from one Graham Smith..
http://www.wobblycogs.co.uk/index.php/computing/jee/58-jpa-2-eager-fetching-on-a-collection
Basically it schools me "OneToMany relationship is...
Type: Posts; User: ameelin; Keyword(s):
I plan to use this solution from one Graham Smith..
http://www.wobblycogs.co.uk/index.php/computing/jee/58-jpa-2-eager-fetching-on-a-collection
Basically it schools me "OneToMany relationship is...
Must be something very silly...
Have a simple one to many relationship...One user related to many primaryPeople
And the entity code captures this well as shown below:
User.java...
Yes I am hitting same...what did you do to get out.
Should have the ability to make jsf backing beans with roo jsf addon with usage like so:
web jsf backingBean RegistrationBackingBean --addManagedBeans AManagedBean, BManagedBean, CManagedBean,...
Don't see an equivalent for the roo command "web mvc controller" in mvc add-on for the jsf addon.
So if I want to make my own custom jsf managed bean, how do I do it?
In my case, I want to create...
When the "web jsf scaffold" is run, the xhtml file gets the same name as the entity option passed in command.
Is there a way to prevent the xhtml file generated from having the same name as the...
How do you use the "web jsf scaffold" command when my form uses fields from many jpa entities?
I used dbre et al to create a set of CRUD pages. Works Awesomely!
In the mix I have a RooJsfManagedBean named UserBean which is autowired to the User entity, the UserService and another service...
In my case I wanted to prevent tests from being created for find and delete methods. So was able to snuff these within the @RooIntegrationTest's annotation, like seen below. My app was crashing...
According to my understanding of the repositoryPattern:
A JpaRepository object should be able to "front" multiple entities(unlike a single DAO which "fronts" a single entity)
Also a service should...
Thanks for the reply.
I am thinking the dbre command should have a "--readonly" option wherein I could specify which tables should be treated readonly.
Hope this can be considered an enhancement. ...
I create jparepository objects with roo(1.2)
Some of the entities are supposed to be readonly(like lookup tables)
How do I "ask" roo not to create delete methods with such repository artifacts...
Does STS have a visual JSF editor wherein one could drag and drop Primefaces components on to a canvas and build the JSF page visually? I know MyEclipse has this setup.
I did ...but it still made the crud methods within the domain objects
I used services and repository commands this time around.
Did see the services use the XXXXJpaRepository within, but saw them...
Kudos to Alan and team for all the new wonderful goodies(layering and jsf)
Burning question: Is it possible to make the DBRE addon create domain objects with @RooJpaEntity in lieu of...
ROOpid Application Development
Don't rue the day. Use Roo.
Bring Joey to Coding. Use Roo.
vROOm - Inception to Deploy in 60!
I know I can manually tweak the class files once generated and add inheritance annotations....but what can make DBRE mechanism detect inheritance automatically? Say I have a Dept-to-Employee...
Wanted to save off to svn. To do it now, have to do push-in and then save off to svn. Also if I svn before push-in and a guy who does not want to do Roo wants to use the code it is difficult.
I know we can Push Refactor to get rid of Roo annotations. That is a royal pain. I want to just save off to repository the java code without the Roo dependency. Better than current would be to have...
I have a db with a many-to-many relationship. When I use DBRE, the scaffolded app's UI(in MVC) for creating that many-to-many link contains picklists for picking ids of the contents of tables in the...
Thanks Rod for the quick reply.
Would like to suggest addition of a handy "field refactor" and an "entity refactor" command for the roo shell. Imho that should work even if the field has been tied...
There must be a way to edit once-entered fields or entities via the Roo shell.
For example, say I typed in the fieldName as "temp" and later realized that it should be "temperature" ....how do I do...
The guide at spring ide site simply sucks.
Is there a real world kinda example that teaches one to use the IDE for making a JEE application.
I looked around but did not see a step-by-step tutorial...
I am going to try this solution in a week's time. If it succeeds then I have the answer:-
http://forum.springframework.org/showthread.php?t=18201&highlight=DelegatingRequestProcessor
Thanks for the reply.
Sorry for the delay...Here is the struts-config.xml
Note usage of "org.springframework.web.struts.DelegatingRequestProcessor"
=======start of...