Skip to content

the rest api is too slow for get connection #19

@huzelong0

Description

@huzelong0

hi,Mr Scott:
I am a developer from China,I have two questions on below:
1.we want to import mondrian-rest to our project ,but I found the rest api is too slow,all the request entry,they all need to get connection again and again, so whether we could make a Connection Pool to save time?

2 .I see there is a dependency in pom.xml:
<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>foodmart-data-hsqldb</artifactId>
<version>${foodmart-hsqldb-version}</version>
</dependency>

if I need mysql, I have to change the jar to below, I can't connect the databases without it:

<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>foodmart-data-mysql</artifactId>
<version>0.10</version>
</dependency>

the question is the jar was named "foodmart-data-mysql" ,so I guess it can be only work for foodmart, so how can I get connection on my own database ? does I need to overwrite the jar? or does there have a common jar for all database for connection?

thanks for your time and God bless all Americans for healthy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions