Hi,
I have created a new user with a new role: ROLE_MANAGER.
I have added a new interceptor named "managerOnly" to see
if user is in role ROLE_MANAGER.
When I login with this new user I get login error.
Is there a missing step that I should do?
Ali Behzadian Nejad.
--
View this message in co
In that case, I'll go with an uneducated guess and say "yes". ;-)
Matt
On Wed, Sep 10, 2008 at 9:30 PM, Carlos Ortiz <[EMAIL PROTECTED]> wrote:
> Perhaps not. Perhaps yes. Only need on this topic. It is just that.
>
> On Thu, Aug 28, 2008 at 10:40 PM, Matt Raible <[EMAIL PROTECTED]>
> wrote:
>>
>
Perhaps not. Perhaps yes. Only need on this topic. It is just that.
On Thu, Aug 28, 2008 at 10:40 PM, Matt Raible <[EMAIL PROTECTED]>wrote:
> I don't believe this question has anything to do with AppFuse does it?
>
> On Wed, Aug 27, 2008 at 10:35 PM, Carlos Ortiz <[EMAIL PROTECTED]>
> wrote:
> >
budies,
i got something error when generate code from tables like
Caused by: freemarker.template.TemplateModelException: Method public
java.lang.String
org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration)
thre
Will do, but chances are i will just research this myself if i find any
useful solutions i'll post them here
Vincenzo Caselli wrote:
Philip,
let us know if you switch the issue to another forum. Just to share
points of view.
Thanks
Vincenzo Caselli
On Mon, Sep 8, 2008 at 9:02 PM, Phili
On Wed, Sep 10, 2008 at 11:28 AM, Matt Raible <[EMAIL PROTECTED]>wrote:
>
> This is because the "new" way of doing things with annotations in
> Spring 2.5 doesn't require extending this class and its generally not
> recommended by the Hibernate folks.
>
Ahh thanks! Very interesting. I didn't kno
You are correct that AppFuse Light doesn't extend HibernateDaoSupport
in its DAO class.
http://source.appfuse.org/browse/~raw,r=117/appfuse-light/trunk/src/main/java/org/appfuse/dao/hibernate/UserDaoHibernate.java
This is because the "new" way of doing things with annotations in
Spring 2.5 doesn'
When generating your code, use -DgenericCore=false or modify the
amp.genericCore property setting in your pom.xml.
Matt
On Wed, Sep 10, 2008 at 3:09 AM, ahmad M <[EMAIL PROTECTED]> wrote:
>
> now, how to generate dao hibernate code? is there any spesific command?
>
>
> alibehzadian wrote:
>>
>> H
Hi matt,
I was getting some sort of error with db side. I will post that error
soon.
Thanks
Jithesh
mraible wrote:
>
> I can't think of any reason why you wouldn't be able to login anymore.
> Is there any sort of errors in your logs?
>
> Matt
>
> On Mon, Sep 8, 2008 at 3:55 AM, jithesh
Please send the stactrace, so we can possibly identify your issue...
2008/9/10 dengqf <[EMAIL PROTECTED]>
>
> I have a problem about appfuse2!
> I create a project with command
> "mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-spring
> -Dremot
Hi,
We have a requirement to use SQL Server with uniqueidentifiers as the UUID
primary key
If anyone else has a similar requirement then this is the post for you!
In order to get things working we have had to choose a specific primary key
generation strategy with Hibernate annotations which I a
I don't know what happens when you remove the other AJAX frameworks. I simply
added jQuery to default.jsp in decorators folder.
jQuery.noConflict();
The jQuery.noConflict instruction is important when you want to keep the
other AJAX frameworks.
Note, that afterwards you have to
Hi,
i don't know if it is possible to generate pojos for one single table
directly. But you can exclude the others using the hibernate.reveng.xml
- file.
A description on how to use it can be found here:
http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html
I hope, i co
Finally, I found a way to export single tables. Use dbunit and the 'export'
goal. In the configuration
section, define the tables you want to export. Here is an example:
org.codehaus.mojo
dbunit-maven-plugin
now, how to generate dao hibernate code? is there any spesific command?
alibehzadian wrote:
>
> Hi,
>
> You can use "mvn appfuse:gen-model".
>
> Take a look at this:
> "
> http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html
> http://static.appfuse.org/plugins/appfuse-m
when user "mvn appfuse:gen-model",it can create pojo with all table in
database
dose it can create a pojo for a table in database?and how?
--
View this message in context:
http://www.nabble.com/how-can-use-command-%22mvn-appfuse%3Agen-model%22-for-one-table-tp19409139s2369p19409139.html
Sent
I have a problem about appfuse2!
I create a project with command
"mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-spring
-DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=mypr
17 matches
Mail list logo