irus
03/02/2017, 11:31 AMkenkyee
03/02/2017, 11:35 AMcleiter
05/05/2017, 7:10 AMj_kapp
05/09/2017, 9:06 AM@Entity
data class User(
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
val id: Long,
val userName: String)
roberto.guerra
05/23/2017, 1:38 PMopen
keyword. Even with Spring Boot, I keep most (if not all) business logic outside of Spring, and just use a thin layer of spring artefacts to wire them up. So adding open
isn’t a hassle for me. I can see how it is a hassle if most things in the application are some sort of spring “artefact”.dmnk_89
05/26/2017, 8:24 AMObjectMapper
when i try to convert json to Map
objectMapper.convertValue("{}", Map::class.java)
i get an exception
com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of java.util.LinkedHashMap: no String-argument constructor/factory method to deserialize from String value ('{}')
at [Source: N/A; line: -1, column: -1]
same thing when json has fields in it. Any ideas?sdeleuze
05/27/2017, 2:47 PMjasper
05/31/2017, 4:39 AMjasper
06/01/2017, 11:56 PM@RunWith(SpringRunner::class)
being generally useful for others.
@SpringBootTest
could definitely be added to kotlin-spring
. I'll open a requestssouris
06/05/2017, 2:11 PMrpalcolea
06/06/2017, 8:47 PMrpalcolea
06/06/2017, 10:04 PMspring-boot-starter-webflux
rpalcolea
06/07/2017, 2:12 AMWebClient
or that;s something in the works?michael.barker
06/15/2017, 3:14 AMspring.jackson.property-naming-strategy=SNAKE_CASE
dariuszbacinski
06/16/2017, 8:26 PMsdeleuze
06/21/2017, 8:29 AMCzar
06/23/2017, 7:29 AMEnt(val id: Long?) : Persistable<Long?>
.
This of course requires to implement getId
and isNew
.
But when I try to implement getId
I have Platform declaration clash error;
if I don't implement it, I have Class Ent must be declared abstract or implement abstract method error.
What's the correct way to do this?123
06/23/2017, 4:26 PMhttps://www.youtube.com/watch?v=tBnRIZkVg-Q▾
poohbar
06/27/2017, 10:50 PMnklmish
06/28/2017, 12:34 PMorg.springframework.boot:spring-boot-gradle-plugin:2.0.0.M2
in my classpathnklmish
06/28/2017, 6:42 PMspring-boot-gradle-plugin-2.0.0.M2
, seems to be missing SpringBootPluginExtension
?nklmish
07/05/2017, 8:26 AMx80486
07/05/2017, 2:10 PMkotlin-spring
plugin, but be able to close some classes then "by hand" then? For instance, not all Spring beans/classes need to be "open"; an example could be a "controller" class (that doesn't feature, for instance, any @Transactional
annotation). In that case, it's totally possible to have that just like that, but if I use @Controller
it will be opened by default because of the kotlin-spring
plugin.dh44t
07/06/2017, 1:05 PMhhariri
07/07/2017, 5:53 AMjk
07/08/2017, 6:32 PMroberto.guerra
07/11/2017, 5:07 PMkobalt
and I like it better than gradle
so far.arocnies
07/14/2017, 3:44 AMziad
07/16/2017, 3:40 PMminus
07/17/2017, 6:12 PMminus
07/17/2017, 6:12 PMnayanjyoti
07/17/2017, 6:17 PM@Autowired
minus
07/17/2017, 6:17 PMagomez
07/17/2017, 6:25 PMconstructor
keyword as explained here https://kotlinlang.org/docs/reference/annotations.html#usage ?minus
07/17/2017, 6:39 PMnfrankel
07/17/2017, 8:15 PM@Autowired
on constructors is not required since latest versions of Spring
try without 🙂nerses
07/17/2017, 8:16 PMnfrankel
07/17/2017, 8:49 PM