Re: [U2] Hibernate and UniVerse
Dan, that's a great answer and the right answer and I don't mean to take anything away from it here. This is one of the biggest stumbling blocks for many of us in the MV world - getting mainstream tools to work as easily with our databases as it does with others. I spend a Lot of time doing things like creating ObjectDataSource wrappers in .NET for MV, where SqlDataSource and XmlDataSources are readily available. I created an Entity Framework provider for MV. I write custom BAL/DAL implementations in Java and other languages simply because these can't be generated from MV server schema with existing tools. Get FOSS software for ECommerce, a CMS, or CRM, and it will have ready-made data access for MySQL or perhaps SQL Server - but you can't use them with MV. ORMs like Hibernate, NHibernate, CSLA, or OpenAccess requires custom providers, as do NetTiers templates (for which I created a provider) and other code generators. Getting help at that low level is difficult, lonely work because very few people write that kind of code and documentation is always sparse. Hibernate has been around for a decade, but poor Bill here is facing this task on his own like this is some new technology. I have to believe a bunch of people have dabbled with this over time, perhaps even made inquiries to their VARs, or with IBM/Rocket Sales or Support with questions like "do you support Hibernate", and "if not, who might be able to do this?" Does anyone track requests like that? Does Marketing ever get a peek at inquiries like that to consider new development, or perhaps to act like a partner and link up developers in the field with common interests? It seems like every time a question like this comes up, it's from one guy who gets convinced that he's the only one who's ever asked the question before. And given all of this, is it any wonder that we can't get new developers into this industry when there are no standard providers (database access layer / interfaces) for common mainstream libraries and products? Why don't the MV DBMS companies have a standard protocol for new technologies: When something new is on the horizon, do some research in the client base, find out what people need to do development, and then (based on cost-justification of course, which is always tough) create the tools. But be pro-active about it. Consider it an exercise in self-preservation. Thanks for your time. T > From: Daniel McGrath > > Every relational database uses its own custom 'flavor' of SQL (after all, > that's what standards are for, right?). To handle these differences, > Hibernate uses the concept of 'dialects' so it knows what keywords are > valid for that type of database. > > UniVerse is not one of the stock dialects available, so you will have to > create a custom dialect to support it. On the positive side, this will > allow you to register keywords such as SAMPLE, SAMPLED and > UNNEST that are unique to UniVerse. > > I can't offer you much more help than to point you to some starting > points: http://keyurj.blogspot.com/2012/12/creating-custom-dialect- > in-hibernate.html & http://www.systemmobile.com/?p=177 > > Hope it helps, > > Dan McGrath > Managing Director, U2 Servers Lab > Rocket Software > > From: William Brutzman > When trying to do ORM (Object Relational Mapping) with ColdFusion... > > I am getting an error message... "Hibernate Dialect must be explicity > set for dataBase: Universe. > > Tips and tricks on Hibernate configuration settings would be > appreciated. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Hibernate and UniVerse
Dan: Thanks... I expect to approach this Hibernate thing by first going back to getting Java to work with UV + CF. --Bill -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel McGrath Sent: Monday, April 1, 2013 1:43 PM To: U2 Users List Subject: Re: [U2] Hibernate and UniVerse Every relational database uses its own custom 'flavor' of SQL (after all, that's what standards are for, right?). To handle these differences, Hibernate uses the concept of 'dialects' so it knows what keywords are valid for that type of database. UniVerse is not one of the stock dialects available, so you will have to create a custom dialect to support it. On the positive side, this will allow you to register keywords such as SAMPLE, SAMPLED and UNNEST that are unique to UniVerse. I can't offer you much more help than to point you to some starting points: http://keyurj.blogspot.com/2012/12/creating-custom-dialect-in-hibernate.html & http://www.systemmobile.com/?p=177 Hope it helps, Dan McGrath Managing Director, U2 Servers Lab Rocket Software -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of William Brutzman Sent: Monday, April 01, 2013 11:13 AM To: U2 Users List Subject: [U2] Hibernate and UniVerse When trying to do ORM (Object Relational Mapping) with ColdFusion... I am getting an error message... "Hibernate Dialect must be explicity set for dataBase: Universe. Tips and tricks on Hibernate configuration settings would be appreciated. --Bill ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Hibernate and UniVerse
Every relational database uses its own custom 'flavor' of SQL (after all, that's what standards are for, right?). To handle these differences, Hibernate uses the concept of 'dialects' so it knows what keywords are valid for that type of database. UniVerse is not one of the stock dialects available, so you will have to create a custom dialect to support it. On the positive side, this will allow you to register keywords such as SAMPLE, SAMPLED and UNNEST that are unique to UniVerse. I can't offer you much more help than to point you to some starting points: http://keyurj.blogspot.com/2012/12/creating-custom-dialect-in-hibernate.html & http://www.systemmobile.com/?p=177 Hope it helps, Dan McGrath Managing Director, U2 Servers Lab Rocket Software -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of William Brutzman Sent: Monday, April 01, 2013 11:13 AM To: U2 Users List Subject: [U2] Hibernate and UniVerse When trying to do ORM (Object Relational Mapping) with ColdFusion... I am getting an error message... "Hibernate Dialect must be explicity set for dataBase: Universe. Tips and tricks on Hibernate configuration settings would be appreciated. --Bill ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Hibernate and UniVerse
When trying to do ORM (Object Relational Mapping) with ColdFusion... I am getting an error message... "Hibernate Dialect must be explicity set for dataBase: Universe. Tips and tricks on Hibernate configuration settings would be appreciated. --Bill ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] SENDING BARCODE COMMANDS TO OKI PRINTER
AccuTerm's transparent print mode really is "transparent". Everything except the matching "transparent print off" code is passed through unchanged. I noticed in the code sample that there is a PRINT CHAR(18) after the AccuTerm transparent print on command. I suspect this is a vestige from a previous version of the program, since it is the Wyse "copy print" command. Similarly, the PRINT CHAR(20) just before the AccuTerm transparent print off command is probably not useful, unless these codes are actually intended for the printer. Thanks, Peter Schellenbach On Tue, Mar 26, 2013 at 1:46 PM, George Gallen wrote: > Hmm. STX, wonder if Accuterm would still pass an STX through if it wasn't > preceeded by an ESC? > > My Datamax label printers use STX as signal to begin accepting programming > for label layout. > I don't use Accuterm, so it doesn't affect me, more of a general > question > > George > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > Sent: Tuesday, March 26, 2013 4:40 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] SENDING BARCODE COMMANDS TO OKI PRINTER > > Interesting > ESC STX p2 > > I looked through the manuals a few times but didn't see that one! > > > -Original Message- > From: Nancy Fisher > To: 'U2 Users List' > Sent: Tue, Mar 26, 2013 12:36 pm > Subject: Re: [U2] SENDING BARCODE COMMANDS TO OKI PRINTER > > > CERTAINLY. And thanks to Pete Schellenbach as well as all here. > > The transparent printing is > > 0001: * CK OKI BARCODE PRINT > 0002: BAR.ON = '' > 0003: BAR.SIZE = '' > 0004: START.BAR = '' > 0005: BAR.ON = CHAR(27):CHAR(16):CHAR(65):CHAR(8):CHAR(2):CHAR(0) > 0006: BAR.SIZE = CHAR(0):CHAR(2):CHAR(1):CHAR(1):CHAR(1):CHAR(0) > 0007: START.BAR = CHAR(27):CHAR(16):CHAR(66):CHAR(9) > 0008: PRINT CHAR(27):CHAR(2):'p2' ;Accuterm transparent printing on > 0009: PRINT CHAR(18) > 0010: *2 is emulation ibm, 65 is emulation epson > 0011: *PRINT CHAR(27):CHAR(123):CHAR(2) > 0012: PRINT > 0013: PRINT > 0014: PRINT "TESTING" > 0015: PRINT > 0016: PRINT BAR.ON:BAR.SIZE: > 0017: PRINT START.BAR:123456789 > 0018: PRINT > 0019: PRINT CHAR(20) > 0020: PRINT CHAR(27):CHAR(2):'p0'; Accuterm transparent printing off > 0021: END > > Nancy Fisher > Peninsula Truck Lines, Inc > Federal Way, Washington > 253/929-2040 > Visit our Website www.peninsulatruck.com > nan...@peninsulatruck.com > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users