Hi, I'm using the "org.postgresql.ds.PGPoolingDataSource" dialect within the datasource bean for Postgresql db.
The configuration of the datasource is independent of Ignite and can be done as per the framework you are using. Here is an example, if you are using Spring Boot --> https://docs.spring.io/spring-boot/docs/2.1.13.RELEASE/reference/html/howto-data-access.html#howto-configure-a-datasource An example via the programmatic configuration approach can be found here --> https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbcStoreExample.java Regards, Srikanta On 2020/08/14 07:03:32, "[email protected]" <[email protected]> wrote: > Hi Experts, > > > From the ignite 3rd party rdbms persistency doc, it shows the example with> > xml config, like below, > > > <bean id="dsMySQL_Test" class="com.mysql.cj.jdbc.MysqlDataSource">> > <property name="URL" value="jdbc:mysql://[host]:[port]/[database]"/>> > <property name="user" value="YOUR_USER_NAME"/>> > <property name="password" value="YOUR_PASSWORD"/>> > </bean>> > > Can help an example how to do at the java code? Use which bean? thanks, > > And btw, as currently, ignite dialet not support the postgresql, how can we> > use the postgresql to do the 3rd party persistency? thanks a lot.> > > > > > > --> > Sent from: http://apache-ignite-users.70518.x6.nabble.com/> >
