Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make comment prefix configurable in ResourceDatabasePopulator [SPR-6667] #11333

Closed
spring-projects-issues opened this issue Jan 11, 2010 · 3 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Peter Plosz opened SPR-6667 and commented

At the moment ResourceDatabasePopulator always uses "--" as comment prefix.
By making it configurable we could replace our legacy code with ResourceDatabasePopulator.


Affects: 3.0 GA

Referenced from: commits 5c41e2c

@spring-projects-issues
Copy link
Collaborator Author

Peter Plosz commented

An example usage is:

ResourceDatabasePopulator resourceDatabasePopulator = new ResourceDatabasePopulator();
resourceDatabasePopulator.addScript(someResource);

resourceDatabasePopulator.setCommentPrefix("#");

resourceDatabasePopulator.populate(myConnection);

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Thanks for the suggestion! Added for 3.0.1.

Juergen

@spring-projects-issues
Copy link
Collaborator Author

Peter Plosz commented

Thank you for the fix, it was really quick.

Peter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants