How to log insert, update, delete sqls with ebean ORM in play 2.1 - playframework-2.1

Does anyone know to log insert, update, delete sqls with ebean ORM in play 2.1. I don't want to log any select sqls.
I know turn on it in application.conf
db.default.logStatements=true
logger.com.jolbox=DEBUG
But that will include all the select sqls. I know the current ebean verison 2.7.7 has an API.
setLoggingLevelIud
It looks like do what I expect. But it seems the ebean lib used in play 2.1 doesn't include this API. I checked the version of ebean in play 2.1. It shows version 3.x. I feel confused... Does anyone know how to solve this problem?

Although I don't know how to update the Play2 Ebean version, you can check ebean current version on their github project: https://github.com/ebean-orm/avaje-ebeanorm

Related

Source code for Nhibernate 3.1.0.4000 is missing in GitHub, where could I find it?

We are using this specific version of Nhibernate in our application. And now we come across a situation where we want to debug an issue through Nhibernate, But I am unable to find source code for this specific version in Nhibernate git.
Source package can be downloaded here
https://sourceforge.net/projects/nhibernate/files/NHibernate/3.1.0.GA/
Other versions (latest at the moment is 5):
https://sourceforge.net/projects/nhibernate/files/NHibernate/

Ebean Query logging with Play 2.2.3

AM using play 2.2.3 and ebean with It.
I am struggling to get ebean to log the sql query statement.
Can someone please help?
After play 2.0 the package for ebean has changed. Kindly add following line for play 2.2.3
<logger name="org.avaje.ebean.SQL" level="TRACE"/>
to your application.conf.
for PlayFramework 2.0 and before a
<logger name="com.jolbox.bonecp" level="TRACE"/>
would do. Hope this helps

CXF Bundles: Whats the difference?

I'm using maven, but I dont understand the difference between following dependencies:
1.)
http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/3.0.0-milestone2
2.)
http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle-compatible/3.0.3
Option 2 seems newer, but can I use it?
At the moment I use "http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/2.7.14", but I want to upgrade to V. 3.x.x
I haven't found any informations about the cxf-bundle/3.0.0-milestone2 yet, but perhaps someone knows, whre to find more informations about this one.
The big monolithic bundle was removed in 3.0. Use the individual bundles that you need for your application.

Where can I get hold of a 3.2 version of NHibernate.Caches.SysCache2.dll?

Upgrading to NHibernate 3.2, but can't seem to find a 3.2 version of NHibernate.Caches.SysCache2.SysCacheProvider.
Both SourceForge and NuGet claim to have 3.2, but when I download it I get version 3.1.0.4000, which doesn't seem to work with NH3.2 (NHibernate.HibernateException: could not instantiate CacheProvider: NHibernate.Caches.SysCache2.SysCacheProvider, NHibernate.Caches.SysCache2).
I'm the author of the NHibernate.Caches.SysCache2 NuGet package, and I'm pretty sure it works with NHibernate 3.2.
It doesn't even exist for any versions other than 3.2, which makes it difficult to believe you are getting and older version.
If you remove all NH-related packages from your project and run the following:
PM> Install-Package NHibernate.Caches.SysCache2
You should get everything you need.
Now, if you installed via the FluentNHibernate package (which doesn't mark the version referencing NH3.2 as the current one), that's a different problem.
Looks like the answer is that NHibernate.Caches version 3.2 has version number set to 3.1.0.4000 for the dll, and that this actually works fine with NHibernate. I had neglected to update one of my references.
Thank you all for your assistance, I will leave this here for reference for others (I did notice a few others having similar problems on other forums).

Does Symfony 2.0 Support Propel?

Soon Symfony 2.0 will release and i have visited its website i.e www.symfony.com, but in Documentation and ebooks its only giving Doctrine as ORM. Have they stopped supporting Propel?
Because i am using Symfony1.4 with Propel as ORM, and i am comfortable with Propel. Do i have to migrate to Doctrine, or just they will bring on Propel after stable release.
There is a Propel bundle available: http://symfony2bundles.org/willdurand/PropelBundle But I don't know how stable it is.
I'm the creator of this bundle. It works fine and it's up to date :)