That good suggestion @ Xiangtao Zhou
I think we also can define customized reader/writer in `(create-table-ddl 
table spec)`
```clojure
(create-table-ddl :user [[:name "VARCHAR(32)" {:read identity :wirte 
identity}]])
```

On Monday, August 8, 2016 at 6:15:24 AM UTC+8, Sean Corfield wrote:
>
> Thank you! I’ll take a look at this while I’m back at work this week. 
>
>  
>
> Sean Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org
>
>  
>
> *From: *Xiangtao Zhou <javascript:>
> *Sent: *Sunday, August 7, 2016 12:36 AM
> *To: *Clojure <javascript:>
> *Subject: *Re: can clojure java.jdbc function 'result-set-seq' add option 
> tosupportcustom 'result-set-read-column' ?
>
>  
>
> hi Sean,
>
>  
>
> Done. see http://dev.clojure.org/jira/browse/JDBC-137
>
>  
>
> Joe.
>
> On Sunday, August 7, 2016 at 1:33:10 PM UTC+8, Sean Corfield wrote:
>
> Hi Joe,
>
>  
>
> I’m starting to see more requests for per-database customization in a 
> multi-database environment so this is definitely something I’d consider. 
> Could you create a JIRA issue for tracking purposes, along with any 
> suggestions you have about how this might work – and remain performant? 
> http://dev.clojure.org/jira/browse/JDBC
>
>  
>
> Sean Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org
>
>  
>
> *From: *Xiangtao Zhou
> *Sent: *Saturday, August 6, 2016 7:15 PM
> *To: *Clojure
> *Subject: *can clojure java.jdbc function 'result-set-seq' add option to 
> supportcustom 'result-set-read-column' ?
>
>  
>
> Hello the contributor of jdbc,
>
>  
>
> Using java.jdbc with postgres composite type,  the common way is extend 
> the IResultSetReadColumn protocol. When there are multiple databases in 
> use, every database should specify it's own column reader. 
>
> Add option to 'result-set-seq' support custom function to replace 
> IResultSetReadColumn may be a solution for this situation.
>
>  
>
> any other idea to solve this?
>
>  
>
> Joe.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>  
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com <javascript:>
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+u...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>  
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to