profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/graemerocher/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Graeme Rocher graemerocher @Oraclelabs http://micronaut.io Creator of Grails (http://grails.org) and Micronaut (http://micronaut.io) frameworks. Architect at Oracle

dima767/grails-internals-handbook 74

A community-driven book describing inner workings of the Grails framework

graemerocher/framework-comparison-2020 39

Compares Frameworks in April 2020

graalvm/native-build-tools 19

Native-image plugins for various build tools

graemerocher/grails-core 8

The Grails Web Application Framework

graemerocher/gorm-61-demo 7

Demos from GORM 6.1 Presentation

graemerocher/gdoc-to-asciidoc 5

Converts Grails' GDoc format to AsciiDoc

graemerocher/gant 2

Gant is a Groovy way of using the Ant tasks -- Ant scripting using Groovy, no XML.

graemerocher/gmongo 2

A Groovy wrapper to the mongodb Java driver

graemerocher/functions-framework-java 1

FaaS (Function as a service) framework for writing portable Java functions

pull request commentpgressa/oraclecloud-cloudnative

api redis issue

@graemerocher I'll try to break the cart id deserialisation so it will generate some error.

pgressa

comment created time in 20 minutes

push eventmicronaut-projects/micronaut-data

dstepanov

commit sha 27ed8060ec456f4aa6cd6d8c8d558ffb3ba74a37

Deploying to gh-pages - 13:50:41

view details

push time in 28 minutes

push eventmicronaut-projects/micronaut-security

sdelamo

commit sha aafe42a98f7b92e72fb4bcdd76907e6d5f75a0b9

Deploying to gh-pages - 13:41:25

view details

push time in 37 minutes

pull request commentmicronaut-projects/micronaut-cache

Do not use latest docker image for Infinispan

Thanks, I'll do that :)

ilopmar

comment created time in 38 minutes

pull request commentmicronaut-projects/micronaut-cache

Do not use latest docker image for Infinispan

Instead of hardcoding the version, you could get it from the build dependency, pass it as a system property, and then reference it from the tests.

ilopmar

comment created time in 40 minutes

issue commentmicronaut-projects/micronaut-kafka

Mechanism of obtaining consumer settings through the groupId qualifier does not work for groups in the upper snake case pattern.

@graemerocher could you confirm me if this is indeed a bug. Because if it is, I have a suggested solution for that.

NilMouraa

comment created time in 44 minutes

push eventmicronaut-projects/micronaut-security

Sergio del Amo

commit sha 531adf0225f7c1751898111316e686f9b0b0f103

