Grails & Hibernate Persistence Context

July 28, 2010

Comming from PHP I had some rough time to get into such a complex persistence-framework as Hibernate is one.
Anyway, this blog-series here is def. great to read:

http://andresteingress.wordpress.com/2010/03/23/getting-the-persistence-context-picture-part-i/
http://andresteingress.wordpress.com/2010/04/08/getting-the-persistence-context-picture-part-ii/
http://andresteingress.wordpress.com/2010/04/20/getting-the-persistence-context-picture-part-iii/

Categories: Groovy & Grails, PHP.

Set the default timezone for a Grails application

May 18, 2010

Note to myself:
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
in BootStrap.groovy

Categories: General Stuff.

IntelliJ IDEA 9 on (k)ubuntu

May 3, 2010

I’m a big fan of IntelliJ IDEA for Grails development. Sadfully I had huge problems since I installed Kubuntu 10.04.
The indexing crashed often, after a few minutes working all references broke down etc.
After some searching I found this

It seems that IDEA has some problems with the encryption of the home-dir. So I followed the threads advice and stored index-files etc. outside of my home-dir and voilĂ  it works like a charm.

Categories: General Stuff, Groovy & Grails, Linux.

Batch import performance in Grails

May 2, 2010

Ted Naleid has a wonderful post about batch import performance with Grails and MySQL. Nice to read.

Categories: Groovy & Grails.

Grails jQuery-plugin 1.4.2.1

May 1, 2010

Hi there,

I’ve just released version 1.4.2.1 of the Grails jQuery-plugin.

Change jQuery-version
Sometimes you need an older version of jQuery but you also want to take the advantage of grails build-in AJAX-tags.
Since 1.4.2.1 you can specify the following in your application Config.groovy-file:

jquery {
sources = ‘jquery’ // Holds the value where to store jQuery-js files /web-app/js/
version = ’1.4.1′ // The jQuery version in use
}

sources Specifies the folder underneath web-app/js where the jQuery-lib should be\\
version Specifies the version of the lib

The settings above will result in js/jquery/jquery-1.4.1.min as location

Changelog:
* Applied: GRAILSPLUGINS-1919
* Applied: GRAILSPLUGINS-2056
* Added jQuery 1.4.2Designed by Tim Sainburg from Brambling DesignDesigned by Tim Sainburg from Brambling Design

Categories: Groovy & Grails.

Too sad they quit :/

April 3, 2010

Non-IT-related stuff now
Damn, one of my favourite bands Theatre Of Tragedy announced that the band, after 17 wonderful years, will become history this year.
And guess what I just found out after their tour here finished, great. Maybe I can manage it to get some tickets and a trip for the last concert in Stavanger Norway, but I guess even if I can find some time it’s already sold out :’(Designed by Tim Sainburg from Brambling Design

Categories: General Stuff.

jQuery 1.4.2

March 4, 2010

Woah, I totally missed the jQuery 1.4.2 release.
Guess I should release a new version of the Grails-jQuery-plugin soon ;)

Categories: Groovy & Grails, Javascript.

Grails-jQuery 1.4.1.1 hits the road

January 26, 2010

Today jQuery 1.4.1 has been released and so here is also the first release of the grails-jQuery-plugin for it.

* Fixed: GRAILSPLUGINS-1865
* Fixed: GRAILSPLUGINS-1864, thanks to Nick Zhu
* Added jQuery 1.4.1

For people encountering problems with the new jQuery-version, use an older one and set the version-attribute in JQueryConfig.groovy located under jquery-1.4.1.1/grails-app/conf/

Cheers

Categories: Groovy & Grails, Javascript.

And with a drum roll

January 18, 2010

I’m pleased to announce the Grails-jQuery-plugin in version 1.4.0.1.

* Upgrade to jQuery 1.4
* Wiki-page is now up-to-date
* Moved sources to http://gitorious.org/grails-jquery
* Added licenseinformation: Apache 2.0
* Fixed: http://jira.codehaus.org/browse/GRAILSPLUGINS-1793
* Fixed: http://jira.codehaus.org/browse/GRAILSPLUGINS-1296
* Fixed: http://jira.codehaus.org/browse/GRAILSPLUGINS-1824
* Can’t reproduce: http://jira.codehaus.org/browse/GRAILSPLUGINS-953

I’ve tested the release with Grails 1.2, if there are problems with some older Grails versions please file a bugreport at JIRA or leave a comment.

Before an upgrade please check http://jquery14.com/day-01/jquery-14 for changes which may break your code.

Categories: Groovy & Grails, Javascript.

stdin is not a tty

December 18, 2009

Problem: Login via ssh on XEN-instance “stdin is not a tty”
Solution: here

Categories: Linux.

Tags:

Page 1 of 3123»