Re: Specifying column names in properties file
[email protected] Wed, 04 Mar 2009 17:37:48 +1000
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <[email protected]> |
This is exactly the sort of thing that is easy to do with SimpleOrm, but not reflective tools like Hibernate. SubTypeTest provides an example of the sort of thing you can do. Have not actually wired it up to a property file. Would be easy to do (and a good contribution). Regards, Anthony At 03:52 PM 4/03/2009, you wrote: >I know we all hate XML files, and after my brief interlude with Hibernate I understand why. > >But I do have a need to be able to specify some column names at run time, rather than at compile time. Is there any acceptable way to do it? > >When I'm using raw JDBC I just put a few entries in a .properties file like this: > >FooColumnName=myFoo2009 > >It would be nice if I could make SimpleORM use the same system. > >-- >John ><mailto:jabraham%40ucalgary.ca>[email protected] > > Spreadsheet Detective, Southern Cross Software Queensland Pty Limited 54 Gerler Street Bardon, Queensland 4065, Australia. Email: [email protected] www.SpreadsheetDetective.com Ph: +61 427 830248 (Australian Eastern Standard Time) "If the model seems correct only because the numbers look right, then why build the model in the first place?" ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/SimpleORM/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/SimpleORM/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
b8527f6.jpg
(image/jpeg, 3.3 KB) - not displayed