GithubHelp home page GithubHelp logo

dbcon's People

Watchers

James Cloos avatar  avatar

dbcon's Issues

Assemblies

Maven can produce zips/tarballs so it should produce the distributions for
this project.

Original issue reported on code.google.com by [email protected] on 26 Feb 2007 at 10:17

Library detection

What steps will reproduce the problem?
1. Write a library in XML
2. Do not put the <?xml version="1.0" encoding="UTF8"?> declaration at the
top of the file
3. Watch DbCon attempt to read it as a .sqllib
4. Be amazed when your library is empty and has no errors (ooohhhh)

What is the expected output? What do you see instead?
It should populate the library correctly. It ends up with an empty one

Original issue reported on code.google.com by [email protected] on 19 Apr 2007 at 2:27

3 or more params in SqlLib will break the code

What steps will reproduce the problem?
1. Have a template with more than 3 elements
2. Run
3. Watch it go wrong

What is the expected output? What do you see instead?

You should be able to template with more than 3 values.

Original issue reported on code.google.com by [email protected] on 19 Jul 2011 at 12:47

SqlLibrary strips ' from queries

=Problem=

For the given text query:

{{{
select 'Y' from dual
}}}

Currently the SqlLibrary code will return

{{{
select Y from dual
}}}

This will cause problems with the SQL component since ' quoted variables
are important for inline Strings in queries. This is caused by message
format from java.text.

=Considerations=

SqlLib is meant to tie a user as close to SQL as can be. Therefore nothing
about the underlying implementation of the formatter should be applied.
MessageFormat has a horrible possible syntax where this attempts to provide
a very simplistic templating solution.

=Solutions=

  # Make people aware of this limitation - done but I do not like this
  # Replace MessageFormat with another templating class
    * Just use another templater such as Velocity or StringTemplate. Feels
a bit like over kill
    * Have a custom templater which performs a series of replace operations
on the String. This would allow us to extend the templating to possibly
include text at a later date. I prefer this solution

Original issue reported on code.google.com by [email protected] on 26 Mar 2007 at 12:20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.