#1251 closed defect (worksforme)
API should use more defaults
Reported by: | Peter Baumann | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | rasodmg | Version: | development |
Keywords: | Cc: | ||
Complexity: | Easy |
Description (last modified by )
currently, setting host, port, database is mandatory in the C++ and Java API. This should provide the well-known defaults to simplify application programming. This should be all needed for localhost:
database.open();
…and we even could make this fully automatic allowing to avoid database open (and, similarly, for transactions where we transparently could allocate one by default).
Change History (3)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
There's also user credentials that need to be set before the open().
I'd close this ticket as wontfix, using the C++ and Java API is so rare that these type of improvements are not really worth doing. It will not help in a client like rasql, because it anyway needs to work with the default values.