Skip to content

Conversation

@mtbc
Copy link
Member

@mtbc mtbc commented Mar 15, 2013

This changes the model. To test, import images and watch the filesetversioninfo table in the DB.

@joshmoore
Copy link
Member

Thanks for taking this on, @mtbc. I'm a bit hesitant to add a table named javasystemproperty; it's certainly in line with the filesetversion table, but perhaps we can come up with a more generic strategy rather than several separate tables.

@mtbc
Copy link
Member Author

mtbc commented Mar 18, 2013

A more generic version of javasystemproperty that wholly supersedes filesetversion?

@mtbc
Copy link
Member Author

mtbc commented Mar 18, 2013

(Also, am I correct in assuming that the fileset version info instances may be created by clients that are wholly non-Java?)

@joshmoore
Copy link
Member

A more generic version of javasystemproperty that wholly supersedes filesetversion?

Something like that. Would require some brainstorming, but this is starting to feel leaky.

(Also, am I correct in assuming that the fileset version info instances may be created by clients that are wholly non-Java?)

Definitely.

@mtbc
Copy link
Member Author

mtbc commented Mar 18, 2013

Well, I'm happy to turn filesetversioninfo into something more like javasystemproperty. Or, something else. Do you want to think about it and, when you figure something else you'd like me to try, I'll have a go at it? Or we can include it in one of our hangout chats with others.

@joshmoore
Copy link
Member

Best to just discuss soonish.

@mtbc
Copy link
Member Author

mtbc commented Mar 25, 2013

Something more like this, then?

@joshmoore
Copy link
Member

In principle, yes. But, in discussion with @chris-allan, there's a good chance that we will want to increase the number of such properties that are catalogued here, meaning that our (private thread) bullet point 4 may be the best way to go.

@mtbc, would you be wiling to try putting these in a dynamic column similar to Pixels.params. If possible, these could be exposed as a (read-only?) Map similar to the map of counts on Image, etc. Trying out hstore (rather than the regular arrays used by Pixels) would be beneficial.

I'm currently marking as excluded because I already created a dbpatch=2 DB (for your changes) in gh-951. If you could base on top of that PR and use dbpatch=4, I'll be sure not to conflict.

@mtbc
Copy link
Member Author

mtbc commented Mar 26, 2013

Another separate table was too simple, huh? (-: Sure, I'll give hstore a try, but given that I'm only here another week before taking time off, I'll prioritize today's bruker bug from Gus and the server side of import-time checksum selection for Blazej, so fixing this might get postponed. Thanks for the pointer to the similar existing example, though, that'll probably much speed things up when this again bubbles to the top.

@joshmoore
Copy link
Member

Sounds like a good plan, thanks.

@mtbc
Copy link
Member Author

mtbc commented May 13, 2013

So, this will need extra code in Property.java and a new ParameterizedType implementation used by PostgresSqlAction?

@mtbc
Copy link
Member Author

mtbc commented May 28, 2013

I'm wondering if this should be turned into a ticket so that its completion can be properly scheduled in the appropriate sprint.

@joshmoore
Copy link
Member

It's noted in http://trac.openmicroscopy.org.uk/ome/ticket/10807, but if you would like to create a separate ticket in OMERO-5, feel free. Closing this PR.

@joshmoore joshmoore closed this May 28, 2013
@mtbc
Copy link
Member Author

mtbc commented Aug 5, 2013

These weird column types probably prevent our using an in-JVM DB for integration tests. ):

@joshmoore
Copy link
Member

As discussed with @rleigh-dundee, @qidane, and @jburel, we will likely be relying on such column types more in the future.

@mtbc
Copy link
Member Author

mtbc commented Apr 14, 2014

Superseded by mtbc@617b74e.

@mtbc mtbc deleted the java-version-info branch April 29, 2014 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants