p://tinyurl.com/35b53w
>
> Matt
>
> On Feb 14, 2008, at 8:17 AM, Tobias Vogel wrote:
>
> > Hello list,
> >
> > I've got a short question regarding Interceptors for Hibernate in
> > AppFuse-2.0
> >
> > Normally, I'd just add the interce
Hello list,
I've got a short question regarding Interceptors for Hibernate in
AppFuse-2.0
Normally, I'd just add the interceptor to the sessionFactory
bean-definition using the property "entityInterceptor". But in
AppFuse-2.0 the definition of the sessionFactory is bundled in the
appfuse jars.
k. If it doesn't, adding @Transactional sounds like an easy
> workaround.
>
> Matt
>
> On 2/12/08, Tobias Vogel <[EMAIL PROTECTED]> wrote:
> > Hi list,
> >
> > I'm fiddling around with the lazyLoadingFilter
> (OpenSessionInViewFilter)
> >
Hi list,
I'm fiddling around with the lazyLoadingFilter (OpenSessionInViewFilter)
in AppFuse 2.x a little. The base AppFuse files already contain the
right aop-config, to mark any manager as transactional, so basically no
problem.
If I enable the lazyLoadingFilter for my webapp and call the
save
I had my problems too, especially finding a "business key" for every
entity, as the hibernate team proposes. Finally, I picked up the idea of
implementing equals and hashcode using the obect's id, and a random
identifier on newly created objects.
For this purpose I have a base class for all object
Hi,
what always works for me is the following:
- mvn eclipse:clean eclipse:eclipse
- Mark the root dir of the project and press F5 to refresh
After that, all depencencies are correct for Eclipse. If not, I always made a
mistake in the maven pom.
HTH,
Tobias
-Ursprüngliche Nachricht-
V
I should add, the path behind "-P" has to be a absolute path, to get this to
work.
Kind regards,
Tobias
-Ursprüngliche Nachricht-
Von: Tobias Vogel [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 11. Juli 2007 14:06
An: users@appfuse.dev.java.net
Betreff: AW: [appfuse-user] Se
Hi,
you can do it with wget (on Linux or use cygwin), example:
$ mkdir appfuse_site
$ cd appfuse_site
$ wget --mirror -w 2 -p --html-extension --convert-links -P
appfuse.org-2007-07-11 http://www.appfuse.org/
See http://www.jim.roberts.net/articles/wget.html for a detailed explanation
Kind reg
You don't have a personDao configured in your applicationContext.xml. You
either have to define one, or construct it on the fly:
See http://appfuse.org/display/APF/Services for reference.
Kind regards,
I'd recommend to import the production data into a test system using a
binary dump (much faster than xml-export/import using dbunit), and
trying the update on this one. After that (if everything went well) you
can create a new binary dump of the test database and reimport it into
production. This w
For me, the annotations seem to be easier and much more readable than Xdoclet
tags. I started with the hibernate reference (it has an extra chapter for
Hibernate-specific annotations), and got productive within 1 or 2 days:
http://www.hibernate.org/hib_docs/annotations/reference/en/html/
HTH an
You have to call Hibernate.initialize() on all collections, that are lazy
loaded, e.g.:
Hibernate.initialize(person.getAddresses());
Hibernate.initialize(person.getPhoneNumbers());
...
Did you try that?
In my application, my "getAll()" method only returns lazy initialized objects.
I then over
There's a possibility betweem modifying nothing and pulling in the full
sources. You can also just modify the core classes (only the domain objects).
See: http://appfuse.org/display/APF/AppFuse+Core+Classes
Kind regards,
Tobias
-Ursprüngliche Nachricht-
Von: Fan [mailto:[EMAIL PROTECTED
e" do ?? If I want to
trace the procedure of this command, where & how could I start with ?
Tobias Vogel wrote:
>
> Are the error messages from eclipse?
> Then run:
> mvn eclipse:clean eclipse:eclipse
>
> -Ursprüngliche Nachricht-
> Von: Fan [mailto:[EMAIL
Hi Daniel,
You have to add the following entries to the classpath of the configuration:
$M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar
$M2_REPO/org/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.jar
$M2_REPO/org/apache/commons/commons-lang/2.3/commons-lang-2.3.ja
Are the error messages from eclipse?
Then run:
mvn eclipse:clean eclipse:eclipse
-Ursprüngliche Nachricht-
Von: Fan [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 26. Juni 2007 17:55
An: users@appfuse.dev.java.net
Betreff: Re: [appfuse-user] missing required library
Yup, I did, I even re
The rar is not corrupted, at least I can open it. Anyway, the version in it
will not work with the current library versions and some minor modifications
are nedded to get it working.
Are you using Appfuse-1.9.x or AppFuse-2?
I implemented ACLs on AppFuse-2 starting from this tutorial, but with
> On 6/15/07, Matt Raible wrote:
>
> On 6/15/07, Tobias Vogel <[EMAIL PROTECTED]> wrote:
> >
> > [problems with open connections]
> >
>
> You might try using getSessionFactory().getCurrentSession()
> instead of getSession().
Thanks a lot, th
L that you are using method interceptors on your
service methods? You may want to check that your interceptors are being
applied after the transaction interceptor to make sure they all execute
within the same transaction.
Mike.
On 6/15/07, Tobias Vogel <[EMAIL PROTECTED]> wrote:
Hi all,
I ported the ACL example from AppFuse-1.9.x to AppFuse-2. I now started
a test case with about 1 secured objects and then called the
PersonManager's getPerson()-method. After a short time this results in a
SQLException stating "Too many connections". With the command line tool
(mysql)
Hi Jason,
over the last days I tried to implement ACLs with the new Acegi ACL package in
my project. Due to lack of documentation I gave up after two days. One
additional issue to the CGLIB Proxies is the fact, that the new Acegi ACL
package contains hardcoded SQL for ACL management, which only
I had a similiar issue when i added the AppFuse core classes. If you did the
same, the following issue will give you advice how to work around it:
http://issues.appfuse.org/browse/APF-783
Tobias
-Ursprüngliche Nachricht-
Von: sarat.pediredla [mailto:[EMAIL PROTECTED]
Gesendet: Diensta
Hi all,
I am currently using a AppFuse 2.0-M5 archetype (Spring-MVC modular) for
building a backend for a Spring-RCP app. I ran into some synchronization
issues, which I mostly solved - but one. For this purpose I'll need to
override the save-Method of the UserManager for debugging (the
UserManag
ible
Gesendet: Donnerstag, 24. Mai 2007 19:27
An: users@appfuse.dev.java.net
Betreff: Re: [appfuse-user] Exclusion of appfuse-data-common in M5
Can you try creating new project instead of using your upgraded one?
If you create a new one, can you run "mvn install site" from the top level
te3 plugin when you're running mvn:site.
It may be fixed in a SNAPSHOT release. In the meantime, if you run "mvn site
-Dmaven.test.skip=true", does that work?
Matt
On 5/24/07, Tobias Vogel <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> thanks for your reply. Yes
roblem? Maybe we just need to update our instructions. Also,
if you're using Hibernate, you don't need to exclude/include
appfuse-${dao.framework} in your pom.xml - it's only needed if you want to
switch to JPA or iBATIS.
Matt
On 5/24/07, Tobias Vogel <[EMAIL PROTECTED]> wrote:
>
Hello,
I just tried to migrate from M4 to M5, and had some problems with
modified core classes. In M4 you had to add an exclusion of
"appfuse-data-common" to the dependency "appfuse-service". In my M5
archetype i did the same, but even after a full rebuild, the
appfuse-data-common package still ge
Hello,
I just integrated a short testcase with appfuse 2.0-M4 (modular) and
integrating it into a Spring-RCP project as backend. I just encountered
strange behaviour when using UniversalManager, it returns more objects
than there are actually in the database:
Example:
System.out.println("SIZE:
28 matches
Mail list logo