Jump to content

physically where are data adapters saved?


george_17

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

i have asked this question in a rephrased manner before and I am staggered to NOBODY has bothered answering...

 

this is such a simple fundamental basic question and nobody cares enough to give me even a small pointer....

 

so much for community.... very disappointed...

Link to comment
Share on other sites

  • 4 weeks later...

When you create a data adapter in Studio via the New > Data Adapter, it is stored in the Studio "workspace" in the Data Adapters area under the Repository Explorer.

You can also create data adapters in a project in the workspace. You see them as XML files.

You can export these files from the workspace and have reports use them at run time without having to programmatically provide Data Source or Connection objects. The data adapter files can be referred to in the JRXML in properties like net.sf.jasperreports.data.adapter. 

Link to comment
Share on other sites

  • 1 year later...

I've spent weeks to get the answer to this question, as I needed the settings myself as well.
Via Google, all I found was this question over and over again, but no helpful answer.

Finally found it myself - the data adapters are stored in the following location:

usr_rootJaspersoftWorkspace.metadata.pluginscom.jaspersoft.studiodataAdapters

Although the question is pretty old, the answer may come handy to others.

Link to comment
Share on other sites

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...