I finally found a solution. It would have been easier if I (and 90 readers up to now ;)) had a better memory about Spring dependency injection courses.
What I was asking for lately (what should I...
Type: Posts; User: ch4mp; Keyword(s):
I finally found a solution. It would have been easier if I (and 90 readers up to now ;)) had a better memory about Spring dependency injection courses.
What I was asking for lately (what should I...
Little progress: using SpEL, I managed to set avro.schema.input.key and avro.schema.output.key, but I don't belive I'm on the right path.
Those String are AvroJob private members and there is a good...
Hi all,
I am trying to setup a job taking avro files as input and producing an avro file.
I managed to read avro records in my Mapper (extending org.apache.hadoop.mapreduce.Mapper, so new API).
...
Looks like I was injecting an EntityManger in my DAOs and using a SessionFilter. Stupid, isn't it ?
Anyway, I removed sessionFactory declaration and used an OpenEntityManagerInViewFilter instead of...
Hi all,
I don't manage to set Spring configuration to serialize (JSON) objects with lazy loaded member collections.
I have set a OpenSessionInViewFilter as states this log extract :
...
You're right. Actually I hadn't tested yet (a C++ and an electronic projects running).
As you, I think ONE_TO_ONE misses. In addition, I doubt of ONE_TO_MANY and MANY_TO_MANY cardinalities relevance...
Hi,
I have just created two issues in Roo Jira :
https://jira.springsource.org/browse/ROO-568 to report generated test bug
https://jira.springsource.org/browse/ROO-569 to request a --cardinality...
https://issuetracker.springsource.com/browse/STS-786
I went little further in my tests.
I face the problem described in ROO-325(toString loop), but not only. I also have an issue with unit tests. Here is a small sample :
@Entity
@RooJavaBean...
I have reproduced this a bunch of times using spring roo shell various ways but allways while running on server my draft app.
So it really looks like this issue is related with "running on server"...
Hi,
Has anyone one an idea of when @OneToOne will be fully supported by roo ?
I have quite a similar need as ibraylovskiy :
I want a bi-directional mapping between a swap and it's two legs....
Hi,
I don't have jira account.
You can contact meby mail on my login at free.fr
Best regards
Hi,
I use ROO from STS.
When I follow the same forkflow as pizza-shop tutorial :
1) create a new project
2) set persistence (Hibernate, hypersonic in memory)
3) create a few entities and...
Thank you for this amzing tool !
I am looking forward to see GWT integration too.
Have an idea of when it will possible to beta test it ?
Hi Dotbart, this one may be easy (RTFgoogleM). Java sources are required to produce client side javascript.
have you declared entity package as a GWT module (Entity.gwt.xml in com.webmailr...
What do you mean exactly?
Can you provide us with an example of bean you added and modified place you inject it ?
Hi,
You may not find the exact mixture you're looking for (Spring MVC+Spring DM+GWT/Wicket) but many resources exist on integrating Spring MVC and GWT.
As you already have integrated everything...
I was recently facing the temptation of duplicating POJOs used for GWT. The reason was GWT limitations (objects used in RPC can't collaborate with non serializable objects).
But Actually, such a...
I've just posted one :http://forum.springframework.org/showthread.php?p=230120#post230120.
Much too late for you, but could be handy for visitors ...
GWT native widget library is quite limited, but many other exist. gwt-ext is an example of very rich library well documented and freely available, so let's go for this one.
Modify project...
hibernate configuration
Add a new Currency.hbm.xml in resources/fr/free/hd/ch4mp/tuto/business/currency:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
...
Right now, the service we expose is not of great interest. It would be much better if the currency list was kept in a database instead of being hard-coded.
Project setup modification
We need to...
Now that we have a service running, we want a client to use it. Using a maven archetype, we will have a configured project within a few clicks, and after minimal Java coding, we'll have a web client...
Web-app setup
Edit /src/main/webapp/WEB-INF/web.xml. Change display-name to GWT / Spring / Hibernate /Maven2 / eclipse tutorial. Define one DispatcherServlet named currencyService and map all...
The service we want is as simple as possible: retrieve a list of currencies from a persistent repository.
Using Spring, it is highly recommended to do business logic in services and delegate...