question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

using db named "informix"

See original GitHub issue

I got an error message such as

java.lang.IllegalStateException: No dialect registered for informix-sqli.  URL=jdbc:informix-sqli://192.168.1.100:7001/dt:informixserver=ifx

@Tapac

I did try the #441 resolved issue.

Database.registerDialect("mariadb") { MysqlDialect() }
Database.connect("jdbc:mariadb://localhost:3306/rankup",....)

mine version (revised)

val urlString = "jdbc:informix-sqli://localhost:9088/sysadmin:informixserver="
val ifxDevDb = Database.connect(urlString, "com.informix.jdbc.IfxDriver", user = "informix", password = "in4mix")

fun mapToDto(it: ResultRow) = PhGroupDto(/* column mapping */)

fun test(){
   
    Database.registerDialect("informix-sqli") { MyDialect()
        // misunderstanding ... not supported dialect for informix db
    }
    transaction (ifxDevDb) {
            var result = PhGroup.selectAll().map{mapToDto(it)}
            println(result);
        }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
austin0925commented, Jan 3, 2020

In our project, Informix db stored many historical data. But, the SQL Server will be our main database. So, we decide to trans data from Informix to SQL Server by ETL tool for passing the dialect problem. BTW, the “exposed” is a great orm project. Thank you very much.

1reaction
austin0925commented, Dec 30, 2019

After reading h2 sample makes me understand the situation. I need a couple days to make a decision and thank you for the explanation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the 'dbname' Option - IBM
You can use the 'dbname' option to retrieve the name of the current database. This option returns the identifier of the database to...
Read more >
Using Informix - - Connecting to Your Database
You can access the IBM Informix Dynamic Server (IDS) database version 10.x/12.x using the PowerBuilder I10 native Informix database interfaces.
Read more >
Connecting to Informix - Advanced query tool
Configuring the Informix ODBC Driver ... In order to connect to your Informix server using AQT, you will need to configure an ODBC...
Read more >
Connect to Informix Database - DbSchema
The connection dialog is explained here. Then try to connect using the default database user Informix. The common used database is sysmaster. Default...
Read more >
Informix Tutorial Connecting Users and ... - Advanced DataTools
database is listening for connection. • The name of an Informix database server on the network. • Network Protocol Used. • Database Name....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found