test: remove pending feature (#692)

view details

Sergio del Amo

commit sha 1a5c2a9c68fd9cfbe10e61461e70ebee859589c1

Merge branch 'master' into 3.0.x

view details

Sergio del Amo

commit sha 83a79fe2d69b6f764f7b00d0fa6ae8c0f258e4b1

Merge branch '3.0.x' into replace-persist-token

view details

push time in an hour

push eventmicronaut-projects/micronaut-security

Sergio del Amo

commit sha 531adf0225f7c1751898111316e686f9b0b0f103

test: remove pending feature (#692)

view details

Sergio del Amo

commit sha 1a5c2a9c68fd9cfbe10e61461e70ebee859589c1

Merge branch 'master' into 3.0.x

view details

push time in an hour

push eventmicronaut-projects/micronaut-security

Sergio del Amo

commit sha 531adf0225f7c1751898111316e686f9b0b0f103

test: remove pending feature (#692)

view details

push time in an hour

delete branch micronaut-projects/micronaut-security

delete branch : test-remove-pending-feature

delete time in an hour

PR merged micronaut-projects/micronaut-security

test: remove pending feature type: improvement

Issue https://github.com/micronaut-projects/micronaut-core/issues/4179 has been solved since 2.5.6

+0 -1

0 comment

1 changed file

sdelamo

pr closed time in an hour

push eventmicronaut-projects/micronaut-data

Shane Farmer

commit sha 2bfdebbce52fc810df1f817d461036f1e935b6d1

Fix to allow reading entities with JSON fields using constructor arguments (#1057) Without this fix, when reading entities with JSON fields through DefaultJdbcRepositoryOperations an exception is thrown reading the JSON field: `Cannot convert type [class java.lang.String] with value [{foo: bar}] to target type: interface java.util.Map. Consider defining a TypeConverter bean to handle this case.` This seems partially related to #387 Fixes #1058

view details

push time in an hour

PR merged micronaut-projects/micronaut-data

Fix to allow reading entities with JSON fields using constructor arguments

Without this fix, when reading entities with JSON fields through DefaultJdbcRepositoryOperations an exception is thrown reading the JSON field: Cannot convert type [class java.lang.String] with value [{foo: bar}] to target type: interface java.util.Map. Consider defining a TypeConverter bean to handle this case.

This seems partially related to #387

Fixes #1058

+529 -6

2 comments

28 changed files

safarmer

pr closed time in an hour

issue closedmicronaut-projects/micronaut-data

data-jdbc cannot read an entity with JSON fields when using constructor arguments

Task List

  • [x] Steps to reproduce provided
  • [ ] Stacktrace (if present) provided
  • [ ] Example that reproduces the problem uploaded to Github
  • [x] Full description of the issue provided (see below)

Steps to Reproduce

  1. Create an entity that has a JSON field and has constructor arguments (or a record)
  2. Insert a record
  3. Read the entity from a repository method.

Example Entity:

@MappedEntity
public record Foo(
    @Id @GeneratedValue @Nullable Integer id, 
    String uid,
    int version,
    @TypeDef(type = DataType.JSON) Map<String, Object> data) {
}

Expected Behaviour

The entity is read and the JSON data is populated.

Actual Behaviour

Exception with the following error: Cannot convert type [class java.lang.String] with value [{foo: bar}] to target type: interface java.util.Map. Consider defining a TypeConverter bean to handle this case.

Environment Information

  • Operating System: Linux and MacOS
  • Micronaut Version: 2.5.6
  • JDK Version: 15 and 16

closed time in an hour

safarmer

pull request commentmicronaut-projects/micronaut-data

Fix to allow reading entities with JSON fields using constructor arguments

Thanks for the fix @safarmer!

safarmer

comment created time in an hour

push eventmicronaut-projects/micronaut-security

Sergio del Amo

commit sha 025b8ba91750c261c47100d1c696d02b0807c5ea

fix: SupplierUtil package (#698)

view details

Sergio del Amo

commit sha feb9a23adf75625bc3c1e399dab44a6180854e9d

Merge branch '3.0.x' into replace-persist-token

view details

Sergio del Amo

commit sha 2e0e81ee07e749737645425085161e28535286ae

remove unused import

view details

Sergio del Amo

commit sha 51502f8cb33355e5f2fd650b1ed1d10f7c1aec19

test: annotate LoginForm with @Introspected (#699) io.micronaut.core.beans.exceptions.IntrospectionException: No bean introspection available for type [class io.micronaut.security.token.jwt.cookie.LoginForm]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected

view details

Sergio del Amo

commit sha f999508d238271d1dcd588e3b6d0f64c83de8849

Merge branch '3.0.x' into replace-persist-token

view details

push time in an hour

Pull request review commentmicronaut-projects/micronaut-data

Fix to allow reading entities with JSON fields using constructor arguments

 private Object setChildrenAndTriggerPostLoad(Object instance, MappingContext<?>                                     }                                 }                             }++                            if (prop.getDataType() == DataType.JSON && jsonCodec != null) {

I think H2 r2dbc driver doesn't support it yet

safarmer

comment created time in an hour

delete branch micronaut-projects/micronaut-security

delete branch : annotate-login-form-with-introspected

delete time in an hour

push eventmicronaut-projects/micronaut-security

Sergio del Amo

commit sha 51502f8cb33355e5f2fd650b1ed1d10f7c1aec19

test: annotate LoginForm with @Introspected (#699) io.micronaut.core.beans.exceptions.IntrospectionException: No bean introspection available for type [class io.micronaut.security.token.jwt.cookie.LoginForm]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected

view details

push time in an hour

PR merged micronaut-projects/micronaut-security

test: annotate LoginForm with @Introspected

io.micronaut.core.beans.exceptions.IntrospectionException: No bean introspection available for type [class io.micronaut.security.token.jwt.cookie.LoginForm]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected

+3 -0

0 comment

1 changed file

sdelamo

pr closed time in an hour

PR opened micronaut-projects/micronaut-security

test: annotate LoginForm with @Introspected

io.micronaut.core.beans.exceptions.IntrospectionException: No bean introspection available for type [class io.micronaut.security.token.jwt.cookie.LoginForm]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected

+3 -0

0 comment

1 changed file

pr created time in an hour

push eventmicronaut-projects/micronaut-security

Sergio del Amo

commit sha 025b8ba91750c261c47100d1c696d02b0807c5ea

fix: SupplierUtil package (#698)

view details

push time in an hour

delete branch micronaut-projects/micronaut-security

delete branch : supplier

delete time in an hour

create barnchmicronaut-projects/micronaut-security

branch : supplier

created branch time in an hour

create barnchmicronaut-projects/micronaut-security

branch : replace-persist-token

created branch time in an hour

pull request commentoracle/graal

Fall back to getMetaspacePointer() in JfrEventSubstitution

@christianhaeubl Updated the patch.

jerboaa

comment created time in an hour