Re: Redacting db user name and password from XML

2018-01-17 Thread Mark Hull
/Errata:/ In my previous email I included an outdated XML node description. My apologies. It should be:      factory="com.hulles.a1icia.cayenne.A1iciaDataSourceFactory" parameters="hint"   schema-update-strategy="org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy">             The pa

Re: Redacting db user name and password from XML

2018-01-17 Thread Mark Hull
e. I should add that I'm using Cayenne 4.1 M1. -- Mark Hull On 01/16/2018 03:22 PM, Pascal Robert wrote: Do -Dcayenne.jdbc.username really work? I’m trying to use that (so that the password is not stored in Git), and the runtime is still using the login information from the

Re: Redacting db user name and password from XML

2017-12-18 Thread Mark Hull
taNode, just adding .user() and .password() to the ServerRuntime.builder statement should suffice according to docs. Mark Hull On 12/18/2017 07:27 PM, Michael Gentry wrote: A disadvantage of this approach, though, is it puts the username/password on the command-line and/or the process list, plus

Re: Redacting db user name and password from XML

2017-12-18 Thread Mark Hull
atabase management system in a project. Cayenne is a great project and your collective work is a huge help to all of us in the trenches. Cheers and thanks again, Mark Hull On 12/18/2017 10:49 AM, Andrus Adamchik wrote: Hi Mark, We've done quite a bit of work in Cayenne to avoid complex

Re: Redacting db user name and password from XML

2017-12-18 Thread Mark Hull
ile, which is one of the reasons I don't want to add a lot of overhead to that part of the application. It also contains the XML file with the test database user name and password in it; I got tired of X'ing it out for each commit so I'll just change it later. :) Thank you again,

Redacting db user name and password from XML

2017-12-16 Thread Mark Hull
swer so I feel stupid but don't have to spend any more time on this than I have already. :) - Mark Hull /People say nothing is impossible, but I do nothing every day. - A. A. Milne/