Hello,
I have an existing Spring/JPA2 stack that is serving our our data as JSON using Jersey.
We are happy with this stack and what it is doing.
Now I would like to build a Roo project to...
Type: Posts; User: aloleary; Keyword(s):
Hello,
I have an existing Spring/JPA2 stack that is serving our our data as JSON using Jersey.
We are happy with this stack and what it is doing.
Now I would like to build a Roo project to...
Is it possible to use some DBRE features to generate from an existing set of DTOs or Entities without going to the schema itself ?
hmm
I was able to get rid of all those errors simply by changing from using DATANUCLEUS
Changed from:
roo> persistence setup --provider DATANUCLEUS --database HYPERSONIC_IN_MEMORY
Using the latest sts-2.3.3.M2 & bundled Roo/GWT
I created the simplest possible project following the steps:
http://www.thescreencast.com/2010/05/how-to-gwt-roo.html
However when I launch...
Ok I dug into the code and this was the problem for me..
I am using JavaConfig like the documentation says here:
AnnotationConfigApplicationContext ctx = new...
I have the same problem here ... Eclipse works fine - but Netbeans shows this problems...
I will look into the classpath docs as the previous poster has hinted ....
Hopefully this will be a...
Thanks for your response...
I guess I'm wondering more from the Roo framework itself... there is a LOT of nice autogeneration etc...
Is there any hooks that would allow me to actually use the...
Hello,
Congratulations on the announcments today - very interesting stuff.
I am considering using GWT+Roo as a way to "skin" an existing set of REST services.
These services all use JAX-RS so...
Hello,
I have switched over to purely annotation & classpath scanning using Spring 3.0.1... however I am getting the following output with no other logs:
...
hello.. simple question but i cannot seem the find any answer online/onforums..
What or is there an annotation for "
<bean id="SomeEnumClass" class="com.blah.SomeEnumClass"...
I am running on 2.5.x...
Just tried it on 3.0.0.M3 and looks a lot better.. will have more time to look at this tonight
THANKS
-A-
OK I now have narrowed things right down and have the EXACT same problem as this guy has:
http://blog.jackcrews.net/2009/02/testing-jpa-with-springs.html
My tests using...
OK so calling:
getEntityManager().flush();
after merge()
Updates the session...
pearing things right back - im expecting this to work but it doesn't ..
createAndSavePerson("David", 28);
Person person = fPersonDao.getById(0);
long version =...
Unfortunately cleaning up the tests as suggested has not improved the situation....
> FYI: your above configuration is overkill...
;-)
Thanks for the tips will try them out asap. I guess it got to overkill stage as I was trying everything to make this work !
Time for some code!
Entity:
@SuppressWarnings("serial")
@Entity
@Table(name = "PHO_BUSINESS")
@XmlRootElement(name = "Business")
Any solution for this .. i seem to be having the same issue at the moment
more info.. if i inherit from AbstractJpaTests it works i.e.
the updated entity returned from:
updatedEntity = entityManager.merge(entity)
Has its version updated and @PrePersist called...
After the entity update if I do an explicit entity select from the database the @version is correctly updated/incremented.
However the entity itself is not updated when I make the following call:...
Hello,
I have a standard test class following the guidelines here: http://static.springframework.org/spring/docs/2.5.x/reference/testing.html#testcontext-framework for using the Spring...
Hello,
I have a ClassPathXmlApplicationContext which causes some exceptions. I would like to be able to catch these and report back some sensible error code (In my case this is a Swing...
I am finding the same problem right now... after extracting out my jpa domain into a seperate jar which will be used in multiple projects. Anyone have any ideas on this?
Hello,
Just wondering if this is possible or if I should look at an alternative solution...
I have an application that is in a multi-tentant like configuration with the following actors:
...
Yes have tried this but this merges down to the child.. not back into the parent...