<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Micronaut with MongoDB and Kotlin	</title>
	<atom:link href="https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/</link>
	<description>Kotlin &#38; Backend Tutorials - Learn Through Practice.</description>
	<lastBuildDate>Wed, 16 Apr 2025 04:50:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Piotr		</title>
		<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-40</link>

		<dc:creator><![CDATA[Piotr]]></dc:creator>
		<pubDate>Tue, 20 Sep 2022 05:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://codersee.com/?p=1729#comment-40</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-39&quot;&gt;Eric Lentz&lt;/a&gt;.

Hi Eric! 
I will create in the near future the article, in which I will revisit this problem. Definitely something worth checking :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-39">Eric Lentz</a>.</p>
<p>Hi Eric!<br />
I will create in the near future the article, in which I will revisit this problem. Definitely something worth checking 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric Lentz		</title>
		<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-39</link>

		<dc:creator><![CDATA[Eric Lentz]]></dc:creator>
		<pubDate>Mon, 19 Sep 2022 22:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://codersee.com/?p=1729#comment-39</guid>

					<description><![CDATA[Regarding adding @BsonProperty, as Alex mentioned, that seems necessary now. 
Error: 
WARN  org.bson.codecs.pojo - Cannot use &#039;Company&#039; with the PojoCodec.
org.bson.codecs.configuration.CodecConfigurationException: Invalid @BsonCreator constructor in Company. All parameters in the @BsonCreator method / constructor must be annotated with a @BsonProperty.

There must also be a constructor for the data class.]]></description>
			<content:encoded><![CDATA[<p>Regarding adding @BsonProperty, as Alex mentioned, that seems necessary now.<br />
Error:<br />
WARN  org.bson.codecs.pojo &#8211; Cannot use &#8216;Company&#8217; with the PojoCodec.<br />
org.bson.codecs.configuration.CodecConfigurationException: Invalid @BsonCreator constructor in Company. All parameters in the @BsonCreator method / constructor must be annotated with a @BsonProperty.</p>
<p>There must also be a constructor for the data class.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Piotr		</title>
		<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-38</link>

		<dc:creator><![CDATA[Piotr]]></dc:creator>
		<pubDate>Tue, 29 Mar 2022 04:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://codersee.com/?p=1729#comment-38</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-37&quot;&gt;Alex&lt;/a&gt;.

Hello Alex and thank you for your feedback! 

Could you please share what error did you get? Definitely need to revisit some artciles as they were created a long time ago]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-37">Alex</a>.</p>
<p>Hello Alex and thank you for your feedback! </p>
<p>Could you please share what error did you get? Definitely need to revisit some artciles as they were created a long time ago</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-37</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 28 Mar 2022 08:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://codersee.com/?p=1729#comment-37</guid>

					<description><![CDATA[Thanks for the example. Good starting point to dive in deeper.

For me i had a Problem with Getting the Data. Therefor i needed to change the Entity Classes like the following:

{code}
@NoArg
data class Company @BsonCreator constructor(
    @BsonProperty(&quot;id&quot;) var id: ObjectId? = null,
    @BsonProperty(&quot;name&quot;) var name: String,
    @BsonProperty(&quot;address&quot;) var address: String
)
{code}]]></description>
			<content:encoded><![CDATA[<p>Thanks for the example. Good starting point to dive in deeper.</p>
<p>For me i had a Problem with Getting the Data. Therefor i needed to change the Entity Classes like the following:</p>
<p>{code}<br />
@NoArg<br />
data class Company @BsonCreator constructor(<br />
    @BsonProperty(&#8220;id&#8221;) var id: ObjectId? = null,<br />
    @BsonProperty(&#8220;name&#8221;) var name: String,<br />
    @BsonProperty(&#8220;address&#8221;) var address: String<br />
)<br />
{code}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Piotr		</title>
		<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-36</link>

		<dc:creator><![CDATA[Piotr]]></dc:creator>
		<pubDate>Fri, 15 Jan 2021 13:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://codersee.com/?p=1729#comment-36</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-35&quot;&gt;Sergio del Amo&lt;/a&gt;.

Hi Sergio, 
Totally agree with You. Already fixed as it should be. 

Thanks for your feedback and awareness :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-35">Sergio del Amo</a>.</p>
<p>Hi Sergio,<br />
Totally agree with You. Already fixed as it should be. </p>
<p>Thanks for your feedback and awareness 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sergio del Amo		</title>
		<link>https://blog.codersee.com/micronaut-with-mongodb-and-kotlin/#comment-35</link>

		<dc:creator><![CDATA[Sergio del Amo]]></dc:creator>
		<pubDate>Thu, 14 Jan 2021 05:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://codersee.com/?p=1729#comment-35</guid>

					<description><![CDATA[&#062; We can do that either by installing the Micronaut Launch or with the online launcher (similar to the Spring Initializr). 

Hi, We typically refer to the command line utility as Micronaut CLI not Micronaut Launch. We use Micronaut Launch to refer to the Web application exposed at launch.micronaut.io]]></description>
			<content:encoded><![CDATA[<p>&gt; We can do that either by installing the Micronaut Launch or with the online launcher (similar to the Spring Initializr). </p>
<p>Hi, We typically refer to the command line utility as Micronaut CLI not Micronaut Launch. We use Micronaut Launch to refer to the Web application exposed at launch.micronaut.io</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: blog.codersee.com @ 2026-05-17 19:20:52 by W3 Total Cache
-->