Skip to content

Allow a list of SQLMaps #24

@GoogleCodeExporter

Description

@GoogleCodeExporter
We have a Spring-based project that configures a sqlMapClient bean like 
this...

<bean id="sqlMapClient" 
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
        <property name="configLocation" 
value="classpath:/.../SqlMapConfig.xml"/>
        <property name="dataSource" ref="dataSource"/>
        <property name="mappingLocations">
            <list>
                <value>classpath:/.../MySqlMap.xml</value>
            </list>
        </property>
    </bean>

What is the expected output? What do you see instead?
The sqlMap element of MySqlMap.xml is highlighted as an error, probably 
because the plugin does not support multiple configs and/or SQL maps. Here 
is a use case where this comes up: a library of DAO code and a project that 
uses that code would reference the DAO's config and create its own project-
specific SQL map files.



Original issue reported on code.google.com by andy.kri...@gmail.com on 26 Mar 2010 at 9:28

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions