I am using Active MQ and the DefaultMessageListenerContainer in Order to access the MQ.
When debugging my Application I see lots of DefaultMessageListenerContainer Threads being created and...
Type: Posts; User: cblicious; Keyword(s):
I am using Active MQ and the DefaultMessageListenerContainer in Order to access the MQ.
When debugging my Application I see lots of DefaultMessageListenerContainer Threads being created and...
Oky ... that was a dumb mistake ...
I forgot to annotate in the header of the method the returnvalue with "@ResponseBody"
public @ResponseBody List<Product> findProduct() ...
And...
Hi,
I am using Spring Roo and I developed several Restful Controllers which return JSON objects through the @ResponseBody annotation.
I am always returning Lists of simple Pojos which...
Oky ... thanks that did the trick ...
But also I am searching for the reason ... in normal JSPs you can use the "&&" in EL and in normal JSPs you also won't need to comment your javascript with...
Oh I took the other way .. generation from an existing databse ...
But now I understand your problem ... what Database are you using ?
Did you try GenerationType.TABLE maybe ?
Does the database have a trigger/autoincrement on this column ?
I usually get this error when I have forgotten the autoincrement on this column ...
Otherwise maybe try insertable=false on...
I am trying to use the following statement on a JSP page :
<c:if test="${((loopStatus.index % 3) == 0) && (loopStatus.index > 0) }">
</tr><tr>
</c:if>
Tiles, used in Roo...
I think you can't avoid PK Classes as long as your Databasedesign uses composite primary keys ...
But the solution is quite simple ... If you add a toString() Method in the primary key (first...
What confuses you ? Please explain !
thanks ... didn't suspect it there :D
I am not sure if i am on the right path here ...
I am trying to authenticate a user not only with the password and username but a triplet of information , like username , password and country ,...
Spring Roo added the Formbased Authentication in Spring successfull ... No i wan't to identify a user with a triplet of information, like username, country, password and save this information during...
Hi
Currently I am working with Spring Roo + composite PKs and I realised there are lots of bugs and problems you have to solve.
Even if generation finishes successfull you won't be able to...
I am facing the same Problem here ... :/
Hello !
I want to include some Javascript in a selfwritten Tagx component.
But during compilation the Tiles/JSp Parser seems to mess around with the javascirpt ....
<script...
I am developing a method to that Spring Roo (or at last, what it has generated) can work nicely with composite PKs
Currenlty I am using a toString mehtod for the PK and a decoder (eg. spilt) so...
how do i raise an issue ?
coool :) thanks !
I have found another issue !
The HQL in the "public static long count<<Objectname>>() {..." Method doesn't seem to fit ....
If you have a composite Primary Key it says...
yes ... and all the fields in this class were not generated correctly ...
If I am trying to generate a object with a composite key where different fields of the key are from the Type "char(2)"
Spring Roo doesn't generate the " ,columnDefinition = "char", length = 2 "...
That really did the trick ... now all fields are there where they should be !
Thanks a lot !
Best regards
It has been Microsoft SQL .. but I will update to 1.1.2 .... but the last version of spring roo i was using was builded from Source/Git to avoid the "version" bug !
But thanks anyway, I will...
its ms sql (sorry for not providing this information) .... but i am a newbie to mssql .... are there any obivious mistakes which spring roo dbre can't handle ?
During the Introspection, DBRE finds and shows this fields like shown below
<table name="Store">
<column name="Id" primaryKey="true" required="true" size="19" type="2,numeric()...
Ok ... I would have to create a new View ...
<definition extends="default" name="objects/filter">
<put-attribute name="body" value="/WEB-INF/views/objects/filter.jspx"/>
</definition>
...