[Hibernate] Log4J for debugging hibernate
Hi, Can anybody give me "log4j.properties" file for debugging Hibernate+tapestry module plus any other required configuration if required please. I am stuck. I don't know Log4J. Help would be highly appreciated. regards prasad chandrasekaran --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Log4J for debugging hibernate
On 16 Aug (17:19), Prasad Iyer wrote: > Can anybody give me "log4j.properties" file for debugging Hibernate+tapestry > module plus any other required configuration if required please. > I am stuck. I don't know Log4J. > Help would be highly appreciated. http://hibernate.bluemars.net/index.php?cmd=search&q=log4j.properties -- Christian Bauer [EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Log4J for debugging hibernate
Here is the log4j "Short Manual" from the Log4j site. It covers the .properties file in it. Log4j is quite easy to configure and after reading these docs you should be up and running in a few minutes. http://jakarta.apache.org/log4j/docs/manual.html Thanks, Patrick --- Prasad Iyer <[EMAIL PROTECTED]> wrote: > Hi, > Can anybody give me "log4j.properties" file for debugging Hibernate+tapestry > module plus any other required configuration if required please. > I am stuck. I don't know Log4J. > Help would be highly appreciated. > regards > prasad chandrasekaran > > > > --- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 > ___ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Patch: access via Field, not via Method if requestedso
ehlo. The patch allowing to choose the access method and/or order is submitted to JIRA. The URL is: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-270 Resulting patch has following external options: 1. hibernate.access.order in hibernate.conf Possible values: accessors-only (default) use only methods fields-only use only direct fields access accessors-then-fields scan methods; if not found, scan fields fields-then-accessors scan fields; if not found, scan methods 2. marker interfaces Developer may explicitely mark a class to be accessed using specific method. To do it, he should write code like this: public class FieldSuper implements ReflectHelper.AccessibleViaFieldsOnly { public Integer streetNumber; public String city; public String streetName; } Note that super class may have one access method, and subclass -- another. In process of patching one of interfaces (Loadable) was changed to return not Method, but ReflectHelper.Getter when asked for identity getter. This was required since we not always have Method, we may have Field. dozen P.S. Ugh... I was surprising that even just taken from CVS sources has some tests broken. It prevents from being absolutely sure I've not broken anything, although I've done my best in testing. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel