Jump to content
We've recently updated our Privacy Statement, available here ×

Multi Dataadapter (dev/prod)


Nicolas Drouin

Recommended Posts

I would like to use different Dataadapter depending on the context by passing a parameter to it.I tried this solution but it doesn't work :<propertyExpression name="net.sf.jasperreports.data.adapter"><![CDATA[$P{DataAdapterLocation}]]></propertyExpression><parameter name="DataAdapterLocation" class="java.lang.String" evaluationTime="Early">    <defaultValueExpression><![CDATA["default/path/to/DataAdapterFile"]]></defaultValueExpression></parameter>

Can you help me ?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